diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
commit | 1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch) | |
tree | 38559cd68cd4f63023fb5f6375def9db3b8b491e /libktorrent/interfaces/filetreeitem.h | |
parent | 894f94545727610df22c4f73911d62d58266f695 (diff) | |
download | ktorrent-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/interfaces/filetreeitem.h')
-rw-r--r-- | libktorrent/interfaces/filetreeitem.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libktorrent/interfaces/filetreeitem.h b/libktorrent/interfaces/filetreeitem.h index 6f9f1b1..6d6ed79 100644 --- a/libktorrent/interfaces/filetreeitem.h +++ b/libktorrent/interfaces/filetreeitem.h @@ -37,25 +37,25 @@ namespace kt * @author Joris Guisson * * File item part of a tree which shows the files in a multifile torrent. - * This is derived from QCheckListItem, if the user checks or unchecks the box, + * This is derived from TQCheckListItem, if the user checks or unchecks the box, * wether or not to download a file will be changed. */ - class FileTreeItem : public QCheckListItem + class FileTreeItem : public TQCheckListItem { protected: - QString name; + TQString name; TorrentFileInterface & file; - FileTreeDirItem* parent; + FileTreeDirItem* tqparent; bool manual_change; public: /** - * Constructor, set the parent, name and file + * Constructor, set the tqparent, name and file * @param item Parent item * @param name Name of file * @param file THe TorrentFileInterface * @return */ - FileTreeItem(FileTreeDirItem* item,const QString & name,TorrentFileInterface & file); + FileTreeItem(FileTreeDirItem* item,const TQString & name,TorrentFileInterface & file); virtual ~FileTreeItem(); /// Get a reference to the TorrentFileInterface @@ -78,7 +78,7 @@ namespace kt void updatePriorityText(); protected: - virtual int compare(QListViewItem* i, int col, bool ascending) const; + virtual int compare(TQListViewItem* i, int col, bool ascending) const; /** * Subclasses should override this if they want to show a confirmation dialog. |