diff options
author | Robert Löfman <ext-robert.lofman@nokia.com> | 2010-11-26 15:26:32 +0200 |
---|---|---|
committer | Robert Löfman <ext-robert.lofman@nokia.com> | 2010-11-26 15:26:32 +0200 |
commit | b723c98d18c4fdec1654ea283e5bfd9ea44dc701 (patch) | |
tree | 8ca38ecf25311872ef1435a3ef7b325b188c468e /libresourceqt | |
parent | 05f8fa1ebccab6eb55ccbd8a3921bc7016512749 (diff) |
Added connectedToManager() signal
Diffstat (limited to 'libresourceqt')
-rw-r--r-- | libresourceqt/include/qt4/policy/resource-set.h | 5 | ||||
-rw-r--r-- | libresourceqt/src/resource-set.cpp | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libresourceqt/include/qt4/policy/resource-set.h b/libresourceqt/include/qt4/policy/resource-set.h index 03c9d95..538f9ae 100644 --- a/libresourceqt/include/qt4/policy/resource-set.h +++ b/libresourceqt/include/qt4/policy/resource-set.h @@ -298,6 +298,11 @@ signals: */ void errorCallback(quint32, const char*); + /** + * This signals that we have connected to the Resource Manager. + */ + void connectedToManager(); + private: bool initialize(); diff --git a/libresourceqt/src/resource-set.cpp b/libresourceqt/src/resource-set.cpp index b6885a5..8f26a13 100644 --- a/libresourceqt/src/resource-set.cpp +++ b/libresourceqt/src/resource-set.cpp @@ -322,6 +322,7 @@ void ResourceSet::connectedHandler() qDebug("**************** ResourceSet::%s().... %d", __FUNCTION__, __LINE__); if (resourceEngine->isConnectedToManager()) { qDebug("ResourceSet::%s() Connected to manager!", __FUNCTION__); + emit connectedToManager(); if (pendingAudioProperties) { registerAudioProperties(); |