From 1c1403293485f35fd53db45aaa77a01cdd9627e7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 28 Jun 2011 20:34:15 +0000 Subject: 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 --- plugins/stats/PeerMonitor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/stats/PeerMonitor.h') 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 +#include #include #include @@ -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 -- cgit v1.2.1