MCPcopy Create free account
hub / github.com/YACReader/yacreader / applyModelChanges

Method applyModelChanges

YACReaderLibrary/classic_comics_view.cpp:384–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382}
383
384void ClassicComicsView::applyModelChanges(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles)
385{
386 Q_UNUSED(topLeft);
387 Q_UNUSED(bottomRight);
388 if (roles.contains(ComicModel::ReadColumnRole)) {
389 comicFlow->setMarks(model->getReadList());
390 comicFlow->updateMarks();
391 }
392}
393
394void ClassicComicsView::removeItemsFromFlow(const QModelIndex &parent, int from, int to)
395{

Callers

nothing calls this directly

Calls 4

getReadListMethod · 0.80
containsMethod · 0.45
setMarksMethod · 0.45
updateMarksMethod · 0.45

Tested by

no test coverage detected