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

Method data

src/data/model/AppItemModel.cpp:29–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29QVariant AppItemModel::data(const QModelIndex &index, int role) const
30{
31 if (!index.isValid())
32 return QVariant();
33
34 if(role == Qt::ItemDataRole::UserRole)
35 return QVariant::fromValue(cache.at(index.row()));
36 else
37 return QVariant();
38}
39
40std::optional<AppNode> AppItemModel::findByNodeId(uint32_t id)
41{

Callers 15

setupMethod · 0.45
QMenuEditorMethod · 0.45
rowsInsertedMethod · 0.45
onSelectionChangedMethod · 0.45
onRemoveClickedMethod · 0.45
onLoadClickedMethod · 0.45
setEditorDataMethod · 0.45
coefficientsMethod · 0.45
idMethod · 0.45
foreachFunction · 0.45
on_processFunction · 0.45

Calls 2

QVariantClass · 0.50
atMethod · 0.45

Tested by

no test coverage detected