diff options
Diffstat (limited to 'kget/transferlist.h')
-rw-r--r-- | kget/transferlist.h | 30 |
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; |