MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / onCodeBaseBtnClicked

Method onCodeBaseBtnClicked

src/plugins/chat/widgets/inputeditwidget.cpp:465–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463}
464
465void InputEditWidget::onCodeBaseBtnClicked()
466{
467 bool checked = d->codeBaseBtn->isChecked();
468 if (!checked && d->edit->hasTag(reference_codebase)) // cancel the button , but @codebase in edit
469 return;
470 ChatManager::instance()->setReferenceCodebase(checked);
471}
472
473void InputEditWidget::onNetWorkBtnClicked()
474{

Callers

nothing calls this directly

Calls 3

isCheckedMethod · 0.80
hasTagMethod · 0.80
setReferenceCodebaseMethod · 0.80

Tested by

no test coverage detected