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