summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/WheelyButton.h
diff options
context:
space:
mode:
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);
}
};