summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/server.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 /libktorrent/torrent/server.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 'libktorrent/torrent/server.h')
-rw-r--r--libktorrent/torrent/server.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libktorrent/torrent/server.h b/libktorrent/torrent/server.h
index 99c06eb..b53c2da 100644
--- a/libktorrent/torrent/server.h
+++ b/libktorrent/torrent/server.h
@@ -20,8 +20,8 @@
#ifndef BTSERVER_H
#define BTSERVER_H
-#include <qptrlist.h>
-#include <qobject.h>
+#include <tqptrlist.h>
+#include <tqobject.h>
#include "globals.h"
namespace bt
@@ -42,11 +42,12 @@ namespace bt
* All PeerManager's should register with this class when they
* are created and should unregister when they are destroyed.
*/
- class Server : public QObject
+ class Server : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
- QPtrList<PeerManager> peer_managers;
+ TQPtrList<PeerManager> peer_managers;
ServerSocket* sock;
Uint16 port;
bool encryption;