From 59d153016be1e09cb31cdb18bef0a649acfc6292 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 08:17:52 -0600 Subject: Rename KLocale to enhance compatibility with KDE4 --- tdecore/tests/kcalendartest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tdecore/tests/kcalendartest.cpp') 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 #include -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; -- cgit v1.2.1