summaryrefslogtreecommitdiffstats
path: root/kplato/kptresourcedialog.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-24 13:23:24 -0600
committerTimothy Pearson <[email protected]>2013-01-24 13:23:24 -0600
commit5b8ab149469c8e186ee8b05d90c0103ae722dd85 (patch)
treefb31321c80b12ee8e2237bdcf8c228fe44e67772 /kplato/kptresourcedialog.cc
parentfe33d391dd7c9da0f83e779344a17e2e445b70a8 (diff)
downloadkoffice-5b8ab149469c8e186ee8b05d90c0103ae722dd85.tar.gz
koffice-5b8ab149469c8e186ee8b05d90c0103ae722dd85.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kplato/kptresourcedialog.cc')
-rw-r--r--kplato/kptresourcedialog.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kplato/kptresourcedialog.cc b/kplato/kptresourcedialog.cc
index 4746f1fc..85af224c 100644
--- a/kplato/kptresourcedialog.cc
+++ b/kplato/kptresourcedialog.cc
@@ -135,8 +135,8 @@ ResourceDialog::ResourceDialog(Project &project, Resource *resource, TQWidget *p
dia->units->setValue(resource->units());
dia->availableFrom->setDateTime(resource->availableFrom());
dia->availableUntil->setDateTime(resource->availableUntil());
- dia->rateEdit->setText(KGlobal::locale()->formatMoney(resource->normalRate()));
- dia->overtimeEdit->setText(KGlobal::locale()->formatMoney(resource->overtimeRate()));
+ dia->rateEdit->setText(TDEGlobal::locale()->formatMoney(resource->normalRate()));
+ dia->overtimeEdit->setText(TDEGlobal::locale()->formatMoney(resource->overtimeRate()));
int cal = 0;
dia->calendarList->insertItem(i18n("None"));
@@ -173,8 +173,8 @@ void ResourceDialog::slotOk() {
m_resource.setType((Resource::Type)(dia->type->currentItem()));
m_resource.setUnits(dia->units->value());
- m_resource.setNormalRate(KGlobal::locale()->readMoney(dia->rateEdit->text()));
- m_resource.setOvertimeRate(KGlobal::locale()->readMoney(dia->overtimeEdit->text()));
+ m_resource.setNormalRate(TDEGlobal::locale()->readMoney(dia->rateEdit->text()));
+ m_resource.setOvertimeRate(TDEGlobal::locale()->readMoney(dia->overtimeEdit->text()));
m_resource.setCalendar(m_calendars[dia->calendarList->currentItem()]);
m_resource.setAvailableFrom(dia->availableFrom->dateTime());
m_resource.setAvailableUntil(dia->availableUntil->dateTime());