| 72 | } |
| 73 | |
| 74 | void MethodsTab::methodActivated(const QModelIndex &index) |
| 75 | { |
| 76 | if (!index.isValid() || !m_interface->hasObject()) |
| 77 | return; |
| 78 | m_interface->activateMethod(); |
| 79 | |
| 80 | MethodInvocationDialog dlg(this); |
| 81 | dlg.setArgumentModel(ObjectBroker::model(m_objectBaseName + '.' + "methodArguments")); |
| 82 | if (dlg.exec()) |
| 83 | m_interface->invokeMethod(dlg.connectionType()); |
| 84 | } |
| 85 | |
| 86 | void MethodsTab::methodContextMenu(const QPoint &pos) |
| 87 | { |
nothing calls this directly
no test coverage detected