diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch) | |
tree | 766a8ad7939fcf3eec534184c36bd0e0f80489e2 /libkcal/calendarresources.cpp | |
parent | 469cc56a805bd3d6940d54adbef554877c29853c (diff) | |
download | tdepim-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 'libkcal/calendarresources.cpp')
-rw-r--r-- | libkcal/calendarresources.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libkcal/calendarresources.cpp b/libkcal/calendarresources.cpp index 9bec7a648..df3c19855 100644 --- a/libkcal/calendarresources.cpp +++ b/libkcal/calendarresources.cpp @@ -324,7 +324,7 @@ bool CalendarResources::addIncidence( Incidence *incidence, kdDebug(5800)<< "CalendarResources: validRes is " << validRes << endl; ResourceCalendar *oldResource = 0; - if ( mResourceMap.tqcontains( incidence ) ) { + if ( mResourceMap.contains( incidence ) ) { oldResource = mResourceMap[incidence]; } mResourceMap[incidence] = resource; @@ -430,7 +430,7 @@ bool CalendarResources::deleteEvent( Event *event ) kdDebug(5800) << "CalendarResources::deleteEvent" << endl; bool status; - if ( mResourceMap.tqfind( event ) != mResourceMap.end() ) { + if ( mResourceMap.find( event ) != mResourceMap.end() ) { status = mResourceMap[event]->deleteEvent( event ); if ( status ) mPendingDeleteFromResourceMap = true; @@ -487,7 +487,7 @@ bool CalendarResources::deleteTodo( Todo *todo ) kdDebug(5800) << "CalendarResources::deleteTodo" << endl; bool status; - if ( mResourceMap.tqfind( todo ) != mResourceMap.end() ) { + if ( mResourceMap.find( todo ) != mResourceMap.end() ) { status = mResourceMap[todo]->deleteTodo( todo ); if ( status ) mPendingDeleteFromResourceMap = true; @@ -686,7 +686,7 @@ bool CalendarResources::deleteJournal( Journal *journal ) kdDebug(5800) << "CalendarResources::deleteJournal" << endl; bool status; - if ( mResourceMap.tqfind( journal ) != mResourceMap.end() ) { + if ( mResourceMap.find( journal ) != mResourceMap.end() ) { status = mResourceMap[journal]->deleteJournal( journal ); if ( status ) mPendingDeleteFromResourceMap = true; @@ -771,7 +771,7 @@ void CalendarResources::connectResource( ResourceCalendar *resource ) ResourceCalendar *CalendarResources::resource( Incidence *incidence ) { - if ( mResourceMap.tqfind( incidence ) != mResourceMap.end() ) { + if ( mResourceMap.find( incidence ) != mResourceMap.end() ) { return mResourceMap[ incidence ]; } return 0; @@ -960,7 +960,7 @@ void CalendarResources::endAddingIncidences() int CalendarResources::incrementChangeCount( ResourceCalendar *r ) { - if ( !mChangeCounts.tqcontains( r ) ) { + if ( !mChangeCounts.contains( r ) ) { mChangeCounts.insert( r, 0 ); } @@ -973,7 +973,7 @@ int CalendarResources::incrementChangeCount( ResourceCalendar *r ) int CalendarResources::decrementChangeCount( ResourceCalendar *r ) { - if ( !mChangeCounts.tqcontains( r ) ) { + if ( !mChangeCounts.contains( r ) ) { kdError() << "No change count for resource." << endl; return 0; } |