MCPcopy Create free account
hub / github.com/KDAB/GammaRay / methodActivated

Method methodActivated

ui/tools/objectinspector/methodstab.cpp:74–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void 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
86void MethodsTab::methodContextMenu(const QPoint &pos)
87{

Callers

nothing calls this directly

Calls 6

setArgumentModelMethod · 0.80
connectionTypeMethod · 0.80
isValidMethod · 0.45
hasObjectMethod · 0.45
activateMethodMethod · 0.45
invokeMethodMethod · 0.45

Tested by

no test coverage detected