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 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)