summaryrefslogtreecommitdiffstats
path: root/kplato/kptresource.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptresource.cc')
-rw-r--r--kplato/kptresource.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kplato/kptresource.cc b/kplato/kptresource.cc
index 2c218fe9..00fe8aaa 100644
--- a/kplato/kptresource.cc
+++ b/kplato/kptresource.cc
@@ -360,8 +360,8 @@ bool Resource::load(TQDomElement &element) {
if (s != "")
m_availableUntil = DateTime::fromString(s);
- cost.normalRate = KGlobal::locale()->readMoney(element.attribute("normal-rate"));
- cost.overtimeRate = KGlobal::locale()->readMoney(element.attribute("overtime-rate"));
+ cost.normalRate = TDEGlobal::locale()->readMoney(element.attribute("normal-rate"));
+ cost.overtimeRate = TDEGlobal::locale()->readMoney(element.attribute("overtime-rate"));
return true;
}
@@ -380,8 +380,8 @@ void Resource::save(TQDomElement &element) const {
me.setAttribute("units", m_units);
me.setAttribute("available-from", m_availableFrom.toString(Qt::ISODate));
me.setAttribute("available-until", m_availableUntil.toString(Qt::ISODate));
- me.setAttribute("normal-rate", KGlobal::locale()->formatMoney(cost.normalRate));
- me.setAttribute("overtime-rate", KGlobal::locale()->formatMoney(cost.overtimeRate));
+ me.setAttribute("normal-rate", TDEGlobal::locale()->formatMoney(cost.normalRate));
+ me.setAttribute("overtime-rate", TDEGlobal::locale()->formatMoney(cost.overtimeRate));
}
bool Resource::isAvailable(Task */*task*/) {