summaryrefslogtreecommitdiffstats
path: root/kplato/kptstandardworktimedialog.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:23:24 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:23:24 -0600
commit5b8ab149469c8e186ee8b05d90c0103ae722dd85 (patch)
treefb31321c80b12ee8e2237bdcf8c228fe44e67772 /kplato/kptstandardworktimedialog.cc
parentfe33d391dd7c9da0f83e779344a17e2e445b70a8 (diff)
downloadkoffice-5b8ab149469c8e186ee8b05d90c0103ae722dd85.tar.gz
koffice-5b8ab149469c8e186ee8b05d90c0103ae722dd85.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kplato/kptstandardworktimedialog.cc')
-rw-r--r--kplato/kptstandardworktimedialog.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/kplato/kptstandardworktimedialog.cc b/kplato/kptstandardworktimedialog.cc
index fb5a9c0ea..d7c2c759c 100644
--- a/kplato/kptstandardworktimedialog.cc
+++ b/kplato/kptstandardworktimedialog.cc
@@ -60,7 +60,7 @@ public:
if (day->state() == Map::NonWorking) {
setHours();
} else {
- setText(1, KGlobal::locale()->formatNumber(day->duration().toDouble(Duration::Unit_h)));
+ setText(1, TDEGlobal::locale()->formatNumber(day->duration().toDouble(Duration::Unit_h)));
}
}
~WeekdayListItem() {
@@ -72,7 +72,7 @@ public:
}
void setIntervals(TQPtrList<TQPair<TQTime, TQTime> > intervals) {
day->setIntervals(intervals);
- setText(1, KGlobal::locale()->formatNumber(day->duration().toDouble(Duration::Unit_h)));
+ setText(1, TDEGlobal::locale()->formatNumber(day->duration().toDouble(Duration::Unit_h)));
}
void setState(int st) {
day->setState(st+1);
@@ -166,7 +166,7 @@ StandardWorktimeDialogImpl::StandardWorktimeDialogImpl(StandardWorktime *std, TQ
weekdayList->setSorting(-1);
weekdayList->header()->setStretchEnabled(true);
- const KCalendarSystem * cs = KGlobal::locale()->calendar();
+ const KCalendarSystem * cs = TDEGlobal::locale()->calendar();
Calendar *cal = m_std->calendar();
if (cal) {
WeekdayListItem *item = 0;