summaryrefslogtreecommitdiffstats
path: root/knotes/knotehostdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knotes/knotehostdlg.cpp')
-rw-r--r--knotes/knotehostdlg.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/knotes/knotehostdlg.cpp b/knotes/knotehostdlg.cpp
index 7045c465c..e78894eae 100644
--- a/knotes/knotehostdlg.cpp
+++ b/knotes/knotehostdlg.cpp
@@ -30,10 +30,10 @@
your version.
*******************************************************************/
-#include <qstring.h>
-#include <qstringlist.h>
-#include <qlabel.h>
-#include <qvbox.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <tqlabel.h>
+#include <tqvbox.h>
#include <kdebug.h>
#include <kglobal.h>
@@ -46,11 +46,11 @@
#include "knotesglobalconfig.h"
-KNoteHostDlg::KNoteHostDlg( const QString &caption, QWidget *parent, const char *name )
+KNoteHostDlg::KNoteHostDlg( const TQString &caption, TQWidget *parent, const char *name )
: KDialogBase( parent, name, true, caption, Ok|Cancel, Ok, true )
{
- QVBox *page = makeVBoxMainWidget();
- (void)new QLabel( i18n("Hostname or IP address:"), page );
+ TQVBox *page = makeVBoxMainWidget();
+ (void)new TQLabel( i18n("Hostname or IP address:"), page );
m_hostCombo = new KHistoryCombo( true, page );
m_hostCombo->setMinimumWidth( fontMetrics().maxWidth() * 15 );
@@ -60,8 +60,8 @@ KNoteHostDlg::KNoteHostDlg( const QString &caption, QWidget *parent, const char
m_hostCombo->setHistoryItems( KNotesGlobalConfig::knownHosts(), true );
m_hostCombo->setFocus();
//m_hostCombo->completionObject()->setItems( KNotesGlobalConfig::hostCompletions() );
- connect( m_hostCombo->lineEdit(), SIGNAL( textChanged ( const QString & ) ),
- this, SLOT( slotTextChanged( const QString & ) ) );
+ connect( m_hostCombo->lineEdit(), TQT_SIGNAL( textChanged ( const TQString & ) ),
+ this, TQT_SLOT( slotTextChanged( const TQString & ) ) );
slotTextChanged( m_hostCombo->lineEdit()->text() );
}
@@ -76,12 +76,12 @@ KNoteHostDlg::~KNoteHostDlg()
KNotesGlobalConfig::writeConfig();
}
-void KNoteHostDlg::slotTextChanged( const QString& text )
+void KNoteHostDlg::slotTextChanged( const TQString& text )
{
enableButtonOK( !text.isEmpty() );
}
-QString KNoteHostDlg::host() const
+TQString KNoteHostDlg::host() const
{
return m_hostCombo->currentText();
}