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

Method getCurrentPagesInformation

YACReader/render.cpp:1069–1082  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1067}
1068
1069QString Render::getCurrentPagesInformation()
1070{
1071 QString s = QString::number(currentIndex + 1);
1072 if (doublePage && (currentIndex + 1 < (int)comic->numPages())) {
1073 if (currentPageIsDoublePage()) {
1074 if (doubleMangaPage)
1075 s = QString::number(currentIndex + 2) + "-" + s;
1076 else
1077 s += "-" + QString::number(currentIndex + 2);
1078 }
1079 }
1080 s += "/" + QString::number(comic->numPages());
1081 return s;
1082}
1083
1084void Render::setBookmark()
1085{

Callers 1

updateInformationMethod · 0.80

Calls 1

numPagesMethod · 0.45

Tested by

no test coverage detected