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

Method index

plugins/quickopen/quickopenmodel.cpp:232–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232QModelIndex QuickOpenModel::index(int row, int column, const QModelIndex& /*parent*/) const
233{
234 if (column >= columnCount() || row >= rowCount(QModelIndex())) {
235 return QModelIndex();
236 }
237 if (row < 0 || column < 0) {
238 return QModelIndex();
239 }
240 return createIndex(row, column);
241}
242
243QModelIndex QuickOpenModel::parent(const QModelIndex&) const
244{

Callers 8

finishMethod · 0.45
recursiveRowCountFunction · 0.45
matchingIndexesFunction · 0.45
applyFilterMethod · 0.45
containedInMethod · 0.45
operator()Method · 0.45
setFilterTextMethod · 0.45
containsItemForTextFunction · 0.45

Calls 2

createIndexFunction · 0.85
QModelIndexClass · 0.50

Tested by 1

containsItemForTextFunction · 0.36