diff options
Diffstat (limited to 'ksirc/NewWindowDialog.cpp')
-rw-r--r-- | ksirc/NewWindowDialog.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ksirc/NewWindowDialog.cpp b/ksirc/NewWindowDialog.cpp index c4af16f1..1a0f2dba 100644 --- a/ksirc/NewWindowDialog.cpp +++ b/ksirc/NewWindowDialog.cpp @@ -2,19 +2,19 @@ #include <kconfig.h> #include <klocale.h> #include <kcombobox.h> -#include <qhbox.h> -#include <qlabel.h> -#include <qlineedit.h> +#include <tqhbox.h> +#include <tqlabel.h> +#include <tqlineedit.h> #include <klineedit.h> #include "NewWindowDialog.h" -NewWindowDialog::NewWindowDialog(const KSircChannel &channelInfo, QWidget * parent, const char * name) +NewWindowDialog::NewWindowDialog(const KSircChannel &channelInfo, TQWidget * parent, const char * name) : KDialogBase(parent, name, true, i18n("New Window For"), Ok|Cancel, Ok, true), m_channelInfo(channelInfo) { - QHBox * w = makeHBoxMainWidget(); + TQHBox * w = makeHBoxMainWidget(); - QLabel * l = new QLabel(i18n("C&hannel/Nick:"), w); + TQLabel * l = new TQLabel(i18n("C&hannel/Nick:"), w); m_combo = new KHistoryCombo(w); m_combo->setFocus(); @@ -24,16 +24,16 @@ NewWindowDialog::NewWindowDialog(const KSircChannel &channelInfo, QWidget * pare l->setBuddy(m_combo); - QLabel * l2 = new QLabel(i18n("&Key:"), w); + TQLabel * l2 = new TQLabel(i18n("&Key:"), w); m_le = new KLineEdit(w); m_le->setEnabled(false); l2->setBuddy(m_le); connect( - m_combo, SIGNAL(activated(const QString &)), - m_combo, SLOT(addToHistory(const QString &))); - connect( m_combo->lineEdit(), SIGNAL(textChanged ( const QString & )), - this, SLOT( slotTextChanged( const QString &))); + m_combo, TQT_SIGNAL(activated(const TQString &)), + m_combo, TQT_SLOT(addToHistory(const TQString &))); + connect( m_combo->lineEdit(), TQT_SIGNAL(textChanged ( const TQString & )), + this, TQT_SLOT( slotTextChanged( const TQString &))); KConfig *kConfig = kapp->config(); KConfigGroupSaver saver(kConfig, "Recent"); @@ -48,7 +48,7 @@ NewWindowDialog::~NewWindowDialog() kConfig->writeEntry("Channels", m_combo->historyItems()); } -void NewWindowDialog::slotTextChanged( const QString &text) +void NewWindowDialog::slotTextChanged( const TQString &text) { enableButtonOK( !text.isEmpty() ); |