summaryrefslogtreecommitdiffstats
path: root/libkcal/calendarresources.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /libkcal/calendarresources.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkcal/calendarresources.cpp')
-rw-r--r--libkcal/calendarresources.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libkcal/calendarresources.cpp b/libkcal/calendarresources.cpp
index abd1cc213..50c5fba51 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.contains( incidence ) ) {
+ if ( mResourceMap.tqcontains( incidence ) ) {
oldResource = mResourceMap[incidence];
}
mResourceMap[incidence] = resource;
@@ -960,7 +960,7 @@ void CalendarResources::endAddingIncidences()
int CalendarResources::incrementChangeCount( ResourceCalendar *r )
{
- if ( !mChangeCounts.contains( r ) ) {
+ if ( !mChangeCounts.tqcontains( r ) ) {
mChangeCounts.insert( r, 0 );
}
@@ -973,7 +973,7 @@ int CalendarResources::incrementChangeCount( ResourceCalendar *r )
int CalendarResources::decrementChangeCount( ResourceCalendar *r )
{
- if ( !mChangeCounts.contains( r ) ) {
+ if ( !mChangeCounts.tqcontains( r ) ) {
kdError() << "No change count for resource." << endl;
return 0;
}