From 4c6f8d69e2d1501837affb472c4eb8fec4462240 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/koagenda.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'korganizer/koagenda.cpp') diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp index 8a49360f..f9a1236e 100644 --- a/korganizer/koagenda.cpp +++ b/korganizer/koagenda.cpp @@ -1002,7 +1002,7 @@ void KOAgenda::performItemAction(const TQPoint& viewportPos) // erase current item (i.e. remove it from the multiItem list) firstItem = moveItem->nextMultiItem(); moveItem->hide(); - mItems.take( mItems.tqfind( moveItem ) ); + mItems.take( mItems.find( moveItem ) ); removeChild( moveItem ); mActionItem->removeMoveItem(moveItem); moveItem=firstItem; @@ -1019,7 +1019,7 @@ void KOAgenda::performItemAction(const TQPoint& viewportPos) // erase current item lastItem = moveItem->prevMultiItem(); moveItem->hide(); - mItems.take( mItems.tqfind(moveItem) ); + mItems.take( mItems.find(moveItem) ); removeChild( moveItem ); moveItem->removeMoveItem( moveItem ); moveItem = lastItem; @@ -1557,7 +1557,7 @@ TQMemArray KOAgenda::minContentsY() int ymin = item->cellYTop(); int index = item->cellXLeft(); if ( index>=0 && index<(int)(mSelectedDates.count()) ) { - if ( ymin < minArray[index] && mItemsToDelete.tqfindRef( item ) == -1 ) + if ( ymin < minArray[index] && mItemsToDelete.findRef( item ) == -1 ) minArray[index] = ymin; } } @@ -1574,7 +1574,7 @@ TQMemArray KOAgenda::maxContentsY() int ymax = item->cellYBottom(); int index = item->cellXLeft(); if ( index>=0 && index<(int)(mSelectedDates.count()) ) { - if ( ymax > maxArray[index] && mItemsToDelete.tqfindRef( item ) == -1 ) + if ( ymax > maxArray[index] && mItemsToDelete.findRef( item ) == -1 ) maxArray[index] = ymax; } } @@ -1769,7 +1769,7 @@ void KOAgenda::showAgendaItem( KOAgendaItem *agendaItem ) agendaItem->hide(); addChild( agendaItem ); - if ( !mItems.tqcontainsRef( agendaItem ) ) { + if ( !mItems.containsRef( agendaItem ) ) { mItems.append( agendaItem ); } placeSubCells( agendaItem ); @@ -1785,7 +1785,7 @@ bool KOAgenda::removeAgendaItem( KOAgendaItem *item ) TQPtrList conflictItems = thisItem->conflictItems(); removeChild( thisItem ); - int pos = mItems.tqfind( thisItem ); + int pos = mItems.find( thisItem ); if ( pos >= 0 ) { mItems.take( pos ); taken = true; -- cgit v1.2.3