summaryrefslogtreecommitdiffstats
path: root/plugins/infowidget/iwfiletreeitem.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/iwfiletreeitem.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/iwfiletreeitem.h')
-rw-r--r--plugins/infowidget/iwfiletreeitem.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/infowidget/iwfiletreeitem.h b/plugins/infowidget/iwfiletreeitem.h
index 7877ff1..4810f92 100644
--- a/plugins/infowidget/iwfiletreeitem.h
+++ b/plugins/infowidget/iwfiletreeitem.h
@@ -20,7 +20,7 @@
#ifndef IWFILETREEITEM_H
#define IWFILETREEITEM_H
-#include <qobject.h>
+#include <tqobject.h>
#include <interfaces/filetreeitem.h>
using namespace bt;
@@ -36,13 +36,14 @@ namespace kt
*
* File item in the InfoWidget's file view.
*/
- class IWFileTreeItem : public QObject, public kt::FileTreeItem
+ class IWFileTreeItem : public TQObject, public kt::FileTreeItem
{
Q_OBJECT
+ TQ_OBJECT
double perc_complete;
public:
- IWFileTreeItem(IWFileTreeDirItem* item,const QString & name,kt::TorrentFileInterface & file);
+ IWFileTreeItem(IWFileTreeDirItem* item,const TQString & name,kt::TorrentFileInterface & file);
virtual ~IWFileTreeItem();
void updatePreviewInformation(kt::TorrentInterface* tc);
@@ -50,7 +51,7 @@ namespace kt
void updatePriorityInformation(kt::TorrentInterface* tc);
void updateDNDInformation();
protected:
- virtual int compare(QListViewItem* i, int col, bool ascending) const;
+ virtual int compare(TQListViewItem* i, int col, bool ascending) const;
virtual bt::ConfirmationResult confirmationDialog();
protected slots: