summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqcanvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqcanvas.h')
-rw-r--r--qtinterface/tqcanvas.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/qtinterface/tqcanvas.h b/qtinterface/tqcanvas.h
index 8c5b744..2d2ff11 100644
--- a/qtinterface/tqcanvas.h
+++ b/qtinterface/tqcanvas.h
@@ -38,7 +38,22 @@ Boston, MA 02110-1301, USA.
// Reimplement the QCanvas class
// For Qt4, no changes are needed
-#include <qcanvas.h>
+#include <Qt/q3canvas.h>
+
+#define QCanvas Q3Canvas
+#define QCanvasEllipse Q3CanvasEllipse
+#define QCanvasItem Q3CanvasItem
+#define QCanvasItemList Q3CanvasItemList
+#define QCanvasLine Q3CanvasLine
+#define QCanvasPixmap Q3CanvasPixmap
+#define QCanvasPixmapArray Q3CanvasPixmapArray
+#define QCanvasPolygon Q3CanvasPolygon
+#define QCanvasPolygonalItem Q3CanvasPolygonalItem
+#define QCanvasRectangle Q3CanvasRectangle
+#define QCanvasSpline Q3CanvasSpline
+#define QCanvasSprite Q3CanvasSprite
+#define QCanvasText Q3CanvasText
+#define QCanvasView Q3CanvasView
#endif // USE_QT4