diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:49:52 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:49:52 +0000 |
commit | cfc42a28c327b96c6a2afee92af3bac1a479eb8a (patch) | |
tree | e3219edf5f827eaa4db3feb509a17846a1a5a752 /kodo/kodometer.h | |
parent | a73fc4d7e66fe0824313aa4e9a650c4cddef6e9f (diff) | |
download | tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.tar.gz tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kodo/kodometer.h')
-rw-r--r-- | kodo/kodometer.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kodo/kodometer.h b/kodo/kodometer.h index 3d5544c..b143737 100644 --- a/kodo/kodometer.h +++ b/kodo/kodometer.h @@ -30,10 +30,10 @@ #include <math.h> -#include <qlabel.h> -#include <qptrlist.h> -#include <qkeycode.h> -#include <qtooltip.h> +#include <tqlabel.h> +#include <tqptrlist.h> +#include <tqkeycode.h> +#include <tqtooltip.h> #include <kaboutdata.h> #include <kuniqueapplication.h> @@ -94,15 +94,15 @@ class Kodometer : public QFrame Q_OBJECT public: - Kodometer(QWidget* = 0, const char* = 0); + Kodometer(TQWidget* = 0, const char* = 0); ~Kodometer() {} void refresh(void); void readSettings(void); void saveSettings(void); - void timerEvent(QTimerEvent*); - void mousePressEvent(QMouseEvent*); - bool eventFilter( QObject *, QEvent *e ); + void timerEvent(TQTimerEvent*); + void mousePressEvent(TQMouseEvent*); + bool eventFilter( TQObject *, TQEvent *e ); public slots: void toggleEnabled(); @@ -117,7 +117,7 @@ protected: double multiplier(Units); int CalcDistance(void); - QString FormatDistance(double &dist, Units); + TQString FormatDistance(double &dist, Units); void FindAllScreens(); KImageNumber* tripLabel; @@ -131,7 +131,7 @@ protected: int enabledID; double speed; - QPtrList<double> speeds; + TQPtrList<double> speeds; double lastDistance; int distanceID; int speedID; |