summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqptrlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqptrlist.h')
-rw-r--r--qtinterface/tqptrlist.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/qtinterface/tqptrlist.h b/qtinterface/tqptrlist.h
index 8c7a96c..9b05dfd 100644
--- a/qtinterface/tqptrlist.h
+++ b/qtinterface/tqptrlist.h
@@ -36,9 +36,13 @@ Boston, MA 02110-1301, USA.
#ifdef USE_QT4
// Reimplement the QPtrList class
-// For Qt4, no changes are needed
+// For Qt4, some changes are needed
-#include <qptrlist.h>
+#include <Qt/q3ptrlist.h>
+
+#define QPtrList Q3PtrList
+#define QPtrListIterator Q3PtrListIterator
+#define QPtrListStdIterator Q3PtrListStdIterator
#endif // USE_QT4