Mapper  0.9.0
API documentation
Public Member Functions | Public Attributes | List of all members
OpenOrienteering::UndoManager::State Struct Reference

Keeps the state of an UndoManager. More...

#include <undo_manager.h>

Public Member Functions

 State (UndoManager const *manager)
 Constructs a state which is a snapshot of the given UndoManager. More...
 

Public Attributes

bool is_loaded
 
bool is_clean
 
bool can_undo
 
bool can_redo
 

Detailed Description

Keeps the state of an UndoManager.

Together with UndoManager::emitChangedSignals(), this allows to easily emit the correct signals after changes to the state of an UndoManager.

Constructor & Destructor Documentation

◆ State()

OpenOrienteering::UndoManager::State::State ( UndoManager const *  manager)

Constructs a state which is a snapshot of the given UndoManager.

Member Data Documentation

◆ can_redo

bool OpenOrienteering::UndoManager::State::can_redo

◆ can_undo

bool OpenOrienteering::UndoManager::State::can_undo

◆ is_clean

bool OpenOrienteering::UndoManager::State::is_clean

◆ is_loaded

bool OpenOrienteering::UndoManager::State::is_loaded

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