diff options
Diffstat (limited to 'knights/tabgrip.h')
-rw-r--r-- | knights/tabgrip.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/knights/tabgrip.h b/knights/tabgrip.h index a568a2e..116b38e 100644 --- a/knights/tabgrip.h +++ b/knights/tabgrip.h @@ -18,30 +18,31 @@ #ifndef TABGRIP_H #define TABGRIP_H -#include <qwidget.h> +#include <tqwidget.h> /** *@author Troy Corbin Jr. */ -class TabGrip : public QWidget +class TabGrip : public TQWidget { Q_OBJECT + TQ_OBJECT public: - TabGrip(QWidget *parent=0, const char *name=0); + TabGrip(TQWidget *tqparent=0, const char *name=0); ~TabGrip(); - void paintEvent( QPaintEvent* ); - void mouseMoveEvent( QMouseEvent *event ); - void mousePressEvent( QMouseEvent *event ); - void mouseReleaseEvent( QMouseEvent *event ); + void paintEvent( TQPaintEvent* ); + void mouseMoveEvent( TQMouseEvent *event ); + void mousePressEvent( TQMouseEvent *event ); + void mouseReleaseEvent( TQMouseEvent *event ); signals: - void wasDragged( const QPoint&, const QPoint& ); + void wasDragged( const TQPoint&, const TQPoint& ); private: bool isDragging; bool couldDrag; - QPoint offset; + TQPoint offset; }; #endif |