summaryrefslogtreecommitdiffstats
path: root/korganizer/kotodoview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/kotodoview.cpp')
-rw-r--r--korganizer/kotodoview.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp
index ecd68054..73a9d126 100644
--- a/korganizer/kotodoview.cpp
+++ b/korganizer/kotodoview.cpp
@@ -64,10 +64,10 @@ using namespace KOrg;
#include "calprinter.h"
#endif
-KOTodoListViewToolTip::KOTodoListViewToolTip (TQWidget *tqparent,
+KOTodoListViewToolTip::KOTodoListViewToolTip (TQWidget *parent,
Calendar *calendar,
KOTodoListView *lv )
- :TQToolTip(tqparent), mCalendar( calendar )
+ :TQToolTip(parent), mCalendar( calendar )
{
todolist=lv;
}
@@ -100,8 +100,8 @@ void KOTodoListViewToolTip::maybeTip( const TQPoint & pos)
-KOTodoListView::KOTodoListView( TQWidget *tqparent, const char *name )
- : KListView( tqparent, name ), mCalendar( 0 ), mChanger( 0 )
+KOTodoListView::KOTodoListView( TQWidget *parent, const char *name )
+ : KListView( parent, name ), mCalendar( 0 ), mChanger( 0 )
{
mOldCurrent = 0;
mMousePressed = false;
@@ -227,7 +227,7 @@ void KOTodoListView::contentsDropEvent( TQDropEvent *e )
mChanger->changeIncidence( oldTodo, existingTodo, KOGlobals::RELATION_MODIFIED, this );
mChanger->endChange( existingTodo, 0, TQString() );
} else {
- KMessageBox::sorry( this, i18n("Unable to change to-do's tqparent, "
+ KMessageBox::sorry( this, i18n("Unable to change to-do's parent, "
"because the to-do cannot be locked.") );
}
delete oldTodo;
@@ -360,8 +360,8 @@ void KOTodoListView::contentsMouseDoubleClickEvent(TQMouseEvent *e)
/////////////////////////////////////////////////////////////////////////////
-KOTodoView::KOTodoView( Calendar *calendar, TQWidget *tqparent, const char* name)
- : KOrg::BaseView( calendar, tqparent, name )
+KOTodoView::KOTodoView( Calendar *calendar, TQWidget *parent, const char* name)
+ : KOrg::BaseView( calendar, parent, name )
{
TQBoxLayout *topLayout = new TQVBoxLayout( this );
@@ -558,7 +558,7 @@ void KOTodoView::updateView()
*/
// Put for each Event a KOTodoViewItem in the list view. Don't rely on a
- // specific order of events. That means that we have to generate tqparent items
+ // specific order of events. That means that we have to generate parent items
// recursively for proper hierarchical display of Todos.
mTodoMap.clear();
Todo::List::ConstIterator it;
@@ -612,7 +612,7 @@ TQMap<Todo *,KOTodoViewItem *>::ConstIterator
// and one into the map. Sure finding is more easy but why? -zecke
KOTodoViewItem *todoItem;
- // in case we found a related tqparent, which has no KOTodoViewItem yet, this must
+ // in case we found a related parent, which has no KOTodoViewItem yet, this must
// be the case where 2 items refer to each other, therefore simply create item as root item
if ( *itemIterator == 0 ) {
todo->setRelatedTo(0); // break the recursion, else we will have troubles later
@@ -703,12 +703,12 @@ void KOTodoView::changeIncidenceDisplay(Incidence *incidence, int action)
scheduleRemoveTodoItem( todoItem );
} else {
// correctly update changes in relations
- Todo*tqparent = dynamic_cast<Todo*>( todo->relatedTo() );
+ Todo*parent = dynamic_cast<Todo*>( todo->relatedTo() );
KOTodoViewItem*parentItem = 0;
- if ( tqparent && mTodoMap.contains(tqparent) ) {
- parentItem = mTodoMap[ tqparent ];
+ if ( parent && mTodoMap.contains(parent) ) {
+ parentItem = mTodoMap[ parent ];
}
- if ( todoItem->tqparent() != parentItem ) {
+ if ( todoItem->parent() != parentItem ) {
// The relations changed
if ( parentItem ) {
parentItem->insertItem( todoItem );