summaryrefslogtreecommitdiffstats
path: root/korganizer/kotodoviewitem.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch)
tree0212ba6d2c749043134005a41f2bd0379619d40f /korganizer/kotodoviewitem.cpp
parent4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff)
downloadtdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz
tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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
{