summaryrefslogtreecommitdiffstats
path: root/kplato/kptresourcedialog.cc
diff options
context:
space:
mode:
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());