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 /amor/amorwidget.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 'amor/amorwidget.h')
-rw-r--r-- | amor/amorwidget.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/amor/amorwidget.h b/amor/amorwidget.h index 5aaac82..308ed73 100644 --- a/amor/amorwidget.h +++ b/amor/amorwidget.h @@ -32,7 +32,7 @@ #endif #include <kapplication.h> -#include <qwidget.h> +#include <tqwidget.h> //--------------------------------------------------------------------------- // @@ -45,21 +45,21 @@ public: AmorWidget(); virtual ~AmorWidget(); - void setPixmap(const QPixmap *pixmap); + void setPixmap(const TQPixmap *pixmap); signals: - void mouseClicked(const QPoint &pos); - void dragged( const QPoint &delta, bool release ); + void mouseClicked(const TQPoint &pos); + void dragged( const TQPoint &delta, bool release ); protected: - void paintEvent(QPaintEvent *); - void mousePressEvent(QMouseEvent *); - void mouseMoveEvent(QMouseEvent *); - void mouseReleaseEvent(QMouseEvent *); + void paintEvent(TQPaintEvent *); + void mousePressEvent(TQMouseEvent *); + void mouseMoveEvent(TQMouseEvent *); + void mouseReleaseEvent(TQMouseEvent *); protected: - const QPixmap *mPixmap; - QPoint clickPos; + const TQPixmap *mPixmap; + TQPoint clickPos; bool dragging; }; |