diff options
Diffstat (limited to 'src/gui/rulers/LoopRuler.h')
-rw-r--r-- | src/gui/rulers/LoopRuler.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/gui/rulers/LoopRuler.h b/src/gui/rulers/LoopRuler.h index 7c30cc8..dfe88ae 100644 --- a/src/gui/rulers/LoopRuler.h +++ b/src/gui/rulers/LoopRuler.h @@ -28,15 +28,15 @@ #include "base/SnapGrid.h" #include "gui/general/HZoomable.h" -#include <qsize.h> -#include <qwidget.h> -#include <qpen.h> +#include <tqsize.h> +#include <tqwidget.h> +#include <tqpen.h> #include "base/Event.h" -class QPaintEvent; -class QPainter; -class QMouseEvent; +class TQPaintEvent; +class TQPainter; +class TQMouseEvent; namespace Rosegarden @@ -51,7 +51,7 @@ class RosegardenGUIDoc; * ruler-like scale, and reacts to mouse clicks by sending relevant * signals to modify position pointer and playback/looping states. */ -class LoopRuler : public QWidget, public HZoomable +class LoopRuler : public TQWidget, public HZoomable { Q_OBJECT @@ -61,15 +61,15 @@ public: int height = 0, double xorigin = 0.0, bool invert = false, - QWidget* parent = 0, + TQWidget* parent = 0, const char *name = 0); ~LoopRuler(); void setSnapGrid(SnapGrid *grid); - virtual QSize sizeHint() const; - virtual QSize minimumSizeHint() const; + virtual TQSize sizeHint() const; + virtual TQSize minimumSizeHint() const; void scrollHoriz(int x); @@ -87,16 +87,16 @@ public slots: protected: // ActiveItem interface - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void mouseDoubleClickEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); + virtual void mousePressEvent (TQMouseEvent*); + virtual void mouseReleaseEvent (TQMouseEvent*); + virtual void mouseDoubleClickEvent (TQMouseEvent*); + virtual void mouseMoveEvent (TQMouseEvent*); - virtual void paintEvent(QPaintEvent*); + virtual void paintEvent(TQPaintEvent*); void setLoopingMode(bool value) { m_loopingMode = value; } - void drawBarSections(QPainter*); - void drawLoopMarker(QPainter*); // between loop positions + void drawBarSections(TQPainter*); + void drawLoopMarker(TQPainter*); // between loop positions signals: // The three main functions that this class performs @@ -136,7 +136,7 @@ protected: SnapGrid m_defaultGrid; SnapGrid m_loopGrid; SnapGrid *m_grid; - QPen m_quickMarkerPen; + TQPen m_quickMarkerPen; bool m_loopingMode; timeT m_startLoop; timeT m_endLoop; |