KisToolRegistry Class Reference
#include <kis_tool_registry.h>
Inheritance diagram for KisToolRegistry:
Public Member Functions | |
| vKisTool | createTools (TDEActionCollection *ac, KisCanvasSubject *subject) const |
| KisTool * | createTool (TDEActionCollection *ac, KisCanvasSubject *subject, KisID &id) const |
| Public Member Functions inherited from KisGenericRegistry< KisToolFactorySP > | |
| void | add (KisToolFactorySP item) |
| KisToolFactorySP | remove (const KisID &name) |
| KisToolFactorySP | get (const KisID &name) const |
| bool | exists (const KisID &id) const |
| bool | search (const TQString &t, KisID &result) const |
| KisIDList | listKeys () const |
Static Public Member Functions | |
| static KisToolRegistry * | instance () |
Additional Inherited Members | |
| Protected Types inherited from KisGenericRegistry< KisToolFactorySP > | |
| typedef std::map< KisID, KisToolFactorySP > | storageMap |
| Protected Member Functions inherited from KisGenericRegistry< KisToolFactorySP > | |
| KisGenericRegistry | operator= (const KisGenericRegistry &) |
| Protected Attributes inherited from KisGenericRegistry< KisToolFactorySP > | |
| storageMap | m_storage |
Detailed Description
A registry, similar to the tool and colormodel registry where new tool plugins can register themselves.
KisToolRegistry in contrast to the paintop and colormodel registries, creates a vector containing instances of all registered tools.
Definition at line 38 of file kis_tool_registry.h.
Constructor & Destructor Documentation
◆ ~KisToolRegistry()
|
virtual |
Definition at line 66 of file kis_tool_registry.cpp.
Member Function Documentation
◆ createTool()
| KisTool * KisToolRegistry::createTool | ( | TDEActionCollection * | ac, |
| KisCanvasSubject * | subject, | ||
| KisID & | id ) const |
Definition at line 103 of file kis_tool_registry.cpp.
◆ createTools()
| vKisTool KisToolRegistry::createTools | ( | TDEActionCollection * | ac, |
| KisCanvasSubject * | subject ) const |
Definition at line 81 of file kis_tool_registry.cpp.
◆ instance()
|
static |
Definition at line 70 of file kis_tool_registry.cpp.
The documentation for this class was generated from the following files:
