diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /libkcal/resourcecached.cpp | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkcal/resourcecached.cpp')
-rw-r--r-- | libkcal/resourcecached.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libkcal/resourcecached.cpp b/libkcal/resourcecached.cpp index a6365979b..0e2d8d56d 100644 --- a/libkcal/resourcecached.cpp +++ b/libkcal/resourcecached.cpp @@ -485,7 +485,7 @@ void ResourceCached::calendarIncidenceAdded( Incidence *i ) #endif TQMap<Incidence *,bool>::ConstIterator it; - it = mAddedIncidences.find( i ); + it = mAddedIncidences.tqfind( i ); if ( it == mAddedIncidences.end() ) { mAddedIncidences.insert( i, true ); } @@ -501,7 +501,7 @@ void ResourceCached::calendarIncidenceChanged( Incidence *i ) #endif TQMap<Incidence *,bool>::ConstIterator it; - it = mChangedIncidences.find( i ); + it = mChangedIncidences.tqfind( i ); // FIXME: If you modify an added incidence, there's no need to add it to mChangedIncidences! if ( it == mChangedIncidences.end() ) { mChangedIncidences.insert( i, true ); @@ -518,19 +518,19 @@ void ResourceCached::calendarIncidenceDeleted( Incidence *i ) #endif if (i->hasRecurrenceID()) { - // This incidence has a parent; notify the parent of the child's death and do not destroy the parent! - // Get the parent + // This incidence has a tqparent; notify the tqparent of the child's death and do not destroy the tqparent! + // Get the tqparent IncidenceList il = i->childIncidences(); IncidenceListIterator it; it = il.begin(); - Incidence *parentIncidence; - parentIncidence = this->incidence(*it); + Incidence *tqparentIncidence; + tqparentIncidence = this->incidence(*it); // Remove the child - calendarIncidenceChanged(parentIncidence); + calendarIncidenceChanged(tqparentIncidence); } else { TQMap<Incidence *,bool>::ConstIterator it; - it = mDeletedIncidences.find( i ); + it = mDeletedIncidences.tqfind( i ); if ( it == mDeletedIncidences.end() ) { mDeletedIncidences.insert( i, true ); } |