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

Method canRemoveExternalAnnotations

core/document.cpp:3587–3596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3585}
3586
3587bool DocumentPrivate::canRemoveExternalAnnotations() const
3588{
3589 Okular::SaveInterface *iface = qobject_cast<Okular::SaveInterface *>(m_generator);
3590
3591 if (iface && iface->supportsOption(Okular::SaveInterface::SaveChanges) && iface->annotationProxy() && iface->annotationProxy()->supports(AnnotationProxy::Removal)) {
3592 return true;
3593 }
3594
3595 return false;
3596}
3597
3598void Document::setPageTextSelection(int page, std::unique_ptr<RegularAreaRect> &&rect, const QColor &color)
3599{

Callers 1

Calls 3

supportsOptionMethod · 0.80
annotationProxyMethod · 0.80
supportsMethod · 0.80

Tested by

no test coverage detected