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

Method openRelativeFile

core/document.cpp:819–830  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

817}
818
819bool DocumentPrivate::openRelativeFile(const QString &fileName)
820{
821 const QUrl newUrl = giveAbsoluteUrl(fileName);
822 if (newUrl.isEmpty()) {
823 return false;
824 }
825
826 qCDebug(OkularCoreDebug).nospace() << "openRelativeFile: '" << newUrl << "'";
827
828 Q_EMIT m_parent->openUrl(newUrl);
829 return m_url == newUrl;
830}
831
832Generator *DocumentPrivate::loadGeneratorLibrary(const KPluginMetaData &service)
833{

Callers 1

processActionMethod · 0.80

Calls 1

isEmptyMethod · 0.80

Tested by

no test coverage detected