libs/flake
KoCreateShapesToolFactory Class Reference
The factory for the KoCreateShapesTool. More...
#include <KoCreateShapesToolFactory.h>
Inheritance diagram for KoCreateShapesToolFactory:

Public Member Functions | |
| KoCreateShapesToolFactory (QObject *parent) | |
| ~KoCreateShapesToolFactory () | |
| KoTool * | createTool (KoCanvasBase *canvas) |
Detailed Description
The factory for the KoCreateShapesTool.
Definition at line 27 of file KoCreateShapesToolFactory.h.
Constructor & Destructor Documentation
| KoCreateShapesToolFactory::KoCreateShapesToolFactory | ( | QObject * | parent | ) |
Constructor.
Definition at line 30 of file KoCreateShapesToolFactory.cpp.
| KoCreateShapesToolFactory::~KoCreateShapesToolFactory | ( | ) |
Destructor.
Definition at line 38 of file KoCreateShapesToolFactory.cpp.
Member Function Documentation
| KoTool * KoCreateShapesToolFactory::createTool | ( | KoCanvasBase * | canvas | ) | [virtual] |
Instanciate a new tool.
- Parameters:
-
canvas the canvas that the new tool will work on. Should be passed to the constructor of the tool.
- Returns:
- a new KoTool instance, or zero if the tool doesn't want to show up.
- See also:
- canCreateTool()
Implements KoToolFactory.
Definition at line 42 of file KoCreateShapesToolFactory.cpp.
The documentation for this class was generated from the following files:
