summaryrefslogtreecommitdiffstats
path: root/plugins/infowidget/chunkdownloadview.h
diff options
context:
space:
mode:
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);