diff options
Diffstat (limited to 'libkcal/calendar.cpp')
-rw-r--r-- | libkcal/calendar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libkcal/calendar.cpp b/libkcal/calendar.cpp index a5f919324..4ff7137e6 100644 --- a/libkcal/calendar.cpp +++ b/libkcal/calendar.cpp @@ -162,7 +162,7 @@ TQStringList Calendar::categories() thisCats = (*i)->categories(); for ( TQStringList::ConstIterator si = thisCats.constBegin(); si != thisCats.constEnd(); ++si ) { - if ( cats.tqfind( *si ) == cats.end() ) { + if ( cats.find( *si ) == cats.end() ) { cats.append( *si ); } } @@ -883,7 +883,7 @@ void Calendar::removeRelations( Incidence *incidence ) Incidence::List::ConstIterator it; for ( it = relations.begin(); it != relations.end(); ++it ) { Incidence *i = *it; - if ( !mOrphanUids.tqfind( i->uid() ) ) { + if ( !mOrphanUids.find( i->uid() ) ) { mOrphans.insert( uid, i ); mOrphanUids.insert( i->uid(), i ); i->setRelatedTo( 0 ); @@ -935,7 +935,7 @@ void Calendar::removeRelations( Incidence *incidence ) void Calendar::registerObserver( Observer *observer ) { - if( !mObservers.tqcontains( observer ) ) + if( !mObservers.contains( observer ) ) mObservers.append( observer ); mNewObserver = true; } |