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

Method addItemsToFlow

YACReaderLibrary/classic_comics_view.cpp:401–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399}
400
401void ClassicComicsView::addItemsToFlow(const QModelIndex &parent, int from, int to)
402{
403 Q_UNUSED(parent);
404 for (int i = from; i <= to; i++) {
405 auto coverPath = model->index(i, 0).data(ComicModel::CoverPathRole).toUrl().toLocalFile();
406 comicFlow->add(coverPath, i);
407 }
408}
409
410void ClassicComicsView::closeEvent(QCloseEvent *event)
411{

Callers

nothing calls this directly

Calls 3

dataMethod · 0.45
indexMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected