kformula/flake

KoFormulaToolFactory Class Reference

The factory for KoFormulaTool. More...

#include <KoFormulaToolFactory.h>

Inheritance diagram for KoFormulaToolFactory:

List of all members.

Public Member Functions

 KoFormulaToolFactory (QObject *parent)
 ~KoFormulaToolFactory ()
KoToolcreateTool (KoCanvasBase *canvas)

Detailed Description

The factory for KoFormulaTool.

This reimplements the KoToolFactory class from the flake library in order to provide a factory for the KoTool based class KoFormulaTool. This is the KoTool that is used to edit a KoFormulaShape. This class is part of the FormulaShape plugin and follows the factory design pattern.

Definition at line 34 of file KoFormulaToolFactory.h.


Constructor & Destructor Documentation

KoFormulaToolFactory::KoFormulaToolFactory ( QObject parent  )  [explicit]

The constructor - reimplemented from KoToolFactory.

Definition at line 26 of file KoFormulaToolFactory.cpp.

KoFormulaToolFactory::~KoFormulaToolFactory (  ) 

The destructor - reimplemented from KoToolFactory.

Definition at line 36 of file KoFormulaToolFactory.cpp.


Member Function Documentation

KoTool * KoFormulaToolFactory::createTool ( KoCanvasBase *  canvas  ) 
Returns:
an instance of KoFormulaTool

Definition at line 39 of file KoFormulaToolFactory.cpp.


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