summaryrefslogtreecommitdiffstats
path: root/kplato/kpttaskcostpanel.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/kpttaskcostpanel.cc
parentfe33d391dd7c9da0f83e779344a17e2e445b70a8 (diff)
downloadkoffice-5b8ab149469c8e186ee8b05d90c0103ae722dd85.tar.gz
koffice-5b8ab149469c8e186ee8b05d90c0103ae722dd85.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kplato/kpttaskcostpanel.cc')
-rw-r--r--kplato/kpttaskcostpanel.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kplato/kpttaskcostpanel.cc b/kplato/kpttaskcostpanel.cc
index 8e1ce0d0..a2447f6b 100644
--- a/kplato/kpttaskcostpanel.cc
+++ b/kplato/kpttaskcostpanel.cc
@@ -51,14 +51,14 @@ void TaskCostPanel::setStartValues(Task &task) {
setCurrentItem(runningAccount, m_oldrunning->name());
}
- startupCost->setText(KGlobal::locale()->formatMoney(task.startupCost()));
+ startupCost->setText(TDEGlobal::locale()->formatMoney(task.startupCost()));
startupAccount->insertStringList(m_accountList);
m_oldstartup = m_accounts.findStartupAccount(task);
if (m_oldstartup) {
setCurrentItem(startupAccount, m_oldstartup->name());
}
- shutdownCost->setText(KGlobal::locale()->formatMoney(task.shutdownCost()));
+ shutdownCost->setText(TDEGlobal::locale()->formatMoney(task.shutdownCost()));
shutdownAccount->insertStringList(m_accountList);
m_oldshutdown = m_accounts.findShutdownAccount(task);
if (m_oldshutdown) {
@@ -95,12 +95,12 @@ KCommand *TaskCostPanel::buildCommand(Part *part) {
cmd->addCommand(new NodeModifyShutdownAccountCmd(part, m_task, m_oldshutdown, m_accounts.findAccount(shutdownAccount->currentText())));
modified = true;
}
- double money = KGlobal::locale()->readMoney(startupCost->text());
+ double money = TDEGlobal::locale()->readMoney(startupCost->text());
if (money != m_task.startupCost()) {
cmd->addCommand(new NodeModifyStartupCostCmd(part, m_task, money));
modified = true;
}
- money = KGlobal::locale()->readMoney(shutdownCost->text());
+ money = TDEGlobal::locale()->readMoney(shutdownCost->text());
if (money != m_task.shutdownCost()) {
cmd->addCommand(new NodeModifyShutdownCostCmd(part, m_task, money));
modified = true;