summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/ChordNameRuler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/rulers/ChordNameRuler.h')
-rw-r--r--src/gui/rulers/ChordNameRuler.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/rulers/ChordNameRuler.h b/src/gui/rulers/ChordNameRuler.h
index 70cdc12..988b1f4 100644
--- a/src/gui/rulers/ChordNameRuler.h
+++ b/src/gui/rulers/ChordNameRuler.h
@@ -28,15 +28,15 @@
#include "base/PropertyName.h"
#include <map>
-#include <qfont.h>
-#include <qfontmetrics.h>
-#include <qsize.h>
-#include <qwidget.h>
+#include <tqfont.h>
+#include <tqfontmetrics.h>
+#include <tqsize.h>
+#include <tqwidget.h>
#include <vector>
#include "base/Event.h"
-class QPaintEvent;
+class TQPaintEvent;
namespace Rosegarden
@@ -69,7 +69,7 @@ public:
RosegardenGUIDoc *doc,
double xorigin = 0.0,
int height = 0,
- QWidget* parent = 0,
+ TQWidget* parent = 0,
const char *name = 0);
/**
@@ -83,7 +83,7 @@ public:
std::vector<Segment *> &segments,
double xorigin = 0.0,
int height = 0,
- QWidget* parent = 0,
+ TQWidget* parent = 0,
const char *name = 0);
~ChordNameRuler();
@@ -97,8 +97,8 @@ public:
// may have one of these (to avoid using percussion tracks in chords):
void setStudio(Studio *studio);
- virtual QSize sizeHint() const;
- virtual QSize minimumSizeHint() const;
+ virtual TQSize sizeHint() const;
+ virtual TQSize minimumSizeHint() const;
void setMinimumWidth(int width) { m_width = width; }
@@ -106,7 +106,7 @@ public slots:
void slotScrollHoriz(int x);
protected:
- virtual void paintEvent(QPaintEvent *);
+ virtual void paintEvent(TQPaintEvent *);
private:
void recalculate(timeT from = 0,
@@ -132,9 +132,9 @@ private:
Segment *m_chordSegment;
- QFont m_font;
- QFont m_boldFont;
- QFontMetrics m_fontMetrics;
+ TQFont m_font;
+ TQFont m_boldFont;
+ TQFontMetrics m_fontMetrics;
const PropertyName TEXT_FORMAL_X;
const PropertyName TEXT_ACTUAL_X;