kformula/flake
KoFormulaShapeFactory Class Reference
Factory for the formula shape. More...
#include <KoFormulaShapeFactory.h>

Public Member Functions | |
| KoFormulaShapeFactory (QObject *parent) | |
| ~KoFormulaShapeFactory () | |
| KoShape * | createDefaultShape () const |
| KoShape * | createShape (const KoProperties *params) const |
| virtual bool | supports (const KoXmlElement &e) const |
Detailed Description
Factory for the formula shape.
This class is a part of the FormulaShape plugin and provides a generic way to obtain instances of the KoFormulaShape class. It follows the factory design pattern and implements the two virtual methods createDefaultShape() and createShape() of KoShapeFactory.
Definition at line 35 of file KoFormulaShapeFactory.h.
Constructor & Destructor Documentation
| KoFormulaShapeFactory::KoFormulaShapeFactory | ( | QObject * | parent | ) | [explicit] |
The constructor - reimplemented from KoShapeFactory.
Definition at line 26 of file KoFormulaShapeFactory.cpp.
| KoFormulaShapeFactory::~KoFormulaShapeFactory | ( | ) |
The destructor - reimplemented from KoShapeFactory.
Definition at line 43 of file KoFormulaShapeFactory.cpp.
Member Function Documentation
| KoShape * KoFormulaShapeFactory::createDefaultShape | ( | ) | const |
reimplemented
Definition at line 46 of file KoFormulaShapeFactory.cpp.
| KoShape * KoFormulaShapeFactory::createShape | ( | const KoProperties * | params | ) | const |
reimplemented
Definition at line 53 of file KoFormulaShapeFactory.cpp.
| bool KoFormulaShapeFactory::supports | ( | const KoXmlElement & | e | ) | const [virtual] |
Definition at line 66 of file KoFormulaShapeFactory.cpp.
The documentation for this class was generated from the following files:
