summaryrefslogtreecommitdiff
path: root/libresourceqt/src/resource-set.cpp
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/src/resource-set.cpp
parent28aaf4eb7d89bba113d27a9a39fc787a03a05e31 (diff)
Implemented modes => we now get deny messages
Diffstat (limited to 'libresourceqt/src/resource-set.cpp')
-rw-r--r--libresourceqt/src/resource-set.cpp20
1 files changed, 18 insertions, 2 deletions
diff --git a/libresourceqt/src/resource-set.cpp b/libresourceqt/src/resource-set.cpp
index 3652939..bbb8d6e 100644
--- a/libresourceqt/src/resource-set.cpp
+++ b/libresourceqt/src/resource-set.cpp
@@ -174,14 +174,30 @@ QString ResourceSet::applicationClass()
return this->resourceClass;
}
-void ResourceSet::setAutoRelease()
+bool ResourceSet::setAutoRelease()
{
+ if(initialized)
+ return false;
autoRelease = true;
+ return true;
+}
+
+bool ResourceSet::willAutoRelease()
+{
+ return autoRelease;
}
-void ResourceSet::setAlwaysReply()
+bool ResourceSet::setAlwaysReply()
{
+ if(initialized)
+ return false;
alwaysReply = true;
+ return true;
+}
+
+bool ResourceSet::alwaysGetReply()
+{
+ return alwaysReply;
}
void ResourceSet::connectedHandler()