From 6b1b516f42036cf9eff691dba3fd6e9eab82a7e1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 1 Jul 2011 23:15:51 +0000 Subject: TQt4 port soundkonverter This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/soundkonverter@1239038 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/progressindicator.h | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'src/progressindicator.h') diff --git a/src/progressindicator.h b/src/progressindicator.h index 873a4f9..5bf4d3d 100755 --- a/src/progressindicator.h +++ b/src/progressindicator.h @@ -3,11 +3,11 @@ #ifndef PROGRESSINDICATOR_H #define PROGRESSINDICATOR_H -#include -#include +#include +#include -class QProgressBar; -class QLabel; +class TQProgressBar; +class TQLabel; class KSystemTray; /** @@ -15,14 +15,15 @@ class KSystemTray; * @author Daniel Faust * @version 0.3 */ -class ProgressIndicator : public QWidget +class ProgressIndicator : public TQWidget { Q_OBJECT + TQ_OBJECT public: /** * Constructor */ - ProgressIndicator( KSystemTray* _systemTray, QWidget* parent = 0, const char* name = 0 ); + ProgressIndicator( KSystemTray* _systemTray, TQWidget* tqparent = 0, const char* name = 0 ); /** * Destructor @@ -42,20 +43,20 @@ public slots: //private slots: private: - QProgressBar* pBar; - QLabel* lSpeed; - QLabel* lTime; + TQProgressBar* pBar; + TQLabel* lSpeed; + TQLabel* lTime; KSystemTray* systemTray; - QTime elapsedTime; - QTime speedTime; + TQTime elapsedTime; + TQTime speedTime; float speedProcessedTime; float time; float processedTime; signals: - void setTitle( const QString& ); + void setTitle( const TQString& ); }; #endif // PROGRESSINDICATOR_H -- cgit v1.2.1