summaryrefslogtreecommitdiffstats
path: root/ksirc/NewWindowDialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /ksirc/NewWindowDialog.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/NewWindowDialog.cpp')
-rw-r--r--ksirc/NewWindowDialog.cpp24
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() );