summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/RawNoteRuler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/rulers/RawNoteRuler.h')
-rw-r--r--src/gui/rulers/RawNoteRuler.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/rulers/RawNoteRuler.h b/src/gui/rulers/RawNoteRuler.h
index f194062..8ced771 100644
--- a/src/gui/rulers/RawNoteRuler.h
+++ b/src/gui/rulers/RawNoteRuler.h
@@ -27,15 +27,15 @@
#define _RG_RAWNOTERULER_H_
#include "base/Segment.h"
-#include <qsize.h>
-#include <qwidget.h>
+#include <tqsize.h>
+#include <tqwidget.h>
#include <utility>
#include <vector>
#include "base/Event.h"
-class QPaintEvent;
-class QPainter;
+class TQPaintEvent;
+class TQPainter;
namespace Rosegarden
@@ -61,7 +61,7 @@ public:
Segment *segment,
double xorigin = 0.0,
int height = 0,
- QWidget* parent = 0,
+ TQWidget* parent = 0,
const char *name = 0);
~RawNoteRuler();
@@ -70,8 +70,8 @@ public:
m_segment = segment;
}
- virtual QSize sizeHint() const;
- virtual QSize minimumSizeHint() const;
+ virtual TQSize sizeHint() const;
+ virtual TQSize minimumSizeHint() const;
void setMinimumWidth(int width) { m_width = width; }
@@ -79,7 +79,7 @@ public slots:
void slotScrollHoriz(int x);
protected:
- virtual void paintEvent(QPaintEvent*);
+ virtual void paintEvent(TQPaintEvent*);
private:
double m_xorigin;
@@ -115,7 +115,7 @@ private:
void dumpForest(std::vector<EventTreeNode *> *);
void buildForest(Segment *, Segment::iterator, Segment::iterator);
- void drawNode(QPainter &, DefaultVelocityColour &, EventTreeNode *,
+ void drawNode(TQPainter &, DefaultVelocityColour &, EventTreeNode *,
double height, double yorigin);
// needs to be class with dtor &c and containing above methods