summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/ZoomSlider.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/ZoomSlider.h')
-rw-r--r--src/gui/widgets/ZoomSlider.h10
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)
{