lib

KFCAddToken Class Reference

#include <kformulacommand.h>

Inheritance diagram for KFCAddToken:
KFCReplaceToken KFCSplitToken

Public Member Functions

 KFCAddToken (const TQString &name, Container *document)
 
virtual void execute ()
 
virtual void unexecute ()
 
void addToken (BasicElement *element)
 
void addContent (BasicElement *element, BasicElement *content)
 

Detailed Description

Command to add a token element, with content.

Definition at line 241 of file kformulacommand.h.

Constructor & Destructor Documentation

◆ KFCAddToken()

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

Definition at line 183 of file kformulacommand.cpp.

◆ ~KFCAddToken()

KFCAddToken::~KFCAddToken ( )

Definition at line 188 of file kformulacommand.cpp.

Member Function Documentation

◆ addContent()

void KFCAddToken::addContent ( BasicElement *  element,
BasicElement *  content 
)
inline

Collect content for each token.

Definition at line 258 of file kformulacommand.h.

◆ addToken()

void KFCAddToken::addToken ( BasicElement *  element)

Collect all tokens that are to be added.

Definition at line 248 of file kformulacommand.cpp.

◆ execute()

void KFCAddToken::execute ( )
virtual

Implements KCommand.

Definition at line 198 of file kformulacommand.cpp.

◆ unexecute()

void KFCAddToken::unexecute ( )
virtual

Implements KCommand.

Definition at line 219 of file kformulacommand.cpp.


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