diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kget/logwindow.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-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/logwindow.h')
-rw-r--r-- | kget/logwindow.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kget/logwindow.h b/kget/logwindow.h index a2aa13d5..2ac17941 100644 --- a/kget/logwindow.h +++ b/kget/logwindow.h @@ -28,7 +28,7 @@ #ifndef _LOGWINDOW_H #define _LOGWINDOW_H -#include <qmap.h> +#include <tqmap.h> #include <kdialogbase.h> @@ -40,20 +40,20 @@ class SeparatedLog:public QWidget { Q_OBJECT public: - SeparatedLog(QWidget * parent); + SeparatedLog(TQWidget * parent); ~SeparatedLog() {} - void addLog(uint id, const QString & filename, const QString & message); + void addLog(uint id, const TQString & filename, const TQString & message); void refresh(); protected slots: - void transferSelected(QListViewItem * item); + void transferSelected(TQListViewItem * item); private: - QListView * lv_log; - QTextEdit *ml_log; + TQListView * lv_log; + TQTextEdit *ml_log; - typedef QMap < uint, QString > TransferMap; + typedef TQMap < uint, TQString > TransferMap; TransferMap trMap; uint idSelected; @@ -67,17 +67,17 @@ Q_OBJECT public: LogWindow(); ~LogWindow() {} - void logGeneral(const QString & message); - QString getText() const; + void logGeneral(const TQString & message); + TQString getText() const; public slots: - void logTransfer(uint id, const QString & filename, const QString & message); + void logTransfer(uint id, const TQString & filename, const TQString & message); protected: - void closeEvent(QCloseEvent *); + void closeEvent(TQCloseEvent *); private: - QTextEdit * mixed_log; + TQTextEdit * mixed_log; SeparatedLog *sep_log; }; |