MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / getInstruction

Method getInstruction

widgets/AddCustomInstructionDialog.cpp:85–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85CustomInstruction AddCustomInstructionDialog::getInstruction() const
86{
87 CustomInstruction instruction = m_instruction;
88 instruction.name = m_nameEdit->text().trimmed();
89 instruction.body = m_bodyEdit->toPlainText().trimmed();
90 instruction.isDefault = m_defaultCheckBox->isChecked();
91 return instruction;
92}
93
94} // namespace QodeAssist
95

Callers 2

onAddCustomCommandMethod · 0.80
onEditCustomCommandMethod · 0.80

Calls 1

textMethod · 0.45

Tested by

no test coverage detected