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

Method execute

plugins/quickopen/quickopenmodel.cpp:460–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458}
459
460bool QuickOpenModel::execute(const QModelIndex& index, QString& filterText)
461{
462 qCDebug(PLUGIN_QUICKOPEN) << "executing model";
463 if (!index.isValid()) {
464 qCWarning(PLUGIN_QUICKOPEN) << "Invalid index executed";
465 return false;
466 }
467
468 QuickOpenDataPointer item = getItem(index.row());
469
470 if (item) {
471 return item->execute(filterText);
472 } else {
473 qCWarning(PLUGIN_QUICKOPEN) << "Got no item for row " << index.row() << " ";
474 }
475
476 return false;
477}
478
479#include "moc_quickopenmodel.cpp"

Callers 15

acceptMethod · 0.45
eventFilterMethod · 0.45
updateMethod · 0.45
testMethod · 0.45
setupLocalRepositoryFunction · 0.45
__init__Method · 0.45
printedValueFunction · 0.45
testQStringMethod · 0.45
testQByteArrayMethod · 0.45
testQListContainerMethod · 0.45
gdbRunMethod · 0.45
gdbNextMethod · 0.45

Calls 2

isValidMethod · 0.45
rowMethod · 0.45

Tested by 15

testMethod · 0.36
setupLocalRepositoryFunction · 0.36
printedValueFunction · 0.36
testQStringMethod · 0.36
testQByteArrayMethod · 0.36
testQListContainerMethod · 0.36
gdbRunMethod · 0.36
gdbNextMethod · 0.36
testQMapIntMethod · 0.36
testQMapStringMethod · 0.36
testQMapStringBoolMethod · 0.36