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

Method extractArchivedFile

core/document.cpp:5416–5426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5414}
5415
5416bool Document::extractArchivedFile(const QString &destFileName)
5417{
5418 if (!d->m_archiveData) {
5419 return false;
5420 }
5421
5422 // Remove existing file, if present (QFile::copy doesn't overwrite by itself)
5423 QFile::remove(destFileName);
5424
5425 return d->m_archiveData->document.copy(destFileName);
5426}
5427
5428QPageLayout::Orientation Document::orientation() const
5429{

Callers 1

saveAsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected