summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqpainter.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqpainter.h')
-rw-r--r--qtinterface/tqpainter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qtinterface/tqpainter.h b/qtinterface/tqpainter.h
index 56db57f..57dad86 100644
--- a/qtinterface/tqpainter.h
+++ b/qtinterface/tqpainter.h
@@ -38,7 +38,9 @@ Boston, MA 02110-1301, USA.
// Reimplement the QPainter class
// For Qt4, no changes are needed
-#include <qpainter.h>
+#include <Qt/q3painter.h>
+
+#define QPainter Q3Painter
#endif // USE_QT4