diff options
Diffstat (limited to 'src/DragWidget.h')
-rw-r--r-- | src/DragWidget.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/DragWidget.h b/src/DragWidget.h index 9d24583..8b797b3 100644 --- a/src/DragWidget.h +++ b/src/DragWidget.h @@ -1,14 +1,15 @@ #ifndef KVKBDDRAGWIDGET_H #define KVKBDDRAGWIDGET_H -#include <qwidget.h> -#include <qpoint.h> -#include <qevent.h> +#include <tqwidget.h> +#include <tqpoint.h> +#include <tqevent.h> -class DragWidget : public QWidget +class DragWidget : public TQWidget { Q_OBJECT + TQ_OBJECT public: - DragWidget(QWidget *parent=0, const char *name="", WFlags f=0); + DragWidget(TQWidget *tqparent=0, const char *name="", WFlags f=0); virtual ~DragWidget(); private: @@ -16,11 +17,11 @@ private: bool drag; protected: - void mouseMoveEvent ( QMouseEvent * e ); - void mousePressEvent ( QMouseEvent * e ); - void mouseReleaseEvent ( QMouseEvent * e ); - QPoint dragP; - QPoint gpress; + void mouseMoveEvent ( TQMouseEvent * e ); + void mousePressEvent ( TQMouseEvent * e ); + void mouseReleaseEvent ( TQMouseEvent * e ); + TQPoint dragP; + TQPoint gpress; }; |