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

Method setupLabelModelData

YACReaderLibrary/db/comic_model.cpp:578–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576}
577
578void ComicModel::setupLabelModelData(unsigned long long parentLabel, const QString &databasePath)
579{
580 enableResorting = true;
581 mode = Label;
582 sourceId = parentLabel;
583
584 beginResetModel();
585 qDeleteAll(_data);
586 _data.clear();
587
588 _databasePath = databasePath;
589
590 takeData(createLabelModelData(parentLabel, databasePath));
591
592 endResetModel();
593}
594
595QList<ComicItem *> ComicModel::createReadingListData(unsigned long long parentReadingList, const QString &databasePath, bool &enableResorting) const
596{

Callers 1

loadLabelInfoMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected