summaryrefslogtreecommitdiffstats
path: root/plugins/infowidget/chunkdownloadview.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/infowidget/chunkdownloadview.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/infowidget/chunkdownloadview.h')
-rw-r--r--plugins/infowidget/chunkdownloadview.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/plugins/infowidget/chunkdownloadview.h b/plugins/infowidget/chunkdownloadview.h
index a00a746..860052d 100644
--- a/plugins/infowidget/chunkdownloadview.h
+++ b/plugins/infowidget/chunkdownloadview.h
@@ -21,7 +21,7 @@
#define BTCHUNKDOWNLOADVIEW_H
#include <klistview.h>
-#include <qmap.h>
+#include <tqmap.h>
#include "chunkdownloadviewbase.h"
namespace kt
@@ -36,7 +36,7 @@ namespace kt
ChunkDownloadViewItem(KListView* cdv,kt::ChunkDownloadInterface* cd);
void update();
- int compare(QListViewItem * i,int col,bool) const;
+ int compare(TQListViewItem * i,int col,bool) const;
};
@@ -46,15 +46,16 @@ namespace kt
class ChunkDownloadView : public ChunkDownloadViewBase
{
Q_OBJECT
+ TQ_OBJECT
- QMap<kt::ChunkDownloadInterface*,ChunkDownloadViewItem*> items;
+ TQMap<kt::ChunkDownloadInterface*,ChunkDownloadViewItem*> items;
kt::TorrentInterface* curr_tc;
public:
- ChunkDownloadView(QWidget *parent = 0, const char *name = 0);
+ ChunkDownloadView(TQWidget *tqparent = 0, const char *name = 0);
virtual ~ChunkDownloadView();
- void saveLayout(KConfig* cfg,const QString & group_name);
- void restoreLayout(KConfig* cfg,const QString & group_name);
+ void saveLayout(KConfig* cfg,const TQString & group_name);
+ void restoreLayout(KConfig* cfg,const TQString & group_name);
void clear();
void update();
void changeTC(kt::TorrentInterface* tc);