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

Method rowsInserted

src/interface/fragment/AppManagerFragment.cpp:38–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void AppManagerFragment::rowsInserted(const QModelIndex &parent, int first, int last)
39{
40 Q_UNUSED(parent);
41 Q_UNUSED(last);
42
43 auto node = qvariant_cast<AppNode>(model->index(first, 0).data(Qt::UserRole));
44
45 ui->apps->setIndexWidget(model->index(first, 0), new AppItem(model, node.id, this));
46}
47
48void AppManagerFragment::rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last)
49{

Callers

nothing calls this directly

Calls 2

indexMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected