[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/knotes
From:       Michael Brade <brade () kde ! org>
Date:       2005-01-09 13:09:22
Message-ID: 20050109130922.B771D1B869 () office ! kde ! org
[Download RAW message or body]

CVS commit by brade: 

Style and consistency fixes.


  M +5 -4      knotehostdlg.cpp   1.7
  M +2 -2      knotehostdlg.h   1.3


--- kdepim/knotes/knotehostdlg.cpp  #1.6:1.7
@@ -59,7 +59,8 @@ KNoteHostDlg::KNoteHostDlg( const QStrin
     // Read known hosts from configfile
     m_hostCombo->setHistoryItems( KNotesGlobalConfig::knownHosts(), true );
-    //m_hostCombo->completionObject()->setItems( \
                KNotesGlobalConfig::hostCompletions() );
-    connect( m_hostCombo->lineEdit(), SIGNAL( textChanged ( const QString & ) \
),this, SLOT( slotTextChanged( const QString & ) ) );  m_hostCombo->setFocus();
+    //m_hostCombo->completionObject()->setItems( \
KNotesGlobalConfig::hostCompletions() ); +    connect( m_hostCombo->lineEdit(), \
SIGNAL( textChanged ( const QString & ) ), +             this, SLOT( slotTextChanged( \
const QString & ) ) );  slotTextChanged( m_hostCombo->lineEdit()->text() );
 }
@@ -76,7 +77,7 @@ KNoteHostDlg::~KNoteHostDlg()
 }
 
-void KNoteHostDlg::slotTextChanged( const QString & _text)
+void KNoteHostDlg::slotTextChanged( const QString& text )
 {
-    enableButtonOK( !_text.isEmpty() );
+    enableButtonOK( !text.isEmpty() );
 }
 

--- kdepim/knotes/knotehostdlg.h  #1.2:1.3
@@ -50,7 +50,7 @@ public:
 
     QString host() const;
-private slots:
-void slotTextChanged( const QString &);
 
+private slots:
+    void slotTextChanged( const QString & );
 
 private:


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic