MCPcopy Create free account
hub / github.com/KDE/okular / processArchive

Method processArchive

generators/comicbook/document.cpp:156–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156bool Document::processArchive()
157{
158 if (!mArchive->open(QIODevice::ReadOnly)) {
159 delete mArchive;
160 mArchive = nullptr;
161
162 return false;
163 }
164
165 const KArchiveDirectory *directory = mArchive->directory();
166 if (!directory) {
167 delete mArchive;
168 mArchive = nullptr;
169
170 return false;
171 }
172
173 mArchiveDir = directory;
174
175 imagesInArchive(QString(), mArchiveDir, &mEntries);
176
177 return true;
178}
179
180void Document::pages(QList<Okular::Page *> *pagesVector)
181{

Callers

nothing calls this directly

Calls 3

imagesInArchiveFunction · 0.85
QStringClass · 0.50
openMethod · 0.45

Tested by

no test coverage detected