From 05f8fa1ebccab6eb55ccbd8a3921bc7016512749 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20L=C3=B6fman?= Date: Thu, 18 Nov 2010 14:50:40 +0200 Subject: Added bool ResourceSet::initAndConnect() so that one can connect without acquiring. --- libresourceqt/include/qt4/policy/resource-set.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libresourceqt/include/qt4/policy/resource-set.h') 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 @@ -208,6 +208,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 -- cgit v1.2.3