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 --- libktorrent/torrent/queuemanager.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'libktorrent/torrent/queuemanager.h') diff --git a/libktorrent/torrent/queuemanager.h b/libktorrent/torrent/queuemanager.h index 658c252..9771f53 100644 --- a/libktorrent/torrent/queuemanager.h +++ b/libktorrent/torrent/queuemanager.h @@ -18,12 +18,12 @@ * Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef QUEUEMANAGER_H -#define QUEUEMANAGER_H +#ifndef TQUEUEMANAGER_H +#define TQUEUEMANAGER_H #include -#include -#include +#include +#include #include @@ -39,23 +39,24 @@ namespace bt struct TrackerTier; class WaitJob; - class QueuePtrList : public QPtrList + class QueuePtrList : public TQPtrList { public: QueuePtrList(); virtual ~QueuePtrList(); protected: - int compareItems(QPtrCollection::Item item1, QPtrCollection::Item item2); + int compareItems(TQPtrCollection::Item item1, TQPtrCollection::Item item2); }; /** * @author Ivan Vasic * @brief This class contains list of all TorrentControls and is responsible for starting/stopping them */ - class QueueManager : public QObject + class QueueManager : public TQObject { Q_OBJECT + TQ_OBJECT public: QueueManager(); @@ -93,7 +94,7 @@ namespace bt void startNext(); - typedef QPtrList::iterator iterator; + typedef TQPtrList::iterator iterator; iterator begin(); iterator end(); -- cgit v1.2.1