summaryrefslogtreecommitdiffstats
path: root/plugins/zeroconf/avahiservice.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
commit1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch)
tree38559cd68cd4f63023fb5f6375def9db3b8b491e /plugins/zeroconf/avahiservice.h
parent894f94545727610df22c4f73911d62d58266f695 (diff)
downloadktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.tar.gz
ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.zip
TQt4 port ktorrent
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/zeroconf/avahiservice.h')
-rw-r--r--plugins/zeroconf/avahiservice.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/zeroconf/avahiservice.h b/plugins/zeroconf/avahiservice.h
index 10938d8..fd9e144 100644
--- a/plugins/zeroconf/avahiservice.h
+++ b/plugins/zeroconf/avahiservice.h
@@ -27,7 +27,7 @@
*/
#include <cstdlib>
-#include <qstring.h>
+#include <tqstring.h>
#include <avahi-client/client.h>
@@ -45,6 +45,7 @@ namespace kt
class AvahiService : public kt::PeerSource
{
Q_OBJECT
+ TQ_OBJECT
public:
AvahiService(const bt::PeerID&, bt::Uint16, const bt::SHA1Hash&);
virtual ~AvahiService();
@@ -95,9 +96,9 @@ namespace kt
void*
);
- QString id;
+ TQString id;
int port;
- QString infoHash;
+ TQString infoHash;
bool started;