summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneylistviewitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/kmymoneylistviewitem.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneylistviewitem.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmymoney2/widgets/kmymoneylistviewitem.cpp b/kmymoney2/widgets/kmymoneylistviewitem.cpp
index d85fe77..2ed4377 100644
--- a/kmymoney2/widgets/kmymoneylistviewitem.cpp
+++ b/kmymoney2/widgets/kmymoneylistviewitem.cpp
@@ -35,8 +35,8 @@
#include "kmymoneychecklistitem.h"
#include "../kmymoneyglobalsettings.h"
-KMyMoneyListViewItem::KMyMoneyListViewItem(TQListView* tqparent, const TQString& txt, const TQString& key, const TQString& id) :
- KListViewItem(tqparent, txt),
+KMyMoneyListViewItem::KMyMoneyListViewItem(TQListView* parent, const TQString& txt, const TQString& key, const TQString& id) :
+ KListViewItem(parent, txt),
m_key(key),
m_id(id),
m_isOdd(0),
@@ -46,8 +46,8 @@ KMyMoneyListViewItem::KMyMoneyListViewItem(TQListView* tqparent, const TQString&
m_key = txt;
}
-KMyMoneyListViewItem::KMyMoneyListViewItem(TQListViewItem* tqparent, const TQString& txt, const TQString& key, const TQString& id) :
- KListViewItem(tqparent, txt),
+KMyMoneyListViewItem::KMyMoneyListViewItem(TQListViewItem* parent, const TQString& txt, const TQString& key, const TQString& id) :
+ KListViewItem(parent, txt),
m_key(key),
m_id(id),
m_isOdd(0),
@@ -102,15 +102,15 @@ bool KMyMoneyListViewItem::isAlternate(void)
KMyMoneyCheckListItem* clItem;
KMyMoneyListViewItem* liItem;
bool previous = true;
- if(TQListViewItem::tqparent()) {
- clItem = dynamic_cast<KMyMoneyCheckListItem *>(TQListViewItem::tqparent());
- liItem = dynamic_cast<KMyMoneyListViewItem*>(TQListViewItem::tqparent());
+ if(TQListViewItem::parent()) {
+ clItem = dynamic_cast<KMyMoneyCheckListItem *>(TQListViewItem::parent());
+ liItem = dynamic_cast<KMyMoneyListViewItem*>(TQListViewItem::parent());
if(clItem)
previous = clItem->m_isOdd;
else
previous = liItem->m_isOdd;
- clItem = dynamic_cast<KMyMoneyCheckListItem *>(TQListViewItem::tqparent()->firstChild());
- liItem = dynamic_cast<KMyMoneyListViewItem*>(TQListViewItem::tqparent()->firstChild());
+ clItem = dynamic_cast<KMyMoneyCheckListItem *>(TQListViewItem::parent()->firstChild());
+ liItem = dynamic_cast<KMyMoneyListViewItem*>(TQListViewItem::parent()->firstChild());
} else {
clItem = dynamic_cast<KMyMoneyCheckListItem *>(listView()->firstChild());
liItem = dynamic_cast<KMyMoneyListViewItem*>(listView()->firstChild());