diff options
Diffstat (limited to 'lib/options.h')
-rw-r--r-- | lib/options.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/options.h b/lib/options.h index edf3a6f..e1c6742 100644 --- a/lib/options.h +++ b/lib/options.h @@ -40,10 +40,6 @@ #include <tqnamespace.h> #include <tqstring.h> -#if (QT_VERSION < 0x030300) -#error "This is KPilot for KDE3.5 and won't compile with Qt < 3.3.0" -#endif - #include <kdebug.h> #include <kdeversion.h> #include <klocale.h> @@ -144,12 +140,12 @@ inline std::ostream& operator <<(std::ostream &o, const KPilotDepthCount &d) // Function to expand newlines in rich text to <br>\n -TQString rtExpand(const TQString &s, Qt::TextFormat richText); +TQString rtExpand(const TQString &s, TQt::TextFormat richText); /** - * Convert a struct tm from the pilot-link package to a QDateTime + * Convert a struct tm from the pilot-link package to a TQDateTime */ KDE_EXPORT TQDateTime readTm(const struct tm &t); /** @@ -183,7 +179,7 @@ KDE_EXPORT struct tm writeTm(const TQDate &dt); #define TODO_I18N(a) TQString::tqfromLatin1(a) #define TODO_I18N_P(a,b,c) ((c>1) ? a : b) -// Handle some cases for QT_NO_CAST_ASCII and NO_ASCII_CAST. +// Handle some cases for TQT_NO_CAST_ASCII and NO_ASCII_CAST. // Where possible in the source, known constant strings in // latin1 encoding are marked with CSL1(), to avoid gobs // of latin1() or fromlatin1() calls which might obscure |