Changeset View
Changeset View
Standalone View
Standalone View
src/browsers/servicebrowser/ServiceBrowser.cpp
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | |||||
42 | } | 42 | } | ||
43 | 43 | | |||
44 | 44 | | |||
45 | ServiceBrowser::~ServiceBrowser() | 45 | ServiceBrowser::~ServiceBrowser() | ||
46 | { | 46 | { | ||
47 | DEBUG_BLOCK | 47 | DEBUG_BLOCK | ||
48 | } | 48 | } | ||
49 | 49 | | |||
50 | //TODO: This should be moved to the ScriptableServiceManager instead | | |||
51 | void | | |||
52 | ServiceBrowser::setScriptableServiceManager( ScriptableServiceManager * scriptableServiceManager ) | | |||
53 | { | | |||
54 | m_scriptableServiceManager = scriptableServiceManager; | | |||
55 | m_scriptableServiceManager->setParent( this ); | | |||
56 | connect ( m_scriptableServiceManager, &ScriptableServiceManager::addService, | | |||
57 | this, &ServiceBrowser::addService ); | | |||
58 | } | | |||
59 | | ||||
60 | void | 50 | void | ||
61 | ServiceBrowser::resetService( const QString &name ) | 51 | ServiceBrowser::resetService( const QString &name ) | ||
62 | { | 52 | { | ||
63 | //What in the world is this for... | 53 | //What in the world is this for... | ||
64 | 54 | | |||
65 | //Currently unused, but needed, in the future, for resetting a service based on config changes | 55 | //Currently unused, but needed, in the future, for resetting a service based on config changes | ||
66 | //or the user choosing to reset the state of the service somehow. | 56 | //or the user choosing to reset the state of the service somehow. | ||
67 | Q_UNUSED( name ); | 57 | Q_UNUSED( name ); | ||
Show All 9 Lines |