WSF
wizard::Undo Class Reference

#include <Undo.hpp>

Public Types

enum  Flags { cDISCARD_PROXY_CHANGES = 1 }

Public Member Functions

 Undo ()
 Undo (const Undo &)=delete
 Undo (Undo &&)=default
Undooperator= (const Undo &)=delete
Undooperator= (Undo &&)=default
 ~Undo ()
QAction * CreateUndoAction (QObject *aParent)
QAction * CreateRedoAction (QObject *aParent)
void BeforeProxyChange (WsfPProxy *aProxyPtr, WsfPProxy::ProxyModifiedReason aProxyModifiedReason, const WsfPProxyPath &aPath, const std::string *aRenameName)
QUndoCommand * CurrentCommand () const
void PushUndo (QUndoCommand *aUndoPtr)
QUndoStack * UndoStack () const
void ClearProxyChanges ()
void BeginDiscardProxyChanges ()
void EndDiscardProxyChanges ()
QUndoStack * GetUndoStack ()

Static Public Member Functions

static UndoInstance ()
static void Destroy ()

Friends

class UndoContext

Member Enumeration Documentation

◆ Flags

Enumerator
cDISCARD_PROXY_CHANGES 

Constructor & Destructor Documentation

◆ Undo() [1/3]

wizard::Undo::Undo ( )

◆ Undo() [2/3]

wizard::Undo::Undo ( const Undo & )
delete

References Undo().

◆ Undo() [3/3]

wizard::Undo::Undo ( Undo && )
default

References Undo().

◆ ~Undo()

wizard::Undo::~Undo ( )

Member Function Documentation

◆ BeforeProxyChange()

void wizard::Undo::BeforeProxyChange ( WsfPProxy * aProxyPtr,
WsfPProxy::ProxyModifiedReason aProxyModifiedReason,
const WsfPProxyPath & aPath,
const std::string * aRenameName )

◆ BeginDiscardProxyChanges()

void wizard::Undo::BeginDiscardProxyChanges ( )
inline

◆ ClearProxyChanges()

void wizard::Undo::ClearProxyChanges ( )

◆ CreateRedoAction()

QAction * wizard::Undo::CreateRedoAction ( QObject * aParent)

Referenced by operator=().

◆ CreateUndoAction()

QAction * wizard::Undo::CreateUndoAction ( QObject * aParent)

Referenced by operator=().

◆ CurrentCommand()

QUndoCommand * wizard::Undo::CurrentCommand ( ) const

Referenced by operator=().

◆ Destroy()

void wizard::Undo::Destroy ( )
inlinestatic

◆ EndDiscardProxyChanges()

void wizard::Undo::EndDiscardProxyChanges ( )
inline

◆ GetUndoStack()

QUndoStack * wizard::Undo::GetUndoStack ( )
inline

◆ Instance()

◆ operator=() [1/2]

Undo & wizard::Undo::operator= ( const Undo & )
delete

References Undo().

◆ operator=() [2/2]

Undo & wizard::Undo::operator= ( Undo && )
default

◆ PushUndo()

void wizard::Undo::PushUndo ( QUndoCommand * aUndoPtr)

◆ UndoStack()

QUndoStack * wizard::Undo::UndoStack ( ) const
inline

◆ UndoContext

friend class UndoContext
friend

References UndoContext.

Referenced by UndoContext.


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved