summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqeditorfactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqeditorfactory.h')
-rw-r--r--qtinterface/tqeditorfactory.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/qtinterface/tqeditorfactory.h b/qtinterface/tqeditorfactory.h
index d5bdec4..fc638e3 100644
--- a/qtinterface/tqeditorfactory.h
+++ b/qtinterface/tqeditorfactory.h
@@ -26,7 +26,7 @@ Boston, MA 02110-1301, USA.
#ifdef USE_QT3
-// Reimplement the QAccel class
+// Reimplement the QEditorFactory class
// For Qt3, no changes are needed
#include <qeditorfactory.h>
@@ -35,10 +35,12 @@ Boston, MA 02110-1301, USA.
#ifdef USE_QT4
-// Reimplement the QAccel class
-// For Qt4, no changes are needed
+// Reimplement the QEditorFactory class
+// For Qt4, some changes are needed
-#include <qeditorfactory.h>
+#include <Qt/q3editorfactory.h>
+
+#define QEditorFactory Q3EditorFactory
#endif // USE_QT4