diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
commit | d8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch) | |
tree | f295f1c545b319963d5357af79fe08991d8141d9 /libk3b/core/k3bprogressinfoevent.h | |
parent | 2a39a080579fb52a2599c02b2939795385b89093 (diff) | |
download | k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.zip |
TQt4 port k3b
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk3b/core/k3bprogressinfoevent.h')
-rw-r--r-- | libk3b/core/k3bprogressinfoevent.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/libk3b/core/k3bprogressinfoevent.h b/libk3b/core/k3bprogressinfoevent.h index 0e77718..78e17a2 100644 --- a/libk3b/core/k3bprogressinfoevent.h +++ b/libk3b/core/k3bprogressinfoevent.h @@ -16,27 +16,27 @@ #ifndef K3B_PROGRESS_INFO_EVENT_H #define K3B_PROGRESS_INFO_EVENT_H -#include <qevent.h> -#include <qstring.h> +#include <tqevent.h> +#include <tqstring.h> /** * Custom event class for posting events corresponding to the * K3bJob signals. This is useful for a threaded job since * in that case it's not possible to emit signals that directly - * change the GUI (see QThread docu). + * change the GUI (see TQThread docu). */ -class K3bProgressInfoEvent : public QCustomEvent +class K3bProgressInfoEvent : public TQCustomEvent { public: K3bProgressInfoEvent( int type ) - : QCustomEvent( type ), + : TQCustomEvent( type ), m_type(type) {} - K3bProgressInfoEvent( int type, const QString& v1, const QString& v2 = QString::null, + K3bProgressInfoEvent( int type, const TQString& v1, const TQString& v2 = TQString(), int value1 = 0, int value2 = 0 ) - : QCustomEvent( type ), + : TQCustomEvent( type ), m_type( type), m_firstValue(value1), m_secondValue(value2), @@ -45,20 +45,20 @@ class K3bProgressInfoEvent : public QCustomEvent {} K3bProgressInfoEvent( int type, int value1, int value2 = 0 ) - : QCustomEvent( type ), + : TQCustomEvent( type ), m_type( type), m_firstValue(value1), m_secondValue(value2) {} int type() const { return m_type; } - const QString& firstString() const { return m_firstString; } - const QString& secondString() const { return m_secondString; } + const TQString& firstString() const { return m_firstString; } + const TQString& secondString() const { return m_secondString; } int firstValue() const { return m_firstValue; } int secondValue() const { return m_secondValue; } enum K3bProgressInfoEventType { - Progress = QEvent::User + 1, + Progress = TQEvent::User + 1, SubProgress, ProcessedSize, ProcessedSubSize, @@ -69,7 +69,7 @@ class K3bProgressInfoEvent : public QCustomEvent NewTask, NewSubTask, DebuggingOutput, - BufferStatus, + BuffertqStatus, WriteSpeed, NextTrack }; @@ -78,8 +78,8 @@ class K3bProgressInfoEvent : public QCustomEvent int m_type; int m_firstValue; int m_secondValue; - QString m_firstString; - QString m_secondString; + TQString m_firstString; + TQString m_secondString; }; #endif |