summaryrefslogtreecommitdiff
path: root/libresourceqt/include/qt4
diff options
context:
space:
mode:
authorWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-02-17 15:23:29 +0200
committerWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-02-17 15:23:29 +0200
commitfdb67c341fcb9ea0ae29a7889227ded6ac66a362 (patch)
treefc4f83d73390131a92063309a6878c74a5e2fe52 /libresourceqt/include/qt4
parent28aaf4eb7d89bba113d27a9a39fc787a03a05e31 (diff)
downloadlibresourceqt-fdb67c341fcb9ea0ae29a7889227ded6ac66a362.tar.gz
Implemented modes => we now get deny messages
Diffstat (limited to 'libresourceqt/include/qt4')
-rw-r--r--libresourceqt/include/qt4/policy/resource-set.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/libresourceqt/include/qt4/policy/resource-set.h b/libresourceqt/include/qt4/policy/resource-set.h
index 1f38c11..8f0c7a6 100644
--- a/libresourceqt/include/qt4/policy/resource-set.h
+++ b/libresourceqt/include/qt4/policy/resource-set.h
@@ -163,16 +163,23 @@ public:
* re-gain our resources without having to re-request them. However if
* the AutoRelease is set we release the resources and need to re-acquire
* them, when the pre-emting application releases it s resources.
+ *
* This feature is by default disabled.
- * Remember to call update() when changing this.
+ *
+ * This flag should be set once only before the first acquire is called,
+ * and cannot be unset.
*/
- void setAutoRelease();
+ bool setAutoRelease();
+ bool willAutoRelease();
/**
* Sets that the resourcesGranted() signal is emited even if we already
* have the requested resources granted. By default this feature is off.
- * This flag should be set once only before finalize is called, and cannot be unset.
+ *
+ * This flag should be set once only before the first acquire is called,
+ * and cannot be unset.
*/
- void setAlwaysReply();
+ bool setAlwaysReply();
+ bool alwaysGetReply();
signals:
/**