summaryrefslogtreecommitdiffstats
path: root/kdecore/tests/kresolvertest.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdecore/tests/kresolvertest.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/tests/kresolvertest.cpp')
-rw-r--r--kdecore/tests/kresolvertest.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kdecore/tests/kresolvertest.cpp b/kdecore/tests/kresolvertest.cpp
index 30003265a..f1d3c11f9 100644
--- a/kdecore/tests/kresolvertest.cpp
+++ b/kdecore/tests/kresolvertest.cpp
@@ -33,8 +33,8 @@
#include <sys/socket.h>
#include <unistd.h>
-#include <qptrlist.h>
-#include <qstring.h>
+#include <tqptrlist.h>
+#include <tqstring.h>
#include <kuniqueapplication.h>
#include <ksocks.h>
@@ -69,17 +69,17 @@ public:
KUniqueApplication()
{ }
- int newInstance(QValueList<QCString> params);
+ int newInstance(TQValueList<TQCString> params);
};
bool tryLookup(const char* node, const char *serv)
{
int error;
- QString _node = QString::fromLatin1(node);
- QString _serv = QString::fromLatin1(serv);
+ TQString _node = TQString::fromLatin1(node);
+ TQString _serv = TQString::fromLatin1(serv);
printf("\tTrying to lookup %s|%s... ", node, serv);
- QPtrList<KAddressInfo> list = KExtendedSocket::lookup(_node, _serv, 0, &error);
+ TQPtrList<KAddressInfo> list = KExtendedSocket::lookup(_node, _serv, 0, &error);
list.setAutoDelete(true);
if (!list.isEmpty())
{
@@ -138,11 +138,11 @@ bool try_pton()
bool tryLookup6(const char *node, const char *serv)
{
int error;
- QString _node = QString::fromLatin1(node);
- QString _serv = QString::fromLatin1(serv);
+ TQString _node = TQString::fromLatin1(node);
+ TQString _serv = TQString::fromLatin1(serv);
printf("\tTrying to lookup IPv6 of %s|%s... ", node, serv);
- QPtrList<KAddressInfo> list = KExtendedSocket::lookup(_node, _serv, KExtendedSocket::ipv6Socket, &error);
+ TQPtrList<KAddressInfo> list = KExtendedSocket::lookup(_node, _serv, KExtendedSocket::ipv6Socket, &error);
list.setAutoDelete(true);
if (!list.isEmpty())
{
@@ -403,7 +403,7 @@ void go()
printf("\n\nTest finished\n");
}
-int TestApp::newInstance(QValueList<QCString> /*params*/)
+int TestApp::newInstance(TQValueList<TQCString> /*params*/)
{
go();
}