Krita Source Code Documentation
Loading...
Searching...
No Matches
KoPluginLoader::PluginsConfig Struct Reference

#include <KoPluginLoader.h>

Public Member Functions

bool isValid () const
 
 PluginsConfig ()
 

Public Attributes

const char * blacklist {nullptr}
 This contains the variable name for the list of plugins (by library name) that will not be loaded.
 
const char * group {nullptr }
 

Detailed Description

Config object for load() It is possible to limit which plugins will be loaded in the KConfig configuration file by stating explicitly which plugins are wanted.

Definition at line 64 of file KoPluginLoader.h.

Constructor & Destructor Documentation

◆ PluginsConfig()

KoPluginLoader::PluginsConfig::PluginsConfig ( )
inline

Definition at line 65 of file KoPluginLoader.h.

65: group(nullptr), blacklist(nullptr) {}
const char * blacklist
This contains the variable name for the list of plugins (by library name) that will not be loaded.

Member Function Documentation

◆ isValid()

bool KoPluginLoader::PluginsConfig::isValid ( ) const
inline

Definition at line 77 of file KoPluginLoader.h.

77 {
78 return group && blacklist;
79 }

Member Data Documentation

◆ blacklist

const char* KoPluginLoader::PluginsConfig::blacklist {nullptr}

This contains the variable name for the list of plugins (by library name) that will not be loaded.

Definition at line 75 of file KoPluginLoader.h.

75{nullptr};

◆ group

const char* KoPluginLoader::PluginsConfig::group {nullptr }

The properties are retrieved from the config using the following construct; /code KConfigGroup configGroup = KSharedConfig::openConfig()->group(config.group); /endcode For most cases you can pass the string "krita" into this variable.

Definition at line 73 of file KoPluginLoader.h.

73{nullptr };

The documentation for this struct was generated from the following file: