summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/PropertyViewRuler.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/rulers/PropertyViewRuler.h
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz
rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/rulers/PropertyViewRuler.h')
-rw-r--r--src/gui/rulers/PropertyViewRuler.h26
1 files changed, 13 insertions, 13 deletions
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 <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
@@ -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;
};