MCPcopy Create free account
hub / github.com/MITK/MITK / OnServiceSelectionChanged

Method OnServiceSelectionChanged

Modules/QtWidgets/src/QmitkServiceListWidget.cpp:99–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void QmitkServiceListWidget::OnServiceSelectionChanged()
100{
101 us::ServiceReferenceU ref = this->GetServiceForListItem(this->m_Controls->m_ServiceList->currentItem());
102 if (!ref)
103 {
104 emit(ServiceSelectionChanged(us::ServiceReferenceU()));
105 return;
106 }
107
108 emit(ServiceSelectionChanged(ref));
109}
110
111us::ServiceReferenceU QmitkServiceListWidget::GetSelectedServiceReference()
112{

Callers 1

AddServiceToListMethod · 0.95

Calls 1

GetServiceForListItemMethod · 0.95

Tested by

no test coverage detected