summaryrefslogtreecommitdiff
path: root/libresourceqt/include/qt4/policy/resource-set.h
diff options
context:
space:
mode:
authorRobert Löfman <rlofman@x201.research.nokia.com>2010-11-18 14:50:40 +0200
committerRobert Löfman <rlofman@x201.research.nokia.com>2010-11-18 14:50:40 +0200
commit05f8fa1ebccab6eb55ccbd8a3921bc7016512749 (patch)
tree93e46f320e838869b5119237ff6fc50014c58ae2 /libresourceqt/include/qt4/policy/resource-set.h
parent4b949a43b56a2336499c30e2bdc4c1cda8e81a68 (diff)
downloadlibresourceqt-05f8fa1ebccab6eb55ccbd8a3921bc7016512749.tar.gz
Added bool ResourceSet::initAndConnect() so that one can connect without acquiring.
Diffstat (limited to 'libresourceqt/include/qt4/policy/resource-set.h')
-rw-r--r--libresourceqt/include/qt4/policy/resource-set.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libresourceqt/include/qt4/policy/resource-set.h b/libresourceqt/include/qt4/policy/resource-set.h
index dad892e..03c9d95 100644
--- a/libresourceqt/include/qt4/policy/resource-set.h
+++ b/libresourceqt/include/qt4/policy/resource-set.h
@@ -209,6 +209,11 @@ public:
QString applicationClass();
/**
+ * Initialize and connect the ResourceEngine of this ResourceSet.
+ */
+ bool initAndConnect();
+
+ /**
* Try to acquire the \ref ResourceSet. The resourcesGranted() or
* resourcesDenied() signal will be emited depending on whether the
* requested resources could be acquired or not.