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