diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 23:15:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 23:15:51 +0000 |
commit | 6b1b516f42036cf9eff691dba3fd6e9eab82a7e1 (patch) | |
tree | 6830f75fd57d0fac7e33c097ee98b210e90c5239 /src/progressindicator.h | |
parent | 6318b8bb3ef964cfa99ba454a2630779cc9ac3ec (diff) | |
download | soundkonverter-6b1b516f42036cf9eff691dba3fd6e9eab82a7e1.tar.gz soundkonverter-6b1b516f42036cf9eff691dba3fd6e9eab82a7e1.zip |
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
Diffstat (limited to 'src/progressindicator.h')
-rwxr-xr-x | src/progressindicator.h | 25 |
1 files changed, 13 insertions, 12 deletions
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 <qwidget.h> -#include <qdatetime.h> +#include <tqwidget.h> +#include <tqdatetime.h> -class QProgressBar; -class QLabel; +class TQProgressBar; +class TQLabel; class KSystemTray; /** @@ -15,14 +15,15 @@ class KSystemTray; * @author Daniel Faust <[email protected]> * @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 |