summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneycalendar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/kmymoneycalendar.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneycalendar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/widgets/kmymoneycalendar.cpp b/kmymoney2/widgets/kmymoneycalendar.cpp
index 28ee506..35d4599 100644
--- a/kmymoney2/widgets/kmymoneycalendar.cpp
+++ b/kmymoney2/widgets/kmymoneycalendar.cpp
@@ -118,7 +118,7 @@ void kMyMoneyCalendar::init( const TQDate &dt )
d->selectWeek = new TQToolButton( this );
-// KIconLoader *kiconloader = KGlobal::iconLoader();
+// KIconLoader *kiconloader = TDEGlobal::iconLoader();
KPopupMenu* kpopupmenuNew = new KPopupMenu(this);
kpopupmenuNew->insertItem(i18n("Week"), this, TQT_SLOT(slotSetStyleWeekly()));
kpopupmenuNew->insertItem(i18n("Month"), this, TQT_SLOT(slotSetStyleMonthly()));
@@ -260,7 +260,7 @@ void
kMyMoneyCalendar::dateChangedSlot(TQDate date)
{
kdDebug() << "kMyMoneyCalendar::dateChangedSlot: date changed (" << date.year() << "/" << date.month() << "/" << date.day() << ")." << endl;
- line->setText(KGlobal::locale()->formatDate(date, true));
+ line->setText(TDEGlobal::locale()->formatDate(date, true));
d->selectWeek->setText(i18n("Week %1").arg(weekOfYear(date)));
selectMonth->setText(MONTH_NAME(date.month(), date.year(), false));
selectYear->setText(date.toString("yyyy"));
@@ -301,7 +301,7 @@ kMyMoneyCalendar::setDate(const TQDate& date)
selectMonth->setText(MONTH_NAME(date.month(), date.year(), false));
temp.setNum(date.year());
selectYear->setText(temp);
- line->setText(KGlobal::locale()->formatDate(date, true));
+ line->setText(TDEGlobal::locale()->formatDate(date, true));
return true;
} else {
kdDebug() << "kMyMoneyCalendar::setDate: refusing to set invalid date." << endl;