-rw-r--r-- | library/timestring.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/timestring.h b/library/timestring.h index f8cb3e6..0335715 100644 --- a/library/timestring.h +++ b/library/timestring.h @@ -20,12 +20,16 @@ #ifndef _TIMESTRING_H_ #define _TIMESTRING_H_ #include <qdatetime.h> #include <qstring.h> +#if (QT_VERSION-0 >= 0x030000) +#define DateFormat QPEDateFormat +#endif + // return a string with the time based on whether or not you want // you want it in 12 hour form. if ampm is true, then return // it in 12 hour (am/pm) form otherwise return it in 24 hour form // in theory Qt 3,0 handles this better (hopefully obsoleteing this) class DateFormat { |