diff options
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; }; |