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

Method canSwapBackingFile

core/document.cpp:4943–4950  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4941}
4942
4943bool Document::canSwapBackingFile() const
4944{
4945 if (!d->m_generator) {
4946 return false;
4947 }
4948
4949 return d->m_generator->hasFeature(Generator::SwapBackingFile);
4950}
4951
4952bool Document::swapBackingFile(const QString &newFileName, const QUrl &url)
4953{

Callers 3

testSaveAsMethod · 0.80
saveAsMethod · 0.80

Calls 1

hasFeatureMethod · 0.80

Tested by 2

testSaveAsMethod · 0.64