diff options
Diffstat (limited to 'src/gui/rulers/PercussionPitchRuler.h')
-rw-r--r-- | src/gui/rulers/PercussionPitchRuler.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/gui/rulers/PercussionPitchRuler.h b/src/gui/rulers/PercussionPitchRuler.h index cae61ec..44fcd86 100644 --- a/src/gui/rulers/PercussionPitchRuler.h +++ b/src/gui/rulers/PercussionPitchRuler.h @@ -27,15 +27,15 @@ #define _RG_PERCUSSIONPITCHRULER_H_ #include "PitchRuler.h" -#include <qsize.h> +#include <tqsize.h> -class QWidget; -class QPaintEvent; -class QMouseEvent; -class QFontMetrics; -class QFont; -class QEvent; +class TQWidget; +class TQPaintEvent; +class TQMouseEvent; +class TQFontMetrics; +class TQFont; +class TQEvent; namespace Rosegarden @@ -48,12 +48,12 @@ class PercussionPitchRuler : public PitchRuler { Q_OBJECT public: - PercussionPitchRuler(QWidget *parent, + PercussionPitchRuler(TQWidget *parent, const MidiKeyMapping *mapping, int lineSpacing); - virtual QSize sizeHint() const; - virtual QSize minimumSizeHint() const; + virtual TQSize sizeHint() const; + virtual TQSize minimumSizeHint() const; void drawHoverNote(int evPitch); @@ -63,12 +63,12 @@ signals: void hoveredOverKeyChanged(unsigned int y); protected: - virtual void paintEvent(QPaintEvent*); - virtual void mouseMoveEvent(QMouseEvent*); - virtual void mousePressEvent(QMouseEvent*); - virtual void mouseReleaseEvent(QMouseEvent*); - virtual void enterEvent(QEvent *); - virtual void leaveEvent(QEvent *); + virtual void paintEvent(TQPaintEvent*); + virtual void mouseMoveEvent(TQMouseEvent*); + virtual void mousePressEvent(TQMouseEvent*); + virtual void mouseReleaseEvent(TQMouseEvent*); + virtual void enterEvent(TQEvent *); + virtual void leaveEvent(TQEvent *); const MidiKeyMapping *m_mapping; @@ -80,8 +80,8 @@ protected: int m_lastHoverHighlight; - QFont *m_font; - QFontMetrics *m_fontMetrics; + TQFont *m_font; + TQFontMetrics *m_fontMetrics; }; |