libs/flake

KoPanToolFactory Class Reference

Factory for the KoPanTool. More...

#include <KoPanToolFactory.h>

Inheritance diagram for KoPanToolFactory:

List of all members.

Public Member Functions

 KoPanToolFactory (QObject *parent)
KoToolcreateTool (KoCanvasBase *canvas)

Detailed Description

Factory for the KoPanTool.

Definition at line 27 of file KoPanToolFactory.h.


Constructor & Destructor Documentation

KoPanToolFactory::KoPanToolFactory ( QObject parent  ) 

constructor

Definition at line 26 of file KoPanToolFactory.cpp.


Member Function Documentation

KoTool * KoPanToolFactory::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 36 of file KoPanToolFactory.cpp.


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