summaryrefslogtreecommitdiffstats
path: root/kresources/caldav/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/caldav/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/caldav/resource.h')
-rw-r--r--kresources/caldav/resource.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kresources/caldav/resource.h b/kresources/caldav/resource.h
index a93bf05b3..b81e555c5 100644
--- a/kresources/caldav/resource.h
+++ b/kresources/caldav/resource.h
@@ -69,6 +69,8 @@ public:
virtual void setReadOnly(bool v);
+ bool isSaving();
+
protected slots:
void loadFinished();
@@ -211,6 +213,7 @@ private:
static const int DEFAULT_SAVE_POLICY;
bool readLockout;
+ bool mAllWritesComplete;
// members: ===============================================================
@@ -226,6 +229,8 @@ private:
bool mWritingQueueReady;
QPtrQueue<WritingTask> mWritingQueue;
+ QTimer *mWriteRetryTimer;
+
};