OpenCPN Partial API docs
Loading...
Searching...
No Matches
Undo Class Reference

Public Member Functions

 Undo (ChartCanvas *parent)
 
bool AnythingToUndo ()
 
bool AnythingToRedo ()
 
void InvalidateRedo ()
 
void InvalidateUndo ()
 
void Invalidate ()
 
bool InUndoableAction ()
 
UndoActionGetNextUndoableAction ()
 
UndoActionGetNextRedoableAction ()
 
bool UndoLastAction ()
 
bool RedoNextAction ()
 
bool BeforeUndoableAction (UndoType type, UndoItemPointer before, UndoBeforePointerType beforeType, UndoItemPointer selectable)
 
bool AfterUndoableAction (UndoItemPointer after)
 
bool CancelUndoableAction (bool noDataDelete=false)
 
ChartCanvasGetParent ()
 

Detailed Description

Definition at line 60 of file undo.h.

Constructor & Destructor Documentation

◆ Undo()

Undo::Undo ( ChartCanvas parent)

Definition at line 59 of file undo.cpp.

◆ ~Undo()

Undo::~Undo ( )

Definition at line 67 of file undo.cpp.

Member Function Documentation

◆ AfterUndoableAction()

bool Undo::AfterUndoableAction ( UndoItemPointer  after)

Definition at line 362 of file undo.cpp.

◆ AnythingToRedo()

bool Undo::AnythingToRedo ( )

Definition at line 216 of file undo.cpp.

◆ AnythingToUndo()

bool Undo::AnythingToUndo ( )

Definition at line 214 of file undo.cpp.

◆ BeforeUndoableAction()

bool Undo::BeforeUndoableAction ( UndoType  type,
UndoItemPointer  before,
UndoBeforePointerType  beforeType,
UndoItemPointer  selectable 
)

Definition at line 312 of file undo.cpp.

◆ CancelUndoableAction()

bool Undo::CancelUndoableAction ( bool  noDataDelete = false)

Definition at line 376 of file undo.cpp.

◆ GetNextRedoableAction()

UndoAction * Undo::GetNextRedoableAction ( )

Definition at line 220 of file undo.cpp.

◆ GetNextUndoableAction()

UndoAction * Undo::GetNextUndoableAction ( )

Definition at line 218 of file undo.cpp.

◆ GetParent()

ChartCanvas * Undo::GetParent ( )
inline

Definition at line 79 of file undo.h.

◆ InUndoableAction()

bool Undo::InUndoableAction ( )
inline

Definition at line 69 of file undo.h.

◆ InvalidateRedo()

void Undo::InvalidateRedo ( )

Definition at line 224 of file undo.cpp.

◆ InvalidateUndo()

void Undo::InvalidateUndo ( )

Definition at line 247 of file undo.cpp.

◆ RedoNextAction()

bool Undo::RedoNextAction ( )

Definition at line 281 of file undo.cpp.

◆ UndoLastAction()

bool Undo::UndoLastAction ( )

Definition at line 252 of file undo.cpp.


The documentation for this class was generated from the following files: