diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-02 22:38:52 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-02 22:38:52 +0000 |
commit | 458efa7b0c935cbaafa2791021a5f8f7241aa876 (patch) | |
tree | 624583f2873febe23770bee3fa94b5c24bd59f4f /src/gui/rulers/TempoRuler.h | |
parent | 747037b72944ae2c02962b7c5c96e0a7f8852e38 (diff) | |
download | rosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.tar.gz rosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.zip |
Initial TQt4 port of Rosegarden
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1230242 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/rulers/TempoRuler.h')
-rw-r--r-- | src/gui/rulers/TempoRuler.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gui/rulers/TempoRuler.h b/src/gui/rulers/TempoRuler.h index 7bf073e..ce51213 100644 --- a/src/gui/rulers/TempoRuler.h +++ b/src/gui/rulers/TempoRuler.h @@ -61,6 +61,7 @@ class Composition; class TempoRuler : public TQWidget, public KXMLGUIClient { Q_OBJECT + TQ_OBJECT public: /** @@ -72,17 +73,17 @@ public: */ TempoRuler(RulerScale *rulerScale, RosegardenGUIDoc *doc, - KMainWindow *parentMainWindow, + KMainWindow *tqparentMainWindow, double xorigin = 0.0, int height = 0, bool small = false, - TQWidget* parent = 0, + TQWidget* tqparent = 0, const char *name = 0); ~TempoRuler(); - virtual TQSize sizeHint() const; - virtual TQSize minimumSizeHint() const; + virtual TQSize tqsizeHint() const; + virtual TQSize tqminimumSizeHint() const; void setMinimumWidth(int width) { m_width = width; } @@ -166,7 +167,7 @@ private: RulerScale *m_rulerScale; TextFloat *m_textFloat; TQPopupMenu *m_menu; - KMainWindow *m_parentMainWindow; + KMainWindow *m_tqparentMainWindow; TQFont m_font; TQFont m_boldFont; |