summaryrefslogtreecommitdiffstats
path: root/korganizer/koagendaitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koagendaitem.cpp')
-rw-r--r--korganizer/koagendaitem.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp
index f11ea8c01..216f1dfd8 100644
--- a/korganizer/koagendaitem.cpp
+++ b/korganizer/koagendaitem.cpp
@@ -836,17 +836,17 @@ void KOAgendaItem::paintEvent( TQPaintEvent *ev )
TQString shortH;
TQString longH;
if ( !isMultiItem() ) {
- shortH = KGlobal::locale()->formatTime(mIncidence->dtStart().time());
+ shortH = TDEGlobal::locale()->formatTime(mIncidence->dtStart().time());
if (mIncidence->type() != "Todo")
longH = i18n("%1 - %2").arg(shortH)
- .arg(KGlobal::locale()->formatTime(mIncidence->dtEnd().time()));
+ .arg(TDEGlobal::locale()->formatTime(mIncidence->dtEnd().time()));
else
longH = shortH;
} else if ( !mMultiItemInfo->mFirstMultiItem ) {
- shortH = KGlobal::locale()->formatTime(mIncidence->dtStart().time());
+ shortH = TDEGlobal::locale()->formatTime(mIncidence->dtStart().time());
longH = shortH;
} else {
- shortH = KGlobal::locale()->formatTime(mIncidence->dtEnd().time());
+ shortH = TDEGlobal::locale()->formatTime(mIncidence->dtEnd().time());
longH = i18n("- %1").arg(shortH);
}
@@ -937,8 +937,8 @@ void KOAgendaItem::paintEvent( TQPaintEvent *ev )
(mIncidence->dtStart() != mIncidence->dtEnd()) ) { // multi days
shortH = longH =
i18n("%1 - %2")
- .arg(KGlobal::locale()->formatDate(mIncidence->dtStart().date()))
- .arg(KGlobal::locale()->formatDate(mIncidence->dtEnd().date()));
+ .arg(TDEGlobal::locale()->formatDate(mIncidence->dtStart().date()))
+ .arg(TDEGlobal::locale()->formatDate(mIncidence->dtEnd().date()));
// paint headline
p.fillRect( 0, 0, width(), (ft/2) + margin + hlHeight,