summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqpaintdevicemetrics.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqpaintdevicemetrics.h')
-rw-r--r--qtinterface/tqpaintdevicemetrics.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qtinterface/tqpaintdevicemetrics.h b/qtinterface/tqpaintdevicemetrics.h
index 6a92a85..ac51f42 100644
--- a/qtinterface/tqpaintdevicemetrics.h
+++ b/qtinterface/tqpaintdevicemetrics.h
@@ -38,7 +38,9 @@ Boston, MA 02110-1301, USA.
// Reimplement the QPaintDeviceMetrics class
// For Qt4, no changes are needed
-#include <qpaintdevicemetrics.h>
+#include <Qt/q3paintdevicemetrics.h>
+
+#define QPaintDeviceMetrics Q3PaintDeviceMetrics
#endif // USE_QT4