summaryrefslogtreecommitdiffstats
path: root/libktorrent/net/socketmonitor.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/net/socketmonitor.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/net/socketmonitor.h')
-rw-r--r--libktorrent/net/socketmonitor.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libktorrent/net/socketmonitor.h b/libktorrent/net/socketmonitor.h
index 79e4a2e..6fc63c1 100644
--- a/libktorrent/net/socketmonitor.h
+++ b/libktorrent/net/socketmonitor.h
@@ -21,8 +21,8 @@
#define NETSOCKETMONITOR_H
-#include <qmutex.h>
-#include <qptrlist.h>
+#include <tqmutex.h>
+#include <tqptrlist.h>
#include <util/constants.h>
@@ -44,10 +44,10 @@ namespace net
{
static SocketMonitor self;
- QMutex mutex;
+ TQMutex mutex;
UploadThread* ut;
DownloadThread* dt;
- QPtrList<BufferedSocket> smap;
+ TQPtrList<BufferedSocket> smap;
Uint32 next_group_id;
SocketMonitor();
@@ -90,7 +90,7 @@ namespace net
*/
void removeGroup(GroupType type,Uint32 gid);
- typedef QPtrList<BufferedSocket>::iterator Itr;
+ typedef TQPtrList<BufferedSocket>::iterator Itr;
/// Get the begin of the list of sockets
Itr begin() {return smap.begin();}