MCPcopy Create free account
hub / github.com/KDE/kdevelop / data

Method data

plugins/clang/codecompletion/context.cpp:459–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457 }
458
459 QVariant data(const QModelIndex& index, int role, const CodeCompletionModel* model) const override
460 {
461 if (role == Qt::DecorationRole && index.column() == KTextEditor::CodeCompletionModel::Icon) {
462 return m_icon;
463 }
464 if (role == CodeCompletionModel::UnimportantItemRole) {
465 return m_unimportant;
466 }
467 return CompletionItem<CompletionTreeItem>::data(index, role, model);
468 }
469
470private:
471 QString m_replacement;

Callers 15

assistantsSettingsMethod · 0.45
exchangeMethod · 0.45
toolTipMethod · 0.45
executeMethod · 0.45
endMethod · 0.45
textChangedMethod · 0.45
updateReadyMethod · 0.45
fillContextMenuMethod · 0.45
moveIntoSourceMethod · 0.45

Calls 2

dataFunction · 0.50
columnMethod · 0.45

Tested by

no test coverage detected