From b4d7e65ac0fe08b3b408bd3a0209d0fcd4c084fd Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 31 May 2010 21:22:53 +0000 Subject: Multi-save on exit fix git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1133001 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kresources/carddav/resource.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'kresources/carddav/resource.h') diff --git a/kresources/carddav/resource.h b/kresources/carddav/resource.h index 8df126e28..e117daf31 100644 --- a/kresources/carddav/resource.h +++ b/kresources/carddav/resource.h @@ -71,6 +71,8 @@ public: virtual void setReadOnly(bool v); + bool isSaving(); + protected slots: void loadFinished(); @@ -190,6 +192,9 @@ private: static const int DEFAULT_RELOAD_POLICY; static const int DEFAULT_SAVE_POLICY; + bool readLockout; + bool mAllWritesComplete; + // members: =============================================================== KABC::LockNull mLock; @@ -204,6 +209,8 @@ private: bool mWritingQueueReady; QPtrQueue mWritingQueue; + QTimer *mWriteRetryTimer; + }; -- cgit v1.2.1