|
Krita Source Code Documentation
|
#include <KoDockRegistry.h>
Inheritance diagram for KoDockRegistry:Public Member Functions | |
| KoDockRegistry () | |
| ~KoDockRegistry () override | |
Public Member Functions inherited from KoGenericRegistry< KoDockFactoryBase * > | |
| void | add (const QString &id, KoDockFactoryBase * item) |
| void | add (KoDockFactoryBase * item) |
| void | addAlias (const QString &alias, const QString &id) |
| QHash< QString, KoDockFactoryBase * >::const_iterator | constBegin () const |
| QHash< QString, KoDockFactoryBase * >::const_iterator | constEnd () const |
| bool | contains (const QString &id) const |
| int | count () const |
| QList< KoDockFactoryBase * > | doubleEntries () const |
| KoDockFactoryBase * | get (const QString &id) const |
| QList< QString > | keys () const |
| KoGenericRegistry () | |
| void | remove (const QString &id) |
| void | removeAlias (const QString &alias) |
| const KoDockFactoryBase * | value (const QString &id) const |
| QList< KoDockFactoryBase * > | values () const |
| virtual | ~KoGenericRegistry () |
Static Public Member Functions | |
| static KoDockRegistry * | instance () |
Private Member Functions | |
| void | init () |
| KoDockRegistry (const KoDockRegistry &) | |
| KoDockRegistry | operator= (const KoDockRegistry &) |
Private Attributes | |
| Private *const | d |
This singleton class keeps a register of all available dockers, or rather, of the factories that can create the QDockWidget instances for the mainwindows. Note that adding your KoDockFactoryBase to this registry will mean it will automatically be added to an application, no extra code is required for that.
Definition at line 25 of file KoDockRegistry.h.
| KoDockRegistry::KoDockRegistry | ( | ) |
Definition at line 20 of file KoDockRegistry.cpp.
|
override |
Definition at line 34 of file KoDockRegistry.cpp.
References KoGenericRegistry< KoDockFactoryBase * >::values().
|
private |
|
private |
Definition at line 25 of file KoDockRegistry.cpp.
References KoPluginLoader::PluginsConfig::blacklist, KoPluginLoader::PluginsConfig::group, KoPluginLoader::instance(), and KoPluginLoader::load().
|
static |
Return an instance of the KoDockRegistry Create a new instance on first call and return the singleton.
Definition at line 41 of file KoDockRegistry.cpp.
References init().
|
private |
|
private |
Definition at line 44 of file KoDockRegistry.h.