summaryrefslogtreecommitdiffstats
path: root/kplato/kptdoublelistviewbase.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:38:41 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /kplato/kptdoublelistviewbase.cc
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
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 23c0c80b..4a04c1b0 100644
--- a/kplato/kptdoublelistviewbase.cc
+++ b/kplato/kptdoublelistviewbase.cc
@@ -128,7 +128,7 @@ void DoubleListViewBase::SlaveListItem::clearColumn(int col) {
}
void DoubleListViewBase::SlaveListItem::setColumn(int col, double value) {
if (col < listView()->columns()) {
- //setText(col, TQString("%1").tqarg(value, m_fieldwidth, m_fmt, m_prec));
+ //setText(col, TQString("%1").arg(value, m_fieldwidth, m_fmt, m_prec));
setText(col, KGlobal::locale()->formatNumber(value, m_prec));
m_valueMap.replace(col, value);
//kdDebug()<<k_funcinfo<<m_masterItem->text(0)<<": column["<<col<<"]="<<value<<endl;
@@ -240,14 +240,14 @@ void DoubleListViewBase::MasterListItem::slaveItemDeleted() {
void DoubleListViewBase::MasterListItem::setTotal(double tot) {
m_value = tot;
- //setText(1, TQString("%1").tqarg(tot, m_fieldwidth, m_fmt, m_prec));
+ //setText(1, TQString("%1").arg(tot, m_fieldwidth, m_fmt, m_prec));
setText(1, KGlobal::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").tqarg(m_value, m_fieldwidth, m_fmt, m_prec));
+ //setText(1, TQString("%1").arg(m_value, m_fieldwidth, m_fmt, m_prec));
setText(1, KGlobal::locale()->formatNumber(m_value, m_prec));
}