lib

KFCSplitToken Class Reference

#include <kformulacommand.h>

Inheritance diagram for KFCSplitToken:
KFCAddToken

Public Member Functions

 KFCSplitToken (const TQString &name, Container *document)
virtual void execute ()
virtual void unexecute ()
void addCursor (FormulaCursor *cursor)
Public Member Functions inherited from KFCAddToken
 KFCAddToken (const TQString &name, Container *document)
void addToken (BasicElement *element)
void addContent (BasicElement *element, BasicElement *content)

Detailed Description

Add and remove arbitrary token elements and their contents.

This command add needed flexibility in order to remove and insert new tokens in the middle of a token, that is, splitting the token and creating new ones.

Definition at line 305 of file kformulacommand.h.

Constructor & Destructor Documentation

◆ KFCSplitToken()

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

Definition at line 287 of file kformulacommand.cpp.

◆ ~KFCSplitToken()

KFCSplitToken::~KFCSplitToken ( )

Definition at line 293 of file kformulacommand.cpp.

Member Function Documentation

◆ addCursor()

void KFCSplitToken::addCursor ( FormulaCursor * cursor)
inline

Collect cursor data that will be needed to do the stuff properly.

Definition at line 318 of file kformulacommand.h.

◆ execute()

void KFCSplitToken::execute ( )
virtual

Reimplemented from KFCAddToken.

Definition at line 299 of file kformulacommand.cpp.

◆ unexecute()

void KFCSplitToken::unexecute ( )
virtual

Reimplemented from KFCAddToken.

Definition at line 333 of file kformulacommand.cpp.


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