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

Method ModifyAnnotationPropertiesCommand

core/documentcommands.cpp:148–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148ModifyAnnotationPropertiesCommand::ModifyAnnotationPropertiesCommand(DocumentPrivate *docPriv, Annotation *annotation, int pageNumber, const QDomNode &oldProperties, const QDomNode &newProperties)
149 : m_docPriv(docPriv)
150 , m_annotation(annotation)
151 , m_pageNumber(pageNumber)
152 , m_prevProperties(oldProperties)
153 , m_newProperties(newProperties)
154{
155 setText(i18nc("Modify an annotation's internal properties (Color, line-width, etc.)", "modify annotation properties"));
156}
157
158void ModifyAnnotationPropertiesCommand::undo()
159{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected