summaryrefslogtreecommitdiffstats
path: root/tdecore/tests/kcalendartest.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:17:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:17:52 -0600
commit59d153016be1e09cb31cdb18bef0a649acfc6292 (patch)
treefafdc23d953adf8367366eeb74ea9b67b23c11ae /tdecore/tests/kcalendartest.cpp
parent8bc199f487aad2badc9a54c2105f13fff3da7295 (diff)
downloadtdelibs-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.cpp8
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;