| 97 | } |
| 98 | |
| 99 | void 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 | |
| 111 | us::ServiceReferenceU QmitkServiceListWidget::GetSelectedServiceReference() |
| 112 | { |
no test coverage detected