diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
commit | 11f31c37e5fa4889d9989f10272f44845449cb7b (patch) | |
tree | 4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/widgets/ZoomSlider.h | |
parent | 832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff) | |
download | rosegarden-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/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 635d074..9f4235a 100644 --- a/src/gui/widgets/ZoomSlider.h +++ b/src/gui/widgets/ZoomSlider.h @@ -26,12 +26,12 @@ #ifndef _RG_ZOOMSLIDER_H_ #define _RG_ZOOMSLIDER_H_ -#include <qslider.h> +#include <tqslider.h> #include <vector> class T; -class QWidget; +class TQWidget; namespace Rosegarden @@ -60,7 +60,7 @@ public: * to the user as a nice continuous range. */ ZoomSlider(const std::vector<T> &sizes, T defaultValue, - Orientation, QWidget * parent, const char * name=0); + Orientation, TQWidget * parent, const char * name=0); virtual ~ZoomSlider(); @@ -85,8 +85,8 @@ protected: template<class T> ZoomSlider<T>::ZoomSlider(const std::vector<T> &sizes, T initialSize, Orientation o, - QWidget *parent, const char *name) : - QSlider(0, sizes.size()-1, 1, + TQWidget *parent, const char *name) : + TQSlider(0, sizes.size()-1, 1, getIndex(sizes, initialSize), o, parent, name), m_sizes(sizes), m_defaultValue(initialSize) |