summaryrefslogtreecommitdiffstats
path: root/kplato/kptdoublelistviewbase.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptdoublelistviewbase.cc')
-rw-r--r--kplato/kptdoublelistviewbase.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/kplato/kptdoublelistviewbase.cc b/kplato/kptdoublelistviewbase.cc
index 2780d166..f855509c 100644
--- a/kplato/kptdoublelistviewbase.cc
+++ b/kplato/kptdoublelistviewbase.cc
@@ -23,10 +23,10 @@
#include "kptview.h"
#include <tqheader.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqmap.h>
#include <tqpainter.h>
-#include <tqpalette.h>
+#include <palette.h>
#include <tqptrvector.h>
#include <tqsplitter.h>
#include <tqstring.h>
@@ -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));
}
@@ -388,9 +388,9 @@ DoubleListViewBase::DoubleListViewBase(TQWidget *parent, bool description)
}
-TQSize DoubleListViewBase::tqsizeHint() const {
- //kdDebug()<<k_funcinfo<<tqminimumSizeHint()<<endl;
- return tqminimumSizeHint(); //HACK: koshell splitter problem
+TQSize DoubleListViewBase::sizeHint() const {
+ //kdDebug()<<k_funcinfo<<minimumSizeHint()<<endl;
+ return minimumSizeHint(); //HACK: koshell splitter problem
}
void DoubleListViewBase::clearSlaveList() {