diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdecore/tests/krfcdatetest.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/tests/krfcdatetest.cpp')
-rw-r--r-- | kdecore/tests/krfcdatetest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdecore/tests/krfcdatetest.cpp b/kdecore/tests/krfcdatetest.cpp index 1c1957b54..368a1106f 100644 --- a/kdecore/tests/krfcdatetest.cpp +++ b/kdecore/tests/krfcdatetest.cpp @@ -4,10 +4,10 @@ #include <kdebug.h> #include <kglobal.h> #include <kcharsets.h> -#include <qtextcodec.h> +#include <tqtextcodec.h> #include <krfcdate.h> -bool check(QString txt, time_t a, time_t b) +bool check(TQString txt, time_t a, time_t b) { if (a == b) { kdDebug() << txt << " : checking '" << a << "' against expected value '" << b << "'... " << "ok" << endl; @@ -71,9 +71,9 @@ int main(int argc, char *argv[]) // empty/null strings - check("parseDateISO8601(QString())", KRFCDate::parseDateISO8601(QString()), b); + check("parseDateISO8601(TQString())", KRFCDate::parseDateISO8601(TQString()), b); check("parseDateISO8601(\"\")", KRFCDate::parseDateISO8601(""), b); - check("parseDate(QString())", KRFCDate::parseDate(QString()), b); + check("parseDate(TQString())", KRFCDate::parseDate(TQString()), b); check("parseDate(\"\")", KRFCDate::parseDate(""), b); printf("\nTest OK !\n"); |