MCPcopy Create free account
hub / github.com/KDE/labplot / getIndexRows

Method getIndexRows

src/frontend/datasources/JsonOptionsWidget.cpp:185–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185QVector<int> JsonOptionsWidget::getIndexRows(const QModelIndex& index) const {
186 QVector<int> rows;
187 QModelIndex current = index;
188 while (current.isValid()) {
189 rows.prepend(current.row());
190 current = current.parent();
191 }
192 return rows;
193}

Callers

nothing calls this directly

Calls 3

isValidMethod · 0.45
rowMethod · 0.45
parentMethod · 0.45

Tested by

no test coverage detected