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