summaryrefslogtreecommitdiffstats
path: root/plugins/stats/PeerMonitor.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/stats/PeerMonitor.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/stats/PeerMonitor.h')
-rw-r--r--plugins/stats/PeerMonitor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/stats/PeerMonitor.h b/plugins/stats/PeerMonitor.h
index d1ef4fc..3489378 100644
--- a/plugins/stats/PeerMonitor.h
+++ b/plugins/stats/PeerMonitor.h
@@ -21,7 +21,7 @@
#ifndef PEERMONITOR_H_
#define PEERMONITOR_H_
-#include <qmutex.h>
+#include <tqmutex.h>
#include <interfaces/monitorinterface.h>
#include <interfaces/peerinterface.h>
@@ -43,7 +43,7 @@ Used for peers statistics
\warning Don't use it, as There Can Be Only One™ and the infowidgetplugin relays on it
*/
-class PeerMonitor : public MonitorInterface, public QObject
+class PeerMonitor : public MonitorInterface, public TQObject
{
public:
///Type of conteiner of pointers to peers
@@ -55,7 +55,7 @@ class PeerMonitor : public MonitorInterface, public QObject
Used for locking conteiner with pointers to peers
*/
- QMutex mtx;
+ TQMutex mtx;
///Container with pointers to peers
data_t mPeers;
///Monitored torrent