diff options
author | Robert Löfman <rlofman@x201.research.nokia.com> | 2010-11-18 14:50:40 +0200 |
---|---|---|
committer | Robert Löfman <rlofman@x201.research.nokia.com> | 2010-11-18 14:50:40 +0200 |
commit | 05f8fa1ebccab6eb55ccbd8a3921bc7016512749 (patch) | |
tree | 93e46f320e838869b5119237ff6fc50014c58ae2 /libresourceqt/include/qt4/policy | |
parent | 4b949a43b56a2336499c30e2bdc4c1cda8e81a68 (diff) |
Added bool ResourceSet::initAndConnect() so that one can connect without acquiring.
Diffstat (limited to 'libresourceqt/include/qt4/policy')
-rw-r--r-- | libresourceqt/include/qt4/policy/resource-set.h | 5 |
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. |