From 11f31c37e5fa4889d9989f10272f44845449cb7b Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 6 Sep 2010 20:59:29 +0000 Subject: Initial TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gui/rulers/PropertyViewRuler.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/gui/rulers/PropertyViewRuler.h') diff --git a/src/gui/rulers/PropertyViewRuler.h b/src/gui/rulers/PropertyViewRuler.h index b7d479c..19ac410 100644 --- a/src/gui/rulers/PropertyViewRuler.h +++ b/src/gui/rulers/PropertyViewRuler.h @@ -28,13 +28,13 @@ #include "base/PropertyName.h" #include "gui/general/HZoomable.h" -#include -#include -#include -#include +#include +#include +#include +#include -class QPaintEvent; +class TQPaintEvent; namespace Rosegarden @@ -48,7 +48,7 @@ class RulerScale; * PropertyViewRuler is a widget that shows a range of Property * (velocity, typically) values for a set of Rosegarden Events. */ -class PropertyViewRuler : public QWidget, public HZoomable +class PropertyViewRuler : public TQWidget, public HZoomable { Q_OBJECT @@ -58,13 +58,13 @@ public: const PropertyName &property, double xorigin = 0.0, int height = 0, - QWidget* parent = 0, + TQWidget* parent = 0, const char *name = 0); ~PropertyViewRuler(); - virtual QSize sizeHint() const; - virtual QSize minimumSizeHint() const; + virtual TQSize sizeHint() const; + virtual TQSize minimumSizeHint() const; void setMinimumWidth(int width) { m_width = width; } @@ -77,7 +77,7 @@ public slots: void slotScrollHoriz(int x); protected: - virtual void paintEvent(QPaintEvent *); + virtual void paintEvent(TQPaintEvent *); //--------------- Data members --------------------------------- @@ -91,9 +91,9 @@ protected: Segment *m_segment; RulerScale *m_rulerScale; - QFont m_font; - QFont m_boldFont; - QFontMetrics m_fontMetrics; + TQFont m_font; + TQFont m_boldFont; + TQFontMetrics m_fontMetrics; }; -- cgit v1.2.1