summaryrefslogtreecommitdiffstats
path: root/kdecore/network/ksrvresolverworker_p.h
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/network/ksrvresolverworker_p.h
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/network/ksrvresolverworker_p.h')
-rw-r--r--kdecore/network/ksrvresolverworker_p.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kdecore/network/ksrvresolverworker_p.h b/kdecore/network/ksrvresolverworker_p.h
index 143fb0d4b..7022df826 100644
--- a/kdecore/network/ksrvresolverworker_p.h
+++ b/kdecore/network/ksrvresolverworker_p.h
@@ -20,11 +20,11 @@
#ifndef KSRVRESOLVERWORKER_P_H
#define KSRVRESOLVERWORKER_P_H
-#include <qobject.h>
-#include <qdns.h>
-#include <qsemaphore.h>
-#include <qvaluelist.h>
-#include <qdict.h>
+#include <tqobject.h>
+#include <tqdns.h>
+#include <tqsemaphore.h>
+#include <tqvaluelist.h>
+#include <tqdict.h>
#include "kresolver.h"
#include "kresolverworkerbase.h"
@@ -38,7 +38,7 @@ namespace KNetwork
* @internal
* This class implements SRV-based resolution
*/
- class KSrvResolverWorker: public QObject,
+ class KSrvResolverWorker: public TQObject,
public KNetwork::KResolverWorkerBase
{
Q_OBJECT
@@ -46,7 +46,7 @@ namespace KNetwork
public:
struct Entry
{
- QString name;
+ TQString name;
Q_UINT16 port;
Q_UINT16 weight;
KNetwork::KResolver* resolver;
@@ -56,17 +56,17 @@ namespace KNetwork
{
PriorityClass() : totalWeight(0) { }
- QValueList<Entry> entries;
+ TQValueList<Entry> entries;
Q_UINT16 totalWeight;
};
private:
- QDns *dns;
- QValueList<QDns::Server> rawResults;
- QCString encodedName;
- QSemaphore *sem;
+ TQDns *dns;
+ TQValueList<TQDns::Server> rawResults;
+ TQCString encodedName;
+ TQSemaphore *sem;
- typedef QMap<Q_UINT16, PriorityClass> Results;
+ typedef TQMap<Q_UINT16, PriorityClass> Results;
Results myResults;
public:
@@ -74,7 +74,7 @@ namespace KNetwork
virtual bool run();
virtual bool postprocess();
- virtual void customEvent(QCustomEvent*);
+ virtual void customEvent(TQCustomEvent*);
public slots:
void dnsResultsReady();