summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/queuemanager.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/torrent/queuemanager.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/torrent/queuemanager.h')
-rw-r--r--libktorrent/torrent/queuemanager.h17
1 files changed, 9 insertions, 8 deletions
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 <set>
-#include <qobject.h>
-#include <qptrlist.h>
+#include <tqobject.h>
+#include <tqptrlist.h>
#include <interfaces/torrentinterface.h>
@@ -39,23 +39,24 @@ namespace bt
struct TrackerTier;
class WaitJob;
- class QueuePtrList : public QPtrList<kt::TorrentInterface>
+ class QueuePtrList : public TQPtrList<kt::TorrentInterface>
{
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<kt::TorrentInterface>::iterator iterator;
+ typedef TQPtrList<kt::TorrentInterface>::iterator iterator;
iterator begin();
iterator end();