From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdecore/tests/kresolvertest.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kdecore/tests/kresolvertest.cpp') 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 #include -#include -#include +#include +#include #include #include @@ -69,17 +69,17 @@ public: KUniqueApplication() { } - int newInstance(QValueList params); + int newInstance(TQValueList 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 list = KExtendedSocket::lookup(_node, _serv, 0, &error); + TQPtrList 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 list = KExtendedSocket::lookup(_node, _serv, KExtendedSocket::ipv6Socket, &error); + TQPtrList 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 /*params*/) +int TestApp::newInstance(TQValueList /*params*/) { go(); } -- cgit v1.2.1