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

Method prepareToModifyAnnotationProperties

core/document.cpp:3481–3489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3479}
3480
3481void Document::prepareToModifyAnnotationProperties(Annotation *annotation)
3482{
3483 Q_ASSERT(d->m_prevPropsOfAnnotBeingModified.isNull());
3484 if (!d->m_prevPropsOfAnnotBeingModified.isNull()) {
3485 qCCritical(OkularCoreDebug) << "Error: Document::prepareToModifyAnnotationProperties has already been called since last call to Document::modifyPageAnnotationProperties";
3486 return;
3487 }
3488 d->m_prevPropsOfAnnotBeingModified = annotation->getAnnotationPropertiesDomNode();
3489}
3490
3491void Document::modifyPageAnnotationProperties(int page, Annotation *annotation)
3492{

Calls 2

isNullMethod · 0.45