diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
commit | 1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch) | |
tree | 38559cd68cd4f63023fb5f6375def9db3b8b491e /plugins/stats/PeerMonitor.h | |
parent | 894f94545727610df22c4f73911d62d58266f695 (diff) | |
download | ktorrent-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.h | 6 |
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 |