lib

#include <kformulacommand.h>

Inheritance diagram for FontCommand:
CharFamilyCommand CharStyleCommand

Public Member Functions

 FontCommand (const TQString &name, Container *document)
 
void addTextElement (TextElement *element)
 
void addElement (BasicElement *element)
 

Protected Member Functions

TQPtrList< TextElement > & childrenList ()
 
void collectChildren ()
 
void parseSequences (const TQMap< SequenceElement *, int > &parents)
 

Detailed Description

Base for all font commands that act on the current selection.

Implements the visitor pattern. (Really?)

Definition at line 490 of file kformulacommand.h.

Constructor & Destructor Documentation

◆ FontCommand()

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

Definition at line 519 of file kformulacommand.cpp.

Member Function Documentation

◆ addElement()

void FontCommand::addElement ( BasicElement *  element)
inline

Collects all parent elements those children are to be changend.

Definition at line 502 of file kformulacommand.h.

◆ addTextElement()

void FontCommand::addTextElement ( TextElement *  element)
inline

Collects all elements that are to be modified.

Definition at line 497 of file kformulacommand.h.

◆ childrenList()

TQPtrList< TextElement > & FontCommand::childrenList ( )
inlineprotected

Definition at line 506 of file kformulacommand.h.

◆ collectChildren()

void FontCommand::collectChildren ( )
protected

Definition at line 527 of file kformulacommand.cpp.

◆ parseSequences()

void FontCommand::parseSequences ( const TQMap< SequenceElement *, int > &  parents)
protected

Definition at line 537 of file kformulacommand.cpp.


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