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

Method AdjustAnnotationCommand

core/documentcommands.cpp:255–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255AdjustAnnotationCommand::AdjustAnnotationCommand(Okular::DocumentPrivate *docPriv, Okular::Annotation *annotation, int pageNumber, const Okular::NormalizedPoint &delta1, const Okular::NormalizedPoint &delta2, bool completeDrag)
256 : m_docPriv(docPriv)
257 , m_annotation(annotation)
258 , m_pageNumber(pageNumber)
259 , m_delta1(delta1)
260 , m_delta2(delta2)
261 , m_completeDrag(completeDrag)
262{
263 setText(i18nc("Change an annotation's size", "adjust annotation"));
264}
265
266void AdjustAnnotationCommand::undo()
267{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected