From 458efa7b0c935cbaafa2791021a5f8f7241aa876 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 May 2011 22:38:52 +0000 Subject: 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 --- src/gui/widgets/ZoomSlider.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/widgets/ZoomSlider.h') 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 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 &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 ZoomSlider::ZoomSlider(const std::vector &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) { -- cgit v1.2.1