diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:02:43 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:02:43 -0600 |
commit | aea627236e4de24599c3e30617cf264c3c1b7d40 (patch) | |
tree | 467e13ca5a7eb0ab292259289ecc3572f53c5eae /kplato/kptdoublelistviewbase.cc | |
parent | 786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff) | |
download | koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kplato/kptdoublelistviewbase.cc')
-rw-r--r-- | kplato/kptdoublelistviewbase.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kplato/kptdoublelistviewbase.cc b/kplato/kptdoublelistviewbase.cc index 5f641792..8a354d61 100644 --- a/kplato/kptdoublelistviewbase.cc +++ b/kplato/kptdoublelistviewbase.cc @@ -89,7 +89,7 @@ void ListView::paintToPrinter(TQPainter * p, int cx, int cy, int cw, int ch) { } DoubleListViewBase::SlaveListItem::SlaveListItem(DoubleListViewBase::MasterListItem *master, TQListView *parent, TQListViewItem *after, bool highlight) - : KListViewItem(parent, after), + : TDEListViewItem(parent, after), m_masterItem(master), m_value(0.0), m_highlight(highlight), @@ -101,7 +101,7 @@ DoubleListViewBase::SlaveListItem::SlaveListItem(DoubleListViewBase::MasterListI //kdDebug()<<"DoubleListViewBase::SlaveListItem "<<master->text(0)<<" parent="<<static_cast<DoubleListViewBase::SlaveListItem*>(parent)->m_masterItem->text(0)<<endl; } DoubleListViewBase::SlaveListItem::SlaveListItem(DoubleListViewBase::MasterListItem *master, TQListViewItem *parent, TQListViewItem *after, bool highlight) - : KListViewItem(parent, after), + : TDEListViewItem(parent, after), m_masterItem(master), m_value(0.0), m_highlight(highlight), @@ -151,7 +151,7 @@ void DoubleListViewBase::SlaveListItem::paintCell(TQPainter *p, const TQColorGro } } } - KListViewItem::paintCell(p, g, column, width, align); + TDEListViewItem::paintCell(p, g, column, width, align); } void DoubleListViewBase::SlaveListItem::setFormat(int fieldwidth, char fmt, int prec) { @@ -162,7 +162,7 @@ void DoubleListViewBase::SlaveListItem::setFormat(int fieldwidth, char fmt, int //---------------------------- DoubleListViewBase::MasterListItem::MasterListItem(TQListView *parent, bool highlight) - : KListViewItem(parent), + : TDEListViewItem(parent), m_slaveItem(0), m_value(0.0), m_limit(0.0), @@ -173,7 +173,7 @@ DoubleListViewBase::MasterListItem::MasterListItem(TQListView *parent, bool high } DoubleListViewBase::MasterListItem::MasterListItem(TQListView *parent, TQString text, bool highlight) - : KListViewItem(parent, text), + : TDEListViewItem(parent, text), m_slaveItem(0), m_value(0.0), m_limit(0.0), @@ -184,7 +184,7 @@ DoubleListViewBase::MasterListItem::MasterListItem(TQListView *parent, TQString } DoubleListViewBase::MasterListItem::MasterListItem(TQListViewItem *parent, bool highlight) - : KListViewItem(parent), + : TDEListViewItem(parent), m_slaveItem(0), m_value(0.0), m_limit(0.0), @@ -195,7 +195,7 @@ DoubleListViewBase::MasterListItem::MasterListItem(TQListViewItem *parent, bool } DoubleListViewBase::MasterListItem::MasterListItem(TQListViewItem *parent, TQString text, bool highlight) - : KListViewItem(parent, text), + : TDEListViewItem(parent, text), m_slaveItem(0), m_value(0.0), m_limit(0.0), @@ -332,7 +332,7 @@ void DoubleListViewBase::MasterListItem::paintCell(TQPainter *p, const TQColorGr g.setColor(TQColorGroup::Text, TQColor(green)); } } - KListViewItem::paintCell(p, g, column, width, align); + TDEListViewItem::paintCell(p, g, column, width, align); } void DoubleListViewBase::MasterListItem::setFormat(int fieldwidth, char fmt, int prec) { |