diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 20:48:12 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 20:48:12 +0000 |
commit | e0e4bf64073ac54a136c2b42b5530687b246f24a (patch) | |
tree | 2f68d9a750bb8349928a2020d9640d63040e4af4 /src/resizabledragwidget.h | |
parent | f2c25668ebf4de0e17c6558c1d8e3051057b55fd (diff) | |
download | kvkbd-e0e4bf64073ac54a136c2b42b5530687b246f24a.tar.gz kvkbd-e0e4bf64073ac54a136c2b42b5530687b246f24a.zip |
TQt4 port kvkbd
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvkbd@1239029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/resizabledragwidget.h')
-rw-r--r-- | src/resizabledragwidget.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/resizabledragwidget.h b/src/resizabledragwidget.h index c610d85..cd9be3c 100644 --- a/src/resizabledragwidget.h +++ b/src/resizabledragwidget.h @@ -28,17 +28,18 @@ class ResizableDragWidget : public DragWidget { Q_OBJECT + TQ_OBJECT public: - ResizableDragWidget(QWidget *parent, const char *name, WFlags f); + ResizableDragWidget(TQWidget *tqparent, const char *name, WFlags f); ~ResizableDragWidget(); private: bool rsz; protected: - virtual void mouseMoveEvent ( QMouseEvent * e ); - virtual void mousePressEvent ( QMouseEvent * e ); - virtual void mouseReleaseEvent ( QMouseEvent * e ); - virtual void paintEvent ( QPaintEvent *e ); + virtual void mouseMoveEvent ( TQMouseEvent * e ); + virtual void mousePressEvent ( TQMouseEvent * e ); + virtual void mouseReleaseEvent ( TQMouseEvent * e ); + virtual void paintEvent ( TQPaintEvent *e ); }; #endif |