summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqrangecontrol.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqrangecontrol.h')
-rw-r--r--qtinterface/tqrangecontrol.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/qtinterface/tqrangecontrol.h b/qtinterface/tqrangecontrol.h
index 7d20e6d..c887a4d 100644
--- a/qtinterface/tqrangecontrol.h
+++ b/qtinterface/tqrangecontrol.h
@@ -36,9 +36,11 @@ Boston, MA 02110-1301, USA.
#ifdef USE_QT4
// Reimplement the QRangeControl class
-// For Qt4, no changes are needed
+// For Qt4, some changes are needed
-#include <qrangecontrol.h>
+#include <Qt/q3rangecontrol.h>
+
+#define QRangeControl Q3RangeControl
#endif // USE_QT4