summaryrefslogtreecommitdiffstats
path: root/kget/transferlist.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kget/transferlist.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kget/transferlist.h')
-rw-r--r--kget/transferlist.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kget/transferlist.h b/kget/transferlist.h
index 0d5929d0..89f50e6a 100644
--- a/kget/transferlist.h
+++ b/kget/transferlist.h
@@ -28,7 +28,7 @@
#define _TransferList_h
#include <klistview.h>
-#include <qptrlist.h>
+#include <tqptrlist.h>
#include <kurl.h>
@@ -39,12 +39,12 @@ class TransferIterator:public QListViewItemIterator
public:
- TransferIterator(QListView * view):QListViewItemIterator(view)
+ TransferIterator(TQListView * view):TQListViewItemIterator(view)
{
}
Transfer *current() const
{
- return (Transfer *) QListViewItemIterator::current();
+ return (Transfer *) TQListViewItemIterator::current();
}
void reset()
{
@@ -59,13 +59,13 @@ class TransferList:public KListView
Q_OBJECT public:
- TransferList(QWidget * parent = 0, const char *name = 0);
+ TransferList(TQWidget * parent = 0, const char *name = 0);
virtual ~ TransferList();
Transfer *addTransfer(const KURL & _source, const KURL & _dest,
bool canShow = true );
- virtual void setSelected(QListViewItem * item, bool selected);
+ virtual void setSelected(TQListViewItem * item, bool selected);
void moveToBegin(Transfer * item);
void moveToEnd(Transfer * item);
@@ -79,7 +79,7 @@ Q_OBJECT public:
bool areTransfersQueuedOrScheduled();
void readTransfers(const KURL& file);
- void writeTransfers(const QString& file);
+ void writeTransfers(const TQString& file);
friend class Transfer;
@@ -88,8 +88,8 @@ signals:
void popupMenu(Transfer * item);
protected slots:
- void slotTransferSelected(QListViewItem * item);
- void slotPopupMenu(QListViewItem * item);
+ void slotTransferSelected(TQListViewItem * item);
+ void slotPopupMenu(TQListViewItem * item);
protected:
@@ -100,13 +100,13 @@ protected:
int lv_pixmap, lv_filename, lv_resume, lv_count, lv_progress;
int lv_total, lv_speed, lv_remaining, lv_url;
- QPtrList < QPixmap > animConn;
- QPtrList < QPixmap > animTry;
- QPixmap pixQueued;
- QPixmap pixScheduled;
- QPixmap pixDelayed;
- QPixmap pixFinished;
- QPixmap pixRetrying;
+ TQPtrList < TQPixmap > animConn;
+ TQPtrList < TQPixmap > animTry;
+ TQPixmap pixQueued;
+ TQPixmap pixScheduled;
+ TQPixmap pixDelayed;
+ TQPixmap pixFinished;
+ TQPixmap pixRetrying;
uint phasesNum;
uint jobid;