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

Method load

common/bookmarks.cpp:95–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95bool Bookmarks::load(const QList<int> &bookmarkIndexes, int lastPage)
96{
97 lastPageIndex = lastPage;
98 for (const int b : std::as_const(bookmarkIndexes))
99 if (b != -1) {
100 latestBookmarks.push_back(b);
101 bookmarks.insert(b, QImage());
102 }
103
104 return true;
105}
106
107void Bookmarks::save()
108{

Callers 1

BookmarksMethod · 0.45

Calls 4

insertMethod · 0.45
openMethod · 0.45
closeMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected