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 /eyesapplet/eyes.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 'eyesapplet/eyes.h')
-rw-r--r-- | eyesapplet/eyes.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/eyesapplet/eyes.h b/eyesapplet/eyes.h index 2bb8d72..4bb69bc 100644 --- a/eyesapplet/eyes.h +++ b/eyesapplet/eyes.h @@ -19,7 +19,7 @@ #ifndef __eyes_h__ #define __eyes_h__ -#include <qpixmap.h> +#include <tqpixmap.h> #include <kpanelapplet.h> class EyesApplet : public KPanelApplet @@ -27,22 +27,22 @@ class EyesApplet : public KPanelApplet Q_OBJECT public: - EyesApplet(const QString& configFile, Type t = Normal, int actions = 0, - QWidget *parent = 0, const char *name = 0); + EyesApplet(const TQString& configFile, Type t = Normal, int actions = 0, + TQWidget *parent = 0, const char *name = 0); int widthForHeight(int height) const; int heightForWidth(int width) const; protected: - void timerEvent(QTimerEvent*); - void resizeEvent(QResizeEvent*); - void paintEvent(QPaintEvent*); + void timerEvent(TQTimerEvent*); + void resizeEvent(TQResizeEvent*); + void paintEvent(TQPaintEvent*); private: - void drawPupils(QPainter* p); + void drawPupils(TQPainter* p); - QPoint oldleft, oldright, oldMouse; - QPixmap _cache; + TQPoint oldleft, oldright, oldMouse; + TQPixmap _cache; }; #endif // __eyes_h__ |