summaryrefslogtreecommitdiffstats
path: root/libkdepim
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-05-31 07:49:08 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-05-31 07:49:08 +0000
commit7ef3b0e2a5e5bc9bf928e989e4f66932be096824 (patch)
treed1b924b843f78b9d9de26becb36bb8e12f7fef44 /libkdepim
parentf4a40d0495ff26b8767cf321fa8039e5ac633c12 (diff)
downloadtdepim-7ef3b0e2a5e5bc9bf928e989e4f66932be096824.tar.gz
tdepim-7ef3b0e2a5e5bc9bf928e989e4f66932be096824.zip
Added new carddav resource for kaddressbook
Lots of bugfixes for korganizer caldav resource git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1132701 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim')
-rw-r--r--libkdepim/kabcresourcecached.cpp6
-rw-r--r--libkdepim/kabcresourcecached.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/libkdepim/kabcresourcecached.cpp b/libkdepim/kabcresourcecached.cpp
index f2cbfbdcf..334ac4f22 100644
--- a/libkdepim/kabcresourcecached.cpp
+++ b/libkdepim/kabcresourcecached.cpp
@@ -124,6 +124,12 @@ void ResourceCached::saveCache()
file.close();
}
+void ResourceCached::clearCache()
+{
+ // TEST ME
+ mAddrMap.clear();
+}
+
void ResourceCached::cleanUpCache( const KABC::Addressee::List &addrList )
{
// load cache
diff --git a/libkdepim/kabcresourcecached.h b/libkdepim/kabcresourcecached.h
index 87ad9e4b9..e650eec6c 100644
--- a/libkdepim/kabcresourcecached.h
+++ b/libkdepim/kabcresourcecached.h
@@ -53,6 +53,7 @@ class KDE_EXPORT ResourceCached : public Resource
void loadCache();
void saveCache();
+ void clearCache();
void cleanUpCache( const KABC::Addressee::List &list );
/**