Changeset View
Changeset View
Standalone View
Standalone View
src/browsers/servicebrowser/ServiceBrowser.cpp
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | |||||
48 | } | 48 | } | ||
49 | 49 | | |||
50 | //TODO: This should be moved to the ScriptableServiceManager instead | 50 | //TODO: This should be moved to the ScriptableServiceManager instead | ||
51 | void | 51 | void | ||
52 | ServiceBrowser::setScriptableServiceManager( ScriptableServiceManager * scriptableServiceManager ) | 52 | ServiceBrowser::setScriptableServiceManager( ScriptableServiceManager * scriptableServiceManager ) | ||
53 | { | 53 | { | ||
54 | m_scriptableServiceManager = scriptableServiceManager; | 54 | m_scriptableServiceManager = scriptableServiceManager; | ||
55 | m_scriptableServiceManager->setParent( this ); | 55 | m_scriptableServiceManager->setParent( this ); | ||
56 | connect ( m_scriptableServiceManager, SIGNAL(addService(ServiceBase*)), this, SLOT(addService(ServiceBase*)) ); | 56 | connect ( m_scriptableServiceManager, &ScriptableServiceManager::addService, | ||
57 | this, &ServiceBrowser::addService ); | ||||
57 | } | 58 | } | ||
58 | 59 | | |||
59 | void | 60 | void | ||
60 | ServiceBrowser::resetService( const QString &name ) | 61 | ServiceBrowser::resetService( const QString &name ) | ||
61 | { | 62 | { | ||
62 | //What in the world is this for... | 63 | //What in the world is this for... | ||
63 | 64 | | |||
64 | //Currently unused, but needed, in the future, for resetting a service based on config changes | 65 | //Currently unused, but needed, in the future, for resetting a service based on config changes | ||
Show All 11 Lines |