From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:48:06 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpf/src/Utils.h | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'kpf/src/Utils.h') diff --git a/kpf/src/Utils.h b/kpf/src/Utils.h index 6a81dfa8..12e55507 100644 --- a/kpf/src/Utils.h +++ b/kpf/src/Utils.h @@ -24,10 +24,10 @@ #ifndef KPF_UTILS_H #define KPF_UTILS_H -#include -#include -#include -#include +#include +#include +#include +#include /** * Used to keep all parts of the kpf application out of the global namespace. @@ -49,63 +49,63 @@ namespace KPF /** * @return the current date and time as an HTTP/1.1 compliant date string. */ - QString dateString(); + TQString dateString(); /** - * @return the passed QDateTime as an HTTP/1.1 compliant date string. + * @return the passed TQDateTime as an HTTP/1.1 compliant date string. */ - QString dateString(const QDateTime & dt); + TQString dateString(const TQDateTime & dt); /** - * Parse an HTTP/1.1 date to a QDateTime. - * @param ret the QDateTime representation (result of parsing) + * Parse an HTTP/1.1 date to a TQDateTime. + * @param ret the TQDateTime representation (result of parsing) * @return true if the date is an an acceptable format. */ - bool parseDate(const QString &, QDateTime & ret); + bool parseDate(const TQString &, TQDateTime & ret); /** - * Parse an RFC 1123 format date to a QDateTime. Usually called by + * Parse an RFC 1123 format date to a TQDateTime. Usually called by * @ref parseDate. */ - bool parseDateRFC1123(const QStringList &, QDateTime &); + bool parseDateRFC1123(const TQStringList &, TQDateTime &); /** - * Parse an RFC 850 format date to a QDateTime. Usually called by + * Parse an RFC 850 format date to a TQDateTime. Usually called by * @ref parseDate. */ - bool parseDateRFC850(const QStringList &, QDateTime &); + bool parseDateRFC850(const TQStringList &, TQDateTime &); /** - * Parse an asctime(3) format date to a QDateTime. Usually called by + * Parse an asctime(3) format date to a TQDateTime. Usually called by * @ref parseDate. */ - bool parseDateAscTime(const QStringList &, QDateTime &); + bool parseDateAscTime(const TQStringList &, TQDateTime &); /** * @return i18n(HTTP response message for code) */ - QString translatedResponseName(uint code); + TQString translatedResponseName(uint code); /** * @return HTTP response message for code */ - QString responseName(uint code); + TQString responseName(uint code); /** - * @return the passed QDateTime converted GMT, honouring daylight + * @return the passed TQDateTime converted GMT, honouring daylight * saving time if necessary. */ - QDateTime toGMT(const QDateTime &); + TQDateTime toGMT(const TQDateTime &); /** * Unquote hex quoted chars in string. */ - QString unquote(const QString &); + TQString unquote(const TQString &); /** * Quote naughty chars in %xx format. */ - QString quote(const QString &); + TQString quote(const TQString &); } // End namespace KPF -- cgit v1.2.1