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 ()
 
UndoAction * GetNextUndoableAction ()
 
UndoAction * GetNextRedoableAction ()
 
bool UndoLastAction ()
 
bool RedoNextAction ()
 
bool BeforeUndoableAction (UndoType type, UndoItemPointer before, UndoBeforePointerType beforeType, UndoItemPointer selectable)
 
bool AfterUndoableAction (UndoItemPointer after)
 
bool CancelUndoableAction (bool noDataDelete=false)
 
ChartCanvas * GetParent ()
 

Detailed Description

Definition at line 36 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 55 of file undo.h.

◆ InUndoableAction()

bool Undo::InUndoableAction ( )
inline

Definition at line 45 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: