diff options
Diffstat (limited to 'src/gui/editors/matrix/PianoKeyboard.h')
-rw-r--r-- | src/gui/editors/matrix/PianoKeyboard.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/gui/editors/matrix/PianoKeyboard.h b/src/gui/editors/matrix/PianoKeyboard.h index e8b06bb..82c2be6 100644 --- a/src/gui/editors/matrix/PianoKeyboard.h +++ b/src/gui/editors/matrix/PianoKeyboard.h @@ -27,14 +27,14 @@ #define _RG_PIANOKEYBOARD_H_ #include "gui/rulers/PitchRuler.h" -#include <qsize.h> +#include <tqsize.h> #include <vector> -class QWidget; -class QPaintEvent; -class QMouseEvent; -class QEvent; +class TQWidget; +class TQPaintEvent; +class TQMouseEvent; +class TQEvent; namespace Rosegarden @@ -46,10 +46,10 @@ class PianoKeyboard : public PitchRuler { Q_OBJECT public: - PianoKeyboard(QWidget *parent, int keys = 88); + PianoKeyboard(TQWidget *parent, int keys = 88); - virtual QSize sizeHint() const; - virtual QSize minimumSizeHint() const; + virtual TQSize sizeHint() const; + virtual TQSize minimumSizeHint() const; /* * We want to be able to call this from the matrix view @@ -96,21 +96,21 @@ signals: protected: - virtual void paintEvent(QPaintEvent*); + virtual void paintEvent(TQPaintEvent*); - virtual void mouseMoveEvent(QMouseEvent*); - virtual void mousePressEvent(QMouseEvent*); - virtual void mouseReleaseEvent(QMouseEvent*); - virtual void enterEvent(QEvent *); - virtual void leaveEvent(QEvent *); + virtual void mouseMoveEvent(TQMouseEvent*); + virtual void mousePressEvent(TQMouseEvent*); + virtual void mouseReleaseEvent(TQMouseEvent*); + virtual void enterEvent(TQEvent *); + virtual void leaveEvent(TQEvent *); // compute all key positions and store them // void computeKeyPos(); //--------------- Data members --------------------------------- - QSize m_keySize; - QSize m_blackKeySize; + TQSize m_keySize; + TQSize m_blackKeySize; unsigned int m_nbKeys; std::vector<unsigned int> m_whiteKeyPos; @@ -122,7 +122,7 @@ protected: bool m_selecting; // highlight element on the keyboard - QWidget *m_hoverHighlight; + TQWidget *m_hoverHighlight; int m_lastHoverHighlight; int m_lastKeyPressed; }; |