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 /dnssd/remoteservice.h | |
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 'dnssd/remoteservice.h')
-rw-r--r-- | dnssd/remoteservice.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dnssd/remoteservice.h b/dnssd/remoteservice.h index 220331b5f..b7c9f05ef 100644 --- a/dnssd/remoteservice.h +++ b/dnssd/remoteservice.h @@ -21,7 +21,7 @@ #ifndef DNSSDREMOTESERVICE_H #define DNSSDREMOTESERVICE_H -#include <qobject.h> +#include <tqobject.h> #include <dnssd/servicebase.h> class QDataStream; @@ -39,7 +39,7 @@ service is resolved are name, type.and domain. @short class representing service announced on remote machine. @author Jakub Stachowski */ -class KDNSSD_EXPORT RemoteService : public QObject, public ServiceBase +class KDNSSD_EXPORT RemoteService : public TQObject, public ServiceBase { Q_OBJECT public: @@ -50,12 +50,12 @@ public: @param label Data returned by PTR query - it is decoded into name, type and domain */ - RemoteService(const QString& label); + RemoteService(const TQString& label); /** Creates unresolved remote service with given name, type and domain. */ - RemoteService(const QString& name,const QString& type,const QString& domain); + RemoteService(const TQString& name,const TQString& type,const TQString& domain); /** Creates resolved remote service from invitation URL constructed by PublicService::toInvitation. @@ -94,15 +94,15 @@ signals: protected: virtual void virtual_hook(int id, void *data); - virtual void customEvent(QCustomEvent* event); + virtual void customEvent(TQCustomEvent* event); private: void resolveError(); void resolved(const char *host, unsigned short port, unsigned short txtlen, const char* txtRecord); RemoteServicePrivate *d; - friend KDNSSD_EXPORT QDataStream & operator<< (QDataStream & s, const RemoteService & a); - friend KDNSSD_EXPORT QDataStream & operator>> (QDataStream & s, RemoteService & a); + friend KDNSSD_EXPORT TQDataStream & operator<< (TQDataStream & s, const RemoteService & a); + friend KDNSSD_EXPORT TQDataStream & operator>> (TQDataStream & s, RemoteService & a); }; |