From 11f31c37e5fa4889d9989f10272f44845449cb7b Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 6 Sep 2010 20:59:29 +0000 Subject: Initial TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gui/widgets/WheelyButton.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/widgets/WheelyButton.h') 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 +#include -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); } }; -- cgit v1.2.1