summaryrefslogtreecommitdiffstats
path: root/kplato/kptdoublelistviewbase.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/kptdoublelistviewbase.cc
parentfe33d391dd7c9da0f83e779344a17e2e445b70a8 (diff)
downloadkoffice-5b8ab149469c8e186ee8b05d90c0103ae722dd85.tar.gz
koffice-5b8ab149469c8e186ee8b05d90c0103ae722dd85.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kplato/kptdoublelistviewbase.cc')
-rw-r--r--kplato/kptdoublelistviewbase.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/kplato/kptdoublelistviewbase.cc b/kplato/kptdoublelistviewbase.cc
index 4a04c1b0..5f641792 100644
--- a/kplato/kptdoublelistviewbase.cc
+++ b/kplato/kptdoublelistviewbase.cc
@@ -129,7 +129,7 @@ void DoubleListViewBase::SlaveListItem::clearColumn(int col) {
void DoubleListViewBase::SlaveListItem::setColumn(int col, double value) {
if (col < listView()->columns()) {
//setText(col, TQString("%1").arg(value, m_fieldwidth, m_fmt, m_prec));
- setText(col, KGlobal::locale()->formatNumber(value, m_prec));
+ setText(col, TDEGlobal::locale()->formatNumber(value, m_prec));
m_valueMap.replace(col, value);
//kdDebug()<<k_funcinfo<<m_masterItem->text(0)<<": column["<<col<<"]="<<value<<endl;
}
@@ -241,14 +241,14 @@ void DoubleListViewBase::MasterListItem::slaveItemDeleted() {
void DoubleListViewBase::MasterListItem::setTotal(double tot) {
m_value = tot;
//setText(1, TQString("%1").arg(tot, m_fieldwidth, m_fmt, m_prec));
- setText(1, KGlobal::locale()->formatNumber(tot, m_prec));
+ setText(1, TDEGlobal::locale()->formatNumber(tot, m_prec));
//kdDebug()<<k_funcinfo<<text(0)<<"="<<tot<<endl;
}
void DoubleListViewBase::MasterListItem::addToTotal(double v) {
m_value += v;
//setText(1, TQString("%1").arg(m_value, m_fieldwidth, m_fmt, m_prec));
- setText(1, KGlobal::locale()->formatNumber(m_value, m_prec));
+ setText(1, TDEGlobal::locale()->formatNumber(m_value, m_prec));
}
double DoubleListViewBase::MasterListItem::calcTotal() {