diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /ksirc/dccToplevel.cpp | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-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/dccToplevel.cpp')
-rw-r--r-- | ksirc/dccToplevel.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ksirc/dccToplevel.cpp b/ksirc/dccToplevel.cpp index 5e5437d2..bd66b944 100644 --- a/ksirc/dccToplevel.cpp +++ b/ksirc/dccToplevel.cpp @@ -1,6 +1,6 @@ -#include <qvbox.h> -#include <qpopupmenu.h> +#include <tqvbox.h> +#include <tqpopupmenu.h> #include <kaction.h> #include <kstdaction.h> @@ -15,17 +15,17 @@ extern DisplayMgr *displayMgr; #define DTL_WINDOW_ID 10 -dccTopLevel::dccTopLevel(QWidget *parent, const char *name) +dccTopLevel::dccTopLevel(TQWidget *parent, const char *name) : KMainWindow(parent, name, Qt::WDestructiveClose) { - m_mgr = new dccManager(this, QCString(QObject::name()) + "_dccManager"); + m_mgr = new dccManager(this, TQCString(TQObject::name()) + "_dccManager"); // m_mgr->show(); setCentralWidget(m_mgr); - connect(m_mgr, SIGNAL(changed(bool, QString)), this, SIGNAL(changed(bool, QString))); + connect(m_mgr, TQT_SIGNAL(changed(bool, TQString)), this, TQT_SIGNAL(changed(bool, TQString))); - QPopupMenu *win = new QPopupMenu(this, QCString(QObject::name()) + "_popup_window"); - KAction *act = KStdAction::close(this, SLOT( close() ), actionCollection() ); + TQPopupMenu *win = new TQPopupMenu(this, TQCString(TQObject::name()) + "_popup_window"); + KAction *act = KStdAction::close(this, TQT_SLOT( close() ), actionCollection() ); act->plug(win); menuBar()->insertItem(i18n("&File"), win, DTL_WINDOW_ID, -1); |