• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

kalzium

Avogadro::UndoSequence

Avogadro::UndoSequence Class Reference

#include <undosequence.h>

Inheritance diagram for Avogadro::UndoSequence:

Inheritance graph
[legend]

List of all members.


Detailed Description

Provides a sequence of Undo/Redo commands in a single command.

Author:
Donald Ephraim Curtis
This class simply acts as grouping of Undo/Redo commands. As commands are added, that is how they will be executed in the Redo stage. In the Undo stage they are executed in reverse order. However, they are not merged, they are left as they are but under a single command.

Definition at line 45 of file src/undosequence.h.


Public Member Functions

void append (QUndoCommand *command)
virtual void redo ()
virtual void undo ()
 UndoSequence ()
 ~UndoSequence ()

Constructor & Destructor Documentation

Avogadro::UndoSequence::UndoSequence (  ) 

Definition at line 37 of file undosequence.cpp.

Avogadro::UndoSequence::~UndoSequence (  ) 

Definition at line 41 of file undosequence.cpp.


Member Function Documentation

void Avogadro::UndoSequence::append ( QUndoCommand *  command  ) 

Parameters:
command Command to add to the sequence

Definition at line 66 of file undosequence.cpp.

void Avogadro::UndoSequence::redo (  )  [virtual]

Reimplemented from QUndoCommand.

Definition at line 58 of file undosequence.cpp.

void Avogadro::UndoSequence::undo (  )  [virtual]

Reimplemented from QUndoCommand.

Definition at line 49 of file undosequence.cpp.


The documentation for this class was generated from the following files:
  • src/undosequence.h
  • undosequence.cpp

kalzium

Skip menu "kalzium"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal