StackBase Class Reference
The Undo and Redo stacks now no longer inherit directly from a stack. More...
#include <undo.h>
Inherits QObject.
Inherited by RedoStack, and UndoStack.
Signals
Public Member Functions
Protected Member Functions
- Command * pop ()
Protected Attributes
Detailed Description
The Undo and Redo stacks now no longer inherit directly from a stack.They now contain a stack internally and inherit from StackBase, which has a signal for when the stack is modified. This is need to keep the edit menu and toolbar up to date.
Really this is a simple observable stack.
Member Function Documentation
|
Protect the pop method so users must call undo/redo to properly use the stack, however the subclasses need it to modify the stack.
|
The documentation for this class was generated from the following files:
- undo.h
- undo.cpp