summaryrefslogtreecommitdiffstats
path: root/korganizer/kotodoview.cpp
diff options
context:
space:
mode:
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 6b511f79..ecd68054 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] );