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