summaryrefslogtreecommitdiffstats
path: root/korganizer/kotodoview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /korganizer/kotodoview.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
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
Diffstat (limited to 'korganizer/kotodoview.cpp')
-rw-r--r--korganizer/kotodoview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp
index 6b511f790..ecd680541 100644
--- a/korganizer/kotodoview.cpp
+++ b/korganizer/kotodoview.cpp
@@ -263,7 +263,7 @@ void KOTodoListView::contentsDropEvent( TQDropEvent *e )
TQStringList emails = KPIM::splitEmailAddrList( text );
for(TQStringList::ConstIterator it = emails.begin();it!=emails.end();++it) {
kdDebug(5850) << " Email: " << (*it) << endl;
- int pos = (*it).tqfind("<");
+ int pos = (*it).find("<");
TQString name = (*it).left(pos);
TQString email = (*it).mid(pos);
if (!email.isEmpty() && todoi) {
@@ -563,7 +563,7 @@ void KOTodoView::updateView()
mTodoMap.clear();
Todo::List::ConstIterator it;
for( it = todoList.begin(); it != todoList.end(); ++it ) {
- if ( !mTodoMap.tqcontains( *it ) ) {
+ if ( !mTodoMap.contains( *it ) ) {
insertTodoItem( *it );
}
}
@@ -603,7 +603,7 @@ TQMap<Todo *,KOTodoViewItem *>::ConstIterator
// kdDebug(5850) << " has Related" << endl;
TQMap<Todo *,KOTodoViewItem *>::ConstIterator itemIterator;
- itemIterator = mTodoMap.tqfind(relatedTodo);
+ itemIterator = mTodoMap.find(relatedTodo);
if (itemIterator == mTodoMap.end()) {
// kdDebug(5850) << " related not yet in list" << endl;
itemIterator = insertTodoItem (relatedTodo);
@@ -635,7 +635,7 @@ void KOTodoView::removeTodoItems()
KOTodoViewItem *item;
for ( item = mItemsToDelete.first(); item; item = mItemsToDelete.next() ) {
Todo *todo = item->todo();
- if ( todo && mTodoMap.tqcontains( todo ) ) {
+ if ( todo && mTodoMap.contains( todo ) ) {
mTodoMap.remove( todo );
}
delete item;
@@ -691,7 +691,7 @@ void KOTodoView::changeIncidenceDisplay(Incidence *incidence, int action)
Todo *todo = static_cast<Todo *>(incidence);
if ( todo ) {
KOTodoViewItem *todoItem = 0;
- if ( mTodoMap.tqcontains( todo ) ) {
+ if ( mTodoMap.contains( todo ) ) {
todoItem = mTodoMap[todo];
}
switch ( action ) {
@@ -705,7 +705,7 @@ void KOTodoView::changeIncidenceDisplay(Incidence *incidence, int action)
// correctly update changes in relations
Todo*tqparent = dynamic_cast<Todo*>( todo->relatedTo() );
KOTodoViewItem*parentItem = 0;
- if ( tqparent && mTodoMap.tqcontains(tqparent) ) {
+ if ( tqparent && mTodoMap.contains(tqparent) ) {
parentItem = mTodoMap[ tqparent ];
}
if ( todoItem->tqparent() != parentItem ) {
@@ -1011,7 +1011,7 @@ TQPopupMenu *KOTodoView::getCategoryPopupMenu( KOTodoViewItem *todoItem )
++it ) {
int index = tempMenu->insertItem( *it );
mCategory[ index ] = *it;
- if ( checkedCategories.tqfind( *it ) != checkedCategories.end() )
+ if ( checkedCategories.find( *it ) != checkedCategories.end() )
tempMenu->setItemChecked( index, true );
}
@@ -1030,7 +1030,7 @@ void KOTodoView::changedCategories(int index)
Todo *oldTodo = todo->clone();
TQStringList categories = todo->categories ();
- if ( categories.tqfind( mCategory[index] ) != categories.end() )
+ if ( categories.find( mCategory[index] ) != categories.end() )
categories.remove( mCategory[index] );
else
categories.insert( categories.end(), mCategory[index] );