diff options
Diffstat (limited to 'kplato/kptdoublelistviewbase.cc')
-rw-r--r-- | kplato/kptdoublelistviewbase.cc | 6 |
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() { |