summaryrefslogtreecommitdiffstats
path: root/libkcal/calendarresources.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/calendarresources.cpp')
-rw-r--r--libkcal/calendarresources.cpp14
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;
}