kformula/flake

FormulaCommandReplaceElements Class Reference

#include <FormulaCommand.h>

Inheritance diagram for FormulaCommandReplaceElements:

List of all members.

Public Member Functions

 FormulaCommandReplaceElements (RowElement *owner, int position, int length, QList< BasicElement * > elements, bool wrap=false, QUndoCommand *parent=0)
 ~FormulaCommandReplaceElements ()
void redo ()
void undo ()

Detailed Description

Definition at line 98 of file FormulaCommand.h.


Constructor & Destructor Documentation

FormulaCommandReplaceElements::FormulaCommandReplaceElements ( RowElement owner,
int  position,
int  length,
QList< BasicElement * >  elements,
bool  wrap = false,
QUndoCommand parent = 0 
)

Definition at line 96 of file FormulaCommand.cpp.

FormulaCommandReplaceElements::~FormulaCommandReplaceElements (  ) 

Definition at line 132 of file FormulaCommand.cpp.


Member Function Documentation

void FormulaCommandReplaceElements::redo (  ) 

Execute the command.

Reimplemented from QUndoCommand.

Definition at line 147 of file FormulaCommand.cpp.

void FormulaCommandReplaceElements::undo (  ) 

Revert the actions done in redo().

Reimplemented from QUndoCommand.

Definition at line 165 of file FormulaCommand.cpp.


The documentation for this class was generated from the following files: