lib

KFCAdd Class Reference

#include <kformulacommand.h>

Inheritance diagram for KFCAdd:
KFCAddGenericIndex KFCReplace

Public Member Functions

 KFCAdd (const TQString &name, Container *document)
virtual void execute ()
virtual void unexecute ()
void addElement (BasicElement *element)

Detailed Description

Base for all commands that want to add a simple element.

Definition at line 163 of file kformulacommand.h.

Constructor & Destructor Documentation

◆ KFCAdd()

KFCAdd::KFCAdd ( const TQString & name,
Container * document )

Definition at line 96 of file kformulacommand.cpp.

Member Function Documentation

◆ addElement()

void KFCAdd::addElement ( BasicElement * element)
inline

Collects all elements that are to be added.

Definition at line 175 of file kformulacommand.h.

◆ execute()

void KFCAdd::execute ( )
virtual

Implements KCommand.

Definition at line 103 of file kformulacommand.cpp.

◆ unexecute()

void KFCAdd::unexecute ( )
virtual

Implements KCommand.

Definition at line 113 of file kformulacommand.cpp.


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