diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdecore/tests/kresolvertest.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-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.cpp | 20 |
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(); } |