diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 08:17:52 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 08:17:52 -0600 |
commit | 59d153016be1e09cb31cdb18bef0a649acfc6292 (patch) | |
tree | fafdc23d953adf8367366eeb74ea9b67b23c11ae /tdecore/tests/kcalendartest.cpp | |
parent | 8bc199f487aad2badc9a54c2105f13fff3da7295 (diff) | |
download | tdelibs-59d153016be1e09cb31cdb18bef0a649acfc6292.tar.gz tdelibs-59d153016be1e09cb31cdb18bef0a649acfc6292.zip |
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'tdecore/tests/kcalendartest.cpp')
-rw-r--r-- | tdecore/tests/kcalendartest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tdecore/tests/kcalendartest.cpp b/tdecore/tests/kcalendartest.cpp index fef409d71..53ba63615 100644 --- a/tdecore/tests/kcalendartest.cpp +++ b/tdecore/tests/kcalendartest.cpp @@ -14,7 +14,7 @@ #include <klocale.h> #include <kcmdlineargs.h> -class KLocale; +class TDELocale; void test(TQDate & date); @@ -81,7 +81,7 @@ int main(int argc, char **argv) { void test(TQDate & date) { - kdDebug() << "(KLocale) readDate" << endl; + kdDebug() << "(TDELocale) readDate" << endl; kdDebug() << "Created calendar: " << TDEGlobal::locale()->calendar()->calendarName() << endl; @@ -117,8 +117,8 @@ void test(TQDate & date) { kdDebug() << "It's week number " << TDEGlobal::locale()->calendar()->weekNumber(date) << endl; - kdDebug() << "(KLocale) Formatted date: " << TDEGlobal::locale()->formatDate(date) << endl; - kdDebug() << "(KLocale) Short formatted date: " << TDEGlobal::locale()->formatDate(date, true) << endl; + kdDebug() << "(TDELocale) Formatted date: " << TDEGlobal::locale()->formatDate(date) << endl; + kdDebug() << "(TDELocale) Short formatted date: " << TDEGlobal::locale()->formatDate(date, true) << endl; kdDebug() << "That month have : " << TDEGlobal::locale()->calendar()->daysInMonth(date) << " days" << endl; |