summaryrefslogtreecommitdiffstats
path: root/libktorrent/net/circularbuffer.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/circularbuffer.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/circularbuffer.h')
-rw-r--r--libktorrent/net/circularbuffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libktorrent/net/circularbuffer.h b/libktorrent/net/circularbuffer.h
index 63e271e..6d45723 100644
--- a/libktorrent/net/circularbuffer.h
+++ b/libktorrent/net/circularbuffer.h
@@ -20,7 +20,7 @@
#ifndef NETCIRCULARBUFFER_H
#define NETCIRCULARBUFFER_H
-#include <qmutex.h>
+#include <tqmutex.h>
#include <util/constants.h>
namespace net
@@ -43,7 +43,7 @@ namespace net
Uint32 max_size;
Uint32 first; // index of first byte in the buffer
Uint32 size; // number of bytes in use
- mutable QMutex mutex;
+ mutable TQMutex mutex;
public:
/**
* Create the buffer.