diff options
Diffstat (limited to 'src/gui/rulers/TextRuler.h')
-rw-r--r-- | src/gui/rulers/TextRuler.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/rulers/TextRuler.h b/src/gui/rulers/TextRuler.h index 7d554cb..1e303d3 100644 --- a/src/gui/rulers/TextRuler.h +++ b/src/gui/rulers/TextRuler.h @@ -26,13 +26,13 @@ #ifndef _RG_TEXTRULER_H_ #define _RG_TEXTRULER_H_ -#include <qfont.h> -#include <qfontmetrics.h> -#include <qsize.h> -#include <qwidget.h> +#include <tqfont.h> +#include <tqfontmetrics.h> +#include <tqsize.h> +#include <tqwidget.h> -class QPaintEvent; +class TQPaintEvent; namespace Rosegarden @@ -76,13 +76,13 @@ public: TextRuler(RulerScale *rulerScale, Segment *segment, int height = 0, - QWidget* parent = 0, + TQWidget* parent = 0, const char *name = 0); ~TextRuler(); - virtual QSize sizeHint() const; - virtual QSize minimumSizeHint() const; + virtual TQSize sizeHint() const; + virtual TQSize minimumSizeHint() const; void setMinimumWidth(int width) { m_width = width; } @@ -90,7 +90,7 @@ public slots: void slotScrollHoriz(int x); protected: - virtual void paintEvent(QPaintEvent *); + virtual void paintEvent(TQPaintEvent *); private: int m_height; @@ -102,8 +102,8 @@ private: Segment *m_segment; RulerScale *m_rulerScale; - QFont m_font; - QFontMetrics m_fontMetrics; + TQFont m_font; + TQFontMetrics m_fontMetrics; }; |