summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/WheelyButton.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/widgets/WheelyButton.h
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz
rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/widgets/WheelyButton.h')
-rw-r--r--src/gui/widgets/WheelyButton.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/WheelyButton.h b/src/gui/widgets/WheelyButton.h
index 83de80d..050fd9b 100644
--- a/src/gui/widgets/WheelyButton.h
+++ b/src/gui/widgets/WheelyButton.h
@@ -26,11 +26,11 @@
#ifndef _RG_WHEELYBUTTON_H_
#define _RG_WHEELYBUTTON_H_
-#include <qpushbutton.h>
+#include <tqpushbutton.h>
-class QWidget;
-class QWheelEvent;
+class TQWidget;
+class TQWheelEvent;
namespace Rosegarden
@@ -43,14 +43,14 @@ class WheelyButton : public QPushButton
Q_OBJECT
public:
- WheelyButton(QWidget *w) : QPushButton(w) { }
+ WheelyButton(TQWidget *w) : TQPushButton(w) { }
virtual ~WheelyButton() { }
signals:
void wheel(bool up);
protected:
- void wheelEvent(QWheelEvent *e) {
+ void wheelEvent(TQWheelEvent *e) {
emit wheel(e->delta() > 0);
}
};