diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:01:10 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:01:10 -0600 |
commit | a6000c6f2f1a03b34f15d1948f63f0c894f09451 (patch) | |
tree | 59a9994e4bb71bc5a74704773e677f2d2474c017 /kmymoney2/widgets/kmymoneylistviewitem.cpp | |
parent | db89d6f6d944825a20ce69bb11c23b19b2935164 (diff) | |
download | kmymoney-a6000c6f2f1a03b34f15d1948f63f0c894f09451.tar.gz kmymoney-a6000c6f2f1a03b34f15d1948f63f0c894f09451.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kmymoney2/widgets/kmymoneylistviewitem.cpp')
-rw-r--r-- | kmymoney2/widgets/kmymoneylistviewitem.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/widgets/kmymoneylistviewitem.cpp b/kmymoney2/widgets/kmymoneylistviewitem.cpp index 09ff2f9..9e71ba8 100644 --- a/kmymoney2/widgets/kmymoneylistviewitem.cpp +++ b/kmymoney2/widgets/kmymoneylistviewitem.cpp @@ -36,7 +36,7 @@ #include "../kmymoneyglobalsettings.h" KMyMoneyListViewItem::KMyMoneyListViewItem(TQListView* parent, const TQString& txt, const TQString& key, const TQString& id) : - KListViewItem(parent, txt), + TDEListViewItem(parent, txt), m_key(key), m_id(id), m_isOdd(0), @@ -47,7 +47,7 @@ KMyMoneyListViewItem::KMyMoneyListViewItem(TQListView* parent, const TQString& t } KMyMoneyListViewItem::KMyMoneyListViewItem(TQListViewItem* parent, const TQString& txt, const TQString& key, const TQString& id) : - KListViewItem(parent, txt), + TDEListViewItem(parent, txt), m_key(key), m_id(id), m_isOdd(0), @@ -76,7 +76,7 @@ void KMyMoneyListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int c TQColorGroup _cg = cg; _cg.setColor(TQColorGroup::Base, backgroundColor()); - // make sure to bypass KListViewItem::paintCell() as + // make sure to bypass TDEListViewItem::paintCell() as // we don't like it's logic - that's why we do this // here ;-) (ipwizard) TQListViewItem::paintCell(p, _cg, column, width, alignment); @@ -89,7 +89,7 @@ const TQColor KMyMoneyListViewItem::backgroundColor() bool KMyMoneyListViewItem::isAlternate(void) { -// logic taken from KListViewItem::isAlternate() +// logic taken from TDEListViewItem::isAlternate() KMyMoneyCheckListItem* ciAbove; KMyMoneyListViewItem* liAbove; ciAbove = dynamic_cast<KMyMoneyCheckListItem*> (itemAbove()); |