KDE PIM / Developers / API Docs / kaddressbook

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.

List of all members.

Signals

Public Member Functions

Protected Member Functions

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

Command * StackBase::pop  )  [protected]
 

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: