summaryrefslogtreecommitdiffstats
path: root/korganizer/printing/calprintdefaultplugins.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/printing/calprintdefaultplugins.cpp')
-rw-r--r--korganizer/printing/calprintdefaultplugins.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/korganizer/printing/calprintdefaultplugins.cpp b/korganizer/printing/calprintdefaultplugins.cpp
index caa2e69e..e6701554 100644
--- a/korganizer/printing/calprintdefaultplugins.cpp
+++ b/korganizer/printing/calprintdefaultplugins.cpp
@@ -298,7 +298,7 @@ void CalPrintIncidence::print( TQPainter &p, int width, int height )
exceptString = i18n("except for listed dates", " except");
for ( uint i = 0; i < recurs->exDates().size(); i++ ) {
exceptString.append(" ");
- exceptString.append( KGlobal::locale()->formatDate(recurs->exDates()[i],
+ exceptString.append( TDEGlobal::locale()->formatDate(recurs->exDates()[i],
true) );
}
}
@@ -482,24 +482,24 @@ void CalPrintIncidence::print( TQPainter &p, int width, int height )
if ( (*rit)->dtStart().isValid() ) {
datesString += i18n(
"Start Date: %1\n").arg(
- KGlobal::locale()->formatDate( (*rit)->dtStart().date(),
+ TDEGlobal::locale()->formatDate( (*rit)->dtStart().date(),
true ) );
if ( !(*rit)->doesFloat() ) {
datesString += i18n(
"Start Time: %1\n").arg(
- KGlobal::locale()->formatTime((*rit)->dtStart().time(),
+ TDEGlobal::locale()->formatTime((*rit)->dtStart().time(),
false, false) );
}
}
if ( (*rit)->dtEnd().isValid() ) {
subitemString += i18n(
"Due Date: %1\n").arg(
- KGlobal::locale()->formatDate( (*rit)->dtEnd().date(),
+ TDEGlobal::locale()->formatDate( (*rit)->dtEnd().date(),
true ) );
if ( !(*rit)->doesFloat() ) {
subitemString += i18n(
"subitem due time", "Due Time: %1\n").arg(
- KGlobal::locale()->formatTime((*rit)->dtEnd().time(),
+ TDEGlobal::locale()->formatTime((*rit)->dtEnd().time(),
false, false) );
}
}
@@ -705,7 +705,7 @@ void CalPrintDay::print( TQPainter &p, int width, int height )
TQRect footerBox( 0, height - footerHeight(), width, footerHeight() );
height -= footerHeight();
- KLocale *local = KGlobal::locale();
+ KLocale *local = TDEGlobal::locale();
do {
TQTime curStartTime( mStartTime );
@@ -915,7 +915,7 @@ void CalPrintWeek::print( TQPainter &p, int width, int height )
toWeek = mToDate.addDays( 6 - weekdayCol );
curWeek = fromWeek.addDays( 6 );
- KLocale *local = KGlobal::locale();
+ KLocale *local = TDEGlobal::locale();
TQString line1, line2, title;
TQRect headerBox( 0, 0, width, headerHeight() );