diff options
Diffstat (limited to 'libresourceqt/include/qt4/policy/resource-set.h')
-rw-r--r-- | libresourceqt/include/qt4/policy/resource-set.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libresourceqt/include/qt4/policy/resource-set.h b/libresourceqt/include/qt4/policy/resource-set.h index dad892e..fbf8bd8 100644 --- a/libresourceqt/include/qt4/policy/resource-set.h +++ b/libresourceqt/include/qt4/policy/resource-set.h @@ -209,6 +209,13 @@ public: QString applicationClass(); /** + * Initialize and connect the ResourceEngine of this ResourceSet. + * Use this method after adding resources to the ResourceSet initially. + * \return true if the method succeeds without encountering errors. + */ + 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. @@ -293,6 +300,11 @@ signals: */ void errorCallback(quint32, const char*); + /** + * This signals that we have connected to the Resource Manager. + */ + void connectedToManager(); + private: bool initialize(); |