|
Krita Source Code Documentation
|
#include <KoToolRegistry.h>
Inheritance diagram for KoToolRegistry:Public Member Functions | |
| KoToolRegistry () | |
| ~KoToolRegistry () override | |
Public Member Functions inherited from KoGenericRegistry< KoToolFactoryBase * > | |
| void | add (const QString &id, KoToolFactoryBase * item) |
| void | add (KoToolFactoryBase * item) |
| void | addAlias (const QString &alias, const QString &id) |
| QHash< QString, KoToolFactoryBase * >::const_iterator | constBegin () const |
| QHash< QString, KoToolFactoryBase * >::const_iterator | constEnd () const |
| bool | contains (const QString &id) const |
| int | count () const |
| QList< KoToolFactoryBase * > | doubleEntries () const |
| KoToolFactoryBase * | get (const QString &id) const |
| QList< QString > | keys () const |
| KoGenericRegistry () | |
| void | remove (const QString &id) |
| void | removeAlias (const QString &alias) |
| const KoToolFactoryBase * | value (const QString &id) const |
| QList< KoToolFactoryBase * > | values () const |
| virtual | ~KoGenericRegistry () |
Static Public Member Functions | |
| static KoToolRegistry * | instance () |
Private Member Functions | |
| void | init () |
| KoToolRegistry (const KoToolRegistry &) | |
| KoToolRegistry | operator= (const KoToolRegistry &) |
Private Attributes | |
| Private *const | d |
This singleton class keeps a register of all available flake tools, or rather, of the factories that the KoToolBox (and KoToolManager) will use to create flake tools.
Definition at line 21 of file KoToolRegistry.h.
| KoToolRegistry::KoToolRegistry | ( | ) |
Definition at line 24 of file KoToolRegistry.cpp.
|
override |
Definition at line 49 of file KoToolRegistry.cpp.
References KoGenericRegistry< KoToolFactoryBase * >::doubleEntries(), and KoGenericRegistry< KoToolFactoryBase * >::values().
|
private |
|
private |
Definition at line 29 of file KoToolRegistry.cpp.
References KoGenericRegistry< KoToolFactoryBase * >::add(), KoPluginLoader::PluginsConfig::blacklist, KoPluginLoader::PluginsConfig::group, KoPluginLoader::instance(), KoPluginLoader::load(), KoGenericRegistry< KoToolFactoryBase * >::remove(), and KoGenericRegistry< KoToolFactoryBase * >::value().
|
static |
Return an instance of the KoToolRegistry Create a new instance on first call and return the singleton.
Definition at line 55 of file KoToolRegistry.cpp.
References init().
|
private |
|
private |
Definition at line 39 of file KoToolRegistry.h.