MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / foreach

Function foreach

src/data/model/VdcDatabaseModel.cpp:71–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 auto matches = this->match(this->index(0, 4), Qt::DisplayRole, id, 1);
70
71 foreach(const QModelIndex &index, matches)
72 {
73 if (id == this->data(this->index(index.row(), 4), Qt::DisplayRole))
74 {
75 return index;
76 }
77 }
78
79 return QModelIndex();
80}

Callers

nothing calls this directly

Calls 2

indexMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected