summaryrefslogtreecommitdiffstats
path: root/kresources/carddav/resource.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-05-31 21:22:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-05-31 21:22:53 +0000
commitb4d7e65ac0fe08b3b408bd3a0209d0fcd4c084fd (patch)
tree2c275072aa6aefc4ead9e9d839da8bcfae46c4fc /kresources/carddav/resource.h
parent7ef3b0e2a5e5bc9bf928e989e4f66932be096824 (diff)
downloadtdepim-b4d7e65ac0fe08b3b408bd3a0209d0fcd4c084fd.tar.gz
tdepim-b4d7e65ac0fe08b3b408bd3a0209d0fcd4c084fd.zip
Multi-save on exit fix
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1133001 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/carddav/resource.h')
-rw-r--r--kresources/carddav/resource.h7
1 files changed, 7 insertions, 0 deletions
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<WritingTask> mWritingQueue;
+ QTimer *mWriteRetryTimer;
+
};