KReportPluginMetaData
#include <KReportPluginMetaData.h>
Public Member Functions | |
QString | id () const |
bool | isBuiltIn () const |
bool | isStatic () const |
int | priority () const |
Public Member Functions inherited from KPluginMetaData | |
KPluginMetaData (const KPluginMetaData &) | |
KPluginMetaData (const QJsonObject &metaData, const QString &fileName) | |
KPluginMetaData (const QPluginLoader &loader, KPluginMetaDataOptions options={}) | |
KPluginMetaData (const QString &pluginFile, KPluginMetaDataOptions options={}) | |
QList< KAboutPerson > | authors () const |
QString | bugReportUrl () const |
QString | category () const |
QString | copyrightText () const |
QString | description () const |
QString | fileName () const |
QStringList | formFactors () const |
QString | iconName () const |
bool | isEnabled (const T &config) const |
bool | isEnabledByDefault () const |
bool | isHidden () const |
bool | isStaticPlugin () const |
bool | isValid () const |
QString | license () const |
QString | licenseText () const |
QStringList | mimeTypes () const |
QString | name () const |
bool | operator!= (const KPluginMetaData &other) const |
KPluginMetaData & | operator= (const KPluginMetaData &) |
bool | operator== (const KPluginMetaData &other) const |
QList< KAboutPerson > | otherContributors () const |
QString | pluginId () const |
QJsonObject | rawData () const |
bool | supportsMimeType (const QString &mimeType) const |
QList< KAboutPerson > | translators () const |
bool | value (QStringView key, bool defaultValue) const |
QString | value (QStringView key, const QString &defaultValue=QString()) const |
QStringList | value (QStringView key, const QStringList &defaultValue) const |
int | value (QStringView key, int defaultValue) const |
QString | version () const |
QString | website () const |
Protected Member Functions | |
KReportPluginMetaData (const QJsonObject &metaData) | |
KReportPluginMetaData (const QPluginLoader &loader) | |
void | setBuiltIn (bool set) |
void | setStatic (bool set) |
Additional Inherited Members | |
Public Types inherited from KPluginMetaData | |
enum | KPluginMetaDataOption |
Static Public Member Functions inherited from KPluginMetaData | |
static KPluginMetaData | findPluginById (const QString &directory, const QString &pluginId, KPluginMetaDataOptions options={}) |
static QList< KPluginMetaData > | findPlugins (const QString &directory, std::function< bool(const KPluginMetaData &)> filter={}, KPluginMetaDataOptions options={}) |
static KPluginMetaData | fromJsonFile (const QString &jsonFile) |
Public Attributes inherited from KPluginMetaData | |
AllowEmptyMetaData | |
CacheMetaData | |
Detailed Description
Information about a KReport plugin.
Definition at line 31 of file KReportPluginMetaData.h.
Constructor & Destructor Documentation
◆ ~KReportPluginMetaData()
KReportPluginMetaData::~KReportPluginMetaData | ( | ) |
Definition at line 56 of file KReportPluginMetaData.cpp.
◆ KReportPluginMetaData() [1/2]
|
explicitprotected |
Definition at line 44 of file KReportPluginMetaData.cpp.
◆ KReportPluginMetaData() [2/2]
|
explicitprotected |
Definition at line 50 of file KReportPluginMetaData.cpp.
Member Function Documentation
◆ id()
QString KReportPluginMetaData::id | ( | ) | const |
- Returns
- internal name of the plugin, a shortcut of pluginId()
Definition at line 61 of file KReportPluginMetaData.cpp.
◆ isBuiltIn()
bool KReportPluginMetaData::isBuiltIn | ( | ) | const |
- Returns
- true if this plugin is built-in, i.e. has been provided by the KReport framework itself, not by a plugin file.
Definition at line 71 of file KReportPluginMetaData.cpp.
◆ isStatic()
bool KReportPluginMetaData::isStatic | ( | ) | const |
- Returns
- true if this plugin is static, i.e. is compiled-in.
Definition at line 81 of file KReportPluginMetaData.cpp.
◆ priority()
int KReportPluginMetaData::priority | ( | ) | const |
- Returns
- priority of the plugin Useful for user interfaces such as tool boxes.
Definition at line 66 of file KReportPluginMetaData.cpp.
◆ setBuiltIn()
|
protected |
Definition at line 76 of file KReportPluginMetaData.cpp.
◆ setStatic()
|
protected |
Definition at line 86 of file KReportPluginMetaData.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.