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/widgets/ZoomSlider.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/widgets/ZoomSlider.h')
-rw-r--r-- | src/gui/widgets/ZoomSlider.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/ZoomSlider.h b/src/gui/widgets/ZoomSlider.h index 9f4235a..9cf58ab 100644 --- a/src/gui/widgets/ZoomSlider.h +++ b/src/gui/widgets/ZoomSlider.h @@ -40,7 +40,7 @@ namespace Rosegarden template <class T> -class ZoomSlider : public QSlider +class ZoomSlider : public TQSlider { public: @@ -60,7 +60,7 @@ public: * to the user as a nice continuous range. */ ZoomSlider(const std::vector<T> &sizes, T defaultValue, - Orientation, TQWidget * parent, const char * name=0); + Qt::Orientation, TQWidget * tqparent, const char * name=0); virtual ~ZoomSlider(); @@ -84,10 +84,10 @@ protected: template<class T> ZoomSlider<T>::ZoomSlider(const std::vector<T> &sizes, - T initialSize, Orientation o, - TQWidget *parent, const char *name) : + T initialSize, Qt::Orientation o, + TQWidget *tqparent, const char *name) : TQSlider(0, sizes.size()-1, 1, - getIndex(sizes, initialSize), o, parent, name), + getIndex(sizes, initialSize), o, tqparent, name), m_sizes(sizes), m_defaultValue(initialSize) { |