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/tools/k3bprogressdialog.h | |
parent | 2a39a080579fb52a2599c02b2939795385b89093 (diff) | |
download | k3b-d8cc8bdf.tar.gz k3b-d8cc8bdf.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/tools/k3bprogressdialog.h')
-rw-r--r-- | libk3b/tools/k3bprogressdialog.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/libk3b/tools/k3bprogressdialog.h b/libk3b/tools/k3bprogressdialog.h index 32a0544..5ff9ad8 100644 --- a/libk3b/tools/k3bprogressdialog.h +++ b/libk3b/tools/k3bprogressdialog.h @@ -21,9 +21,9 @@ #include "k3b_export.h" class K3bBusyWidget; -class QLabel; +class TQLabel; class KProgress; -class QWidgetStack; +class TQWidgetStack; /** @@ -34,18 +34,19 @@ class QWidgetStack; class LIBK3B_EXPORT K3bProgressDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - K3bProgressDialog( const QString& text = QString::null, - QWidget* parent = 0, - const QString& caption = QString::null, + K3bProgressDialog( const TQString& text = TQString(), + TQWidget* tqparent = 0, + const TQString& caption = TQString(), const char* name = 0 ); ~K3bProgressDialog(); int exec( bool showProgress ); public slots: - void setText( const QString& ); + void setText( const TQString& ); void slotFinished( bool success ); void setProgress( int p ); @@ -53,8 +54,8 @@ class LIBK3B_EXPORT K3bProgressDialog : public KDialogBase void slotCancel(); private: - QLabel* m_label; - QWidgetStack* m_stack; + TQLabel* m_label; + TQWidgetStack* m_stack; K3bBusyWidget* m_busyWidget; KProgress* m_progressBar; }; |