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 58 of file undo.h.

Constructor & Destructor Documentation

◆ Undo()

Undo::Undo ( ChartCanvas parent)

Definition at line 48 of file undo.cpp.

◆ ~Undo()

Undo::~Undo ( )

Definition at line 56 of file undo.cpp.

Member Function Documentation

◆ AfterUndoableAction()

bool Undo::AfterUndoableAction ( UndoItemPointer  after)

Definition at line 352 of file undo.cpp.

◆ AnythingToRedo()

bool Undo::AnythingToRedo ( )

Definition at line 206 of file undo.cpp.

◆ AnythingToUndo()

bool Undo::AnythingToUndo ( )

Definition at line 204 of file undo.cpp.

◆ BeforeUndoableAction()

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

Definition at line 302 of file undo.cpp.

◆ CancelUndoableAction()

bool Undo::CancelUndoableAction ( bool  noDataDelete = false)

Definition at line 366 of file undo.cpp.

◆ GetNextRedoableAction()

UndoAction * Undo::GetNextRedoableAction ( )

Definition at line 210 of file undo.cpp.

◆ GetNextUndoableAction()

UndoAction * Undo::GetNextUndoableAction ( )

Definition at line 208 of file undo.cpp.

◆ GetParent()

ChartCanvas * Undo::GetParent ( )
inline

Definition at line 77 of file undo.h.

◆ InUndoableAction()

bool Undo::InUndoableAction ( )
inline

Definition at line 67 of file undo.h.

◆ InvalidateRedo()

void Undo::InvalidateRedo ( )

Definition at line 214 of file undo.cpp.

◆ InvalidateUndo()

void Undo::InvalidateUndo ( )

Definition at line 237 of file undo.cpp.

◆ RedoNextAction()

bool Undo::RedoNextAction ( )

Definition at line 271 of file undo.cpp.

◆ UndoLastAction()

bool Undo::UndoLastAction ( )

Definition at line 242 of file undo.cpp.


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