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/kcalendartest.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/kcalendartest.cpp')
-rw-r--r-- | kdecore/tests/kcalendartest.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kdecore/tests/kcalendartest.cpp b/kdecore/tests/kcalendartest.cpp index 18b4fc297..51a40b892 100644 --- a/kdecore/tests/kcalendartest.cpp +++ b/kdecore/tests/kcalendartest.cpp @@ -5,7 +5,7 @@ #include "kcalendarsystemfactory.h" #include "kcalendarsystem.h" -#include <qstringlist.h> +#include <tqstringlist.h> #include <kapplication.h> #include <kaboutdata.h> @@ -16,7 +16,7 @@ class KLocale; -void test(QDate & date); +void test(TQDate & date); static const char description[] = "KCalendarTest"; @@ -29,8 +29,8 @@ static KCmdLineOptions options[] = int main(int argc, char **argv) { - QDate date; - QString calType, option; + TQDate date; + TQString calType, option; KAboutData aboutData( "kcalendartest", "KCalendarTest" , "0.1", description, KAboutData::License_GPL, @@ -46,9 +46,9 @@ int main(int argc, char **argv) { KApplication app(false, false); - QStringList lst = KCalendarSystemFactory::calendarSystems(); + TQStringList lst = KCalendarSystemFactory::calendarSystems(); kdDebug() << "Supported calendar types: " << endl; - for (QStringList::Iterator it = lst.begin(); it != lst.end(); ++it) + for (TQStringList::Iterator it = lst.begin(); it != lst.end(); ++it) kdDebug() << *it << endl; kdDebug() << endl; @@ -67,7 +67,7 @@ int main(int argc, char **argv) { option = args->getOption("date"); date = KGlobal::locale()->readDate(option); } else - date = QDate::currentDate(); + date = TQDate::currentDate(); args->clear(); // Free up some memory. @@ -79,7 +79,7 @@ int main(int argc, char **argv) { } -void test(QDate & date) { +void test(TQDate & date) { kdDebug() << "(KLocale) readDate" << endl; |