kformula/flake

FormulaData Class Reference

This is a QObject wrapper around a formulaElement, which allows to communicate between tool, cursor and shape. More...

#include <FormulaData.h>

Inheritance diagram for FormulaData:

List of all members.

Public Slots

void saveMathML (KoShapeSavingContext &context)
void writeElementTree ()

Signals

void dataChanged (FormulaCommand *element, bool undo)

Public Member Functions

 FormulaData (FormulaElement *element)
 ~FormulaData ()
FormulaElementformulaElement () const
void notifyDataChange (FormulaCommand *command, bool undo)
void setFormulaElement (FormulaElement *element)

Detailed Description

This is a QObject wrapper around a formulaElement, which allows to communicate between tool, cursor and shape.

Definition at line 36 of file FormulaData.h.


Constructor & Destructor Documentation

FormulaData::FormulaData ( FormulaElement element  ) 

Definition at line 28 of file FormulaData.cpp.

FormulaData::~FormulaData (  ) 

Definition at line 34 of file FormulaData.cpp.


Member Function Documentation

void FormulaData::dataChanged ( FormulaCommand element,
bool  undo 
) [signal]
FormulaElement * FormulaData::formulaElement (  )  const
Returns:
formulaElement that represents the data

Definition at line 51 of file FormulaData.cpp.

void FormulaData::notifyDataChange ( FormulaCommand command,
bool  undo 
)

emit a dataChanged signal

Definition at line 41 of file FormulaData.cpp.

void FormulaData::saveMathML ( KoShapeSavingContext &  context  )  [slot]

Definition at line 61 of file FormulaData.cpp.

void FormulaData::setFormulaElement ( FormulaElement element  ) 

Definition at line 46 of file FormulaData.cpp.

void FormulaData::writeElementTree (  )  [slot]

only for debugging

Definition at line 56 of file FormulaData.cpp.


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