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 49 of file undo.cpp.

◆ ~Undo()

Undo::~Undo ( )

Definition at line 57 of file undo.cpp.

Member Function Documentation

◆ AfterUndoableAction()

bool Undo::AfterUndoableAction ( UndoItemPointer  after)

Definition at line 353 of file undo.cpp.

◆ AnythingToRedo()

bool Undo::AnythingToRedo ( )

Definition at line 207 of file undo.cpp.

◆ AnythingToUndo()

bool Undo::AnythingToUndo ( )

Definition at line 205 of file undo.cpp.

◆ BeforeUndoableAction()

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

Definition at line 303 of file undo.cpp.

◆ CancelUndoableAction()

bool Undo::CancelUndoableAction ( bool  noDataDelete = false)

Definition at line 367 of file undo.cpp.

◆ GetNextRedoableAction()

UndoAction * Undo::GetNextRedoableAction ( )

Definition at line 211 of file undo.cpp.

◆ GetNextUndoableAction()

UndoAction * Undo::GetNextUndoableAction ( )

Definition at line 209 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 215 of file undo.cpp.

◆ InvalidateUndo()

void Undo::InvalidateUndo ( )

Definition at line 238 of file undo.cpp.

◆ RedoNextAction()

bool Undo::RedoNextAction ( )

Definition at line 272 of file undo.cpp.

◆ UndoLastAction()

bool Undo::UndoLastAction ( )

Definition at line 243 of file undo.cpp.


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