diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 23:37:00 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 23:37:00 +0000 |
commit | b0e912c8b3d02a518fedda28c3180eb4794a7520 (patch) | |
tree | 07d344862562fab58cbe2df39d13d16f2e4d2bea /libk9copy/k9processlist.h | |
parent | 4d695ec81fe4d4335ee82c7a9346ad9c9e144ecc (diff) | |
download | k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.tar.gz k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.zip |
TQt4 convert k9copy
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1233843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk9copy/k9processlist.h')
-rw-r--r-- | libk9copy/k9processlist.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/libk9copy/k9processlist.h b/libk9copy/k9processlist.h index cbcc754..bd18119 100644 --- a/libk9copy/k9processlist.h +++ b/libk9copy/k9processlist.h @@ -15,22 +15,23 @@ #include "k9common.h" #include "../libk9copy/processList.h" #include "k9process.h" -#include <qmap.h> -#include <qtimer.h> +#include <tqmap.h> +#include <tqtimer.h> class k9ProcessList : public processList { Q_OBJECT + TQ_OBJECT public: - k9ProcessList(QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + k9ProcessList(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); ~k9ProcessList(); /*$PUBLIC_FUNCTIONS$*/ void execute(); - void addProgress(const QString &_text); + void addProgress(const TQString &_text); void setProgress (k9Process * _process,int _position, int _total); - void setText(k9Process *_process, const QString &_text,int _col); - void setFileName(k9Process *_process,const QString &_fileName); + void setText(k9Process *_process, const TQString &_text,int _col); + void setFileName(k9Process *_process,const TQString &_fileName); void setPos(k9Process *_process,double _pos); - k9Process *addProcess(const QString &label); + k9Process *addProcess(const TQString &label); void setMaxProcess(int _value); int getMaxProcess() const; @@ -45,9 +46,9 @@ public slots: protected: /*$PROTECTED_FUNCTIONS$*/ int m_maxProcess; - QMap <k9Process*,QListViewItem*> m_items; - QPtrList <k9Process> m_processes; - QTimer m_timer; + TQMap <k9Process*,TQListViewItem*> m_items; + TQPtrList <k9Process> m_processes; + TQTimer m_timer; bool m_cancel; bool m_error; bool m_waitSync; |