diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
commit | 1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch) | |
tree | 38559cd68cd4f63023fb5f6375def9db3b8b491e /apps/ktupnptest/upnptestapp.cpp | |
parent | 894f94545727610df22c4f73911d62d58266f695 (diff) | |
download | ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.tar.gz ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.zip |
TQt4 port ktorrent
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'apps/ktupnptest/upnptestapp.cpp')
-rw-r--r-- | apps/ktupnptest/upnptestapp.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/ktupnptest/upnptestapp.cpp b/apps/ktupnptest/upnptestapp.cpp index d50b314..1cb6d31 100644 --- a/apps/ktupnptest/upnptestapp.cpp +++ b/apps/ktupnptest/upnptestapp.cpp @@ -21,7 +21,7 @@ #include <klocale.h> #include <kapplication.h> #include <kmessagebox.h> -#include <qtextbrowser.h> +#include <tqtextbrowser.h> #include <util/error.h> #include "upnptestapp.h" #include "mainwidget.h" @@ -29,15 +29,15 @@ using namespace bt; using namespace kt; -UPnPTestApp::UPnPTestApp(QWidget *parent, const char *name) - : KMainWindow(parent, name) +UPnPTestApp::UPnPTestApp(TQWidget *tqparent, const char *name) + : KMainWindow(tqparent, name) { sock = new UPnPMCastSocket(true); - connect(sock,SIGNAL(discovered( UPnPRouter* )),this,SLOT(discovered( UPnPRouter* ))); + connect(sock,TQT_SIGNAL(discovered( UPnPRouter* )),this,TQT_SLOT(discovered( UPnPRouter* ))); mwnd = new MainWidget(this); setCentralWidget(mwnd); - connect(mwnd->test_btn,SIGNAL(clicked()),this,SLOT(onTestBtn())); - connect(mwnd->close_btn,SIGNAL(clicked()),this,SLOT(onCloseBtn())); + connect(mwnd->test_btn,TQT_SIGNAL(clicked()),this,TQT_SLOT(onTestBtn())); + connect(mwnd->close_btn,TQT_SIGNAL(clicked()),this,TQT_SLOT(onCloseBtn())); bt::Log & lg = bt::Globals::instance().getLog(0); lg.addMonitor(this); Out() << "UPnPTestApp started up !" << endl; @@ -78,7 +78,7 @@ bool UPnPTestApp::queryExit() return true; } -void UPnPTestApp::message(const QString& line, unsigned int arg) +void UPnPTestApp::message(const TQString& line, unsigned int arg) { mwnd->output->append(line); } |