Kexi API Documentation (2.0 alpha)

CommandHistory Class Reference

#include <kexitabledesignerview_p.h>

Inheritance diagram for CommandHistory:

KCommandHistory List of all members.

Public Slots

virtual void undo ()
virtual void redo ()

Public Member Functions

 CommandHistory (KActionCollection *actionCollection, bool withMenus=true)
const QPtrList< KCommand > & commands () const
void addCommand (KCommand *command, bool execute=true)

Protected Attributes

QPtrList< KCommandm_commandsToUndo
QPtrList< KCommandm_commandsToRedo

Constructor & Destructor Documentation

CommandHistory::CommandHistory KActionCollection *  actionCollection,
bool  withMenus = true
 

Definition at line 56 of file kexitabledesignerview_p.cpp.


Member Function Documentation

void CommandHistory::addCommand KCommand command,
bool  execute = true
 

Definition at line 66 of file kexitabledesignerview_p.cpp.

References m_commandsToUndo.

Referenced by KexiTableDesignerView::addHistoryCommand().

const QPtrList<KCommand>& CommandHistory::commands  )  const [inline]
 

Definition at line 56 of file kexitabledesignerview_p.h.

References m_commandsToUndo.

Referenced by KexiTableDesignerView::buildAlterTableActions().

void CommandHistory::redo  )  [virtual, slot]
 

Definition at line 81 of file kexitabledesignerview_p.cpp.

References m_commandsToRedo, and m_commandsToUndo.

Referenced by KexiTableDesignerView::slotRedo().

void CommandHistory::undo  )  [virtual, slot]
 

Definition at line 72 of file kexitabledesignerview_p.cpp.

References m_commandsToRedo, and m_commandsToUndo.

Referenced by KexiTableDesignerView::slotUndo().


Member Data Documentation

QPtrList<KCommand> CommandHistory::m_commandsToRedo [protected]
 

Definition at line 65 of file kexitabledesignerview_p.h.

Referenced by redo(), and undo().

QPtrList<KCommand> CommandHistory::m_commandsToUndo [protected]
 

Definition at line 65 of file kexitabledesignerview_p.h.

Referenced by addCommand(), commands(), redo(), and undo().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:49:51 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003