summaryrefslogtreecommitdiffstats
path: root/korganizer/kotodoview.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/kotodoview.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/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 ecd680541..73a9d126e 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 );