summaryrefslogtreecommitdiffstats
path: root/apps/ktupnptest/main.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
commit1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch)
tree38559cd68cd4f63023fb5f6375def9db3b8b491e /apps/ktupnptest/main.cpp
parent894f94545727610df22c4f73911d62d58266f695 (diff)
downloadktorrent-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/main.cpp')
-rw-r--r--apps/ktupnptest/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/ktupnptest/main.cpp b/apps/ktupnptest/main.cpp
index c2629ef..c585f73 100644
--- a/apps/ktupnptest/main.cpp
+++ b/apps/ktupnptest/main.cpp
@@ -66,12 +66,12 @@ int main(int argc,char** argv)
/*
if (argc >= 2)
{
- kt::UPnPRouter router(QString::null,"http://foobar.com");
+ kt::UPnPRouter router(TQString(),"http://foobar.com");
kt::UPnPDescriptionParser dp;
if (!dp.parse(argv[1],&router))
{
- Out() << "Cannot parse " << QString(argv[1]) << endl;
+ Out() << "Cannot parse " << TQString(argv[1]) << endl;
}
else
{
@@ -83,7 +83,7 @@ int main(int argc,char** argv)
Out() << "Doing second test" << endl;
UPnPMCastSocket mcast;
- UPnPRouter* r = mcast.parseResponse(QCString(test_ps));
+ UPnPRouter* r = mcast.parseResponse(TQCString(test_ps));
if (r)
{
Out() << "Succesfully parsed test_ps" << endl;