summaryrefslogtreecommitdiffstats
path: root/korganizer/kotodoviewitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/kotodoviewitem.cpp')
-rw-r--r--korganizer/kotodoviewitem.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/korganizer/kotodoviewitem.cpp b/korganizer/kotodoviewitem.cpp
index 02369d91a..3fe929b64 100644
--- a/korganizer/kotodoviewitem.cpp
+++ b/korganizer/kotodoviewitem.cpp
@@ -38,14 +38,14 @@
#include <tqpainter.h>
-KOTodoViewItem::KOTodoViewItem( TQListView *tqparent, Todo *todo, KOTodoView *kotodo)
- : TQCheckListItem( tqparent , "", CheckBox ), mTodo( todo ), mTodoView( kotodo )
+KOTodoViewItem::KOTodoViewItem( TQListView *parent, Todo *todo, KOTodoView *kotodo)
+ : TQCheckListItem( parent , "", CheckBox ), mTodo( todo ), mTodoView( kotodo )
{
construct();
}
-KOTodoViewItem::KOTodoViewItem( KOTodoViewItem *tqparent, Todo *todo, KOTodoView *kotodo )
- : TQCheckListItem( tqparent, "", CheckBox ), mTodo( todo ), mTodoView( kotodo )
+KOTodoViewItem::KOTodoViewItem( KOTodoViewItem *parent, Todo *todo, KOTodoView *kotodo )
+ : TQCheckListItem( parent, "", CheckBox ), mTodo( todo ), mTodoView( kotodo )
{
construct();
}
@@ -151,7 +151,7 @@ void KOTodoViewItem::construct()
setText( KOTodoView::eDueDateColumn, dtStr );
mEffectiveDueDate = mTodo->dtDue();
KOTodoViewItem *myParent;
- if ( ( myParent = dynamic_cast<KOTodoViewItem *>( tqparent() ) ) )
+ if ( ( myParent = dynamic_cast<KOTodoViewItem *>( parent() ) ) )
if ( !myParent->mEffectiveDueDate.isValid() ||
myParent->mEffectiveDueDate > mEffectiveDueDate ) {
myParent->mEffectiveDueDate = mEffectiveDueDate;
@@ -213,12 +213,12 @@ bool KOTodoViewItem::isAlternate()
{
KOTodoViewItem *item;
bool previous = true;
- if (TQListViewItem::tqparent())
+ if (TQListViewItem::parent())
{
- item = dynamic_cast<KOTodoViewItem *>(TQListViewItem::tqparent());
+ item = dynamic_cast<KOTodoViewItem *>(TQListViewItem::parent());
if (item)
previous = item->m_odd;
- item = dynamic_cast<KOTodoViewItem *>(TQListViewItem::tqparent()->firstChild());
+ item = dynamic_cast<KOTodoViewItem *>(TQListViewItem::parent()->firstChild());
}
else
{