summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqgrid.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqgrid.h')
-rw-r--r--qtinterface/tqgrid.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/qtinterface/tqgrid.h b/qtinterface/tqgrid.h
index 1130bf4..cbc2010 100644
--- a/qtinterface/tqgrid.h
+++ b/qtinterface/tqgrid.h
@@ -27,7 +27,7 @@ Boston, MA 02110-1301, USA.
#ifdef USE_QT3
// Reimplement the QGrid class
-// For Qt3, no changes are needed
+// For Qt3, some changes are needed
#include <qgrid.h>
@@ -38,7 +38,9 @@ Boston, MA 02110-1301, USA.
// Reimplement the QGrid class
// For Qt4, no changes are needed
-#include <qgrid.h>
+#include <Qt/q3grid.h>
+
+#define QGrid Q3Grid
#endif // USE_QT4