diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kpf/src/Utils.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpf/src/Utils.h')
-rw-r--r-- | kpf/src/Utils.h | 44 |
1 files changed, 22 insertions, 22 deletions
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 <qstringlist.h> -#include <qstring.h> -#include <qdatetime.h> -#include <qfileinfo.h> +#include <tqstringlist.h> +#include <tqstring.h> +#include <tqdatetime.h> +#include <tqfileinfo.h> /** * 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 |