KReport
KReportPluginManager.cpp
141 kreportWarning() << "Plugin" << entry->metaData()->name() << "has no identifier so won't be added to manager";
147 m_pluginsByLegacyName.insert(entry->metaData()->value(QLatin1String("X-KDE-PluginInfo-LegacyName"), entry->metaData()->id()), entry);
178 const QVector<KPluginMetaData> metaDataList = KPluginLoader::findPlugins(QStringLiteral(KREPORT_BASE_NAME_LOWER));
218 const QString legacyName(entry->metaData()->value(QLatin1String("X-KDE-PluginInfo-LegacyName"), entry->metaData()->id()));
219 if (!legacyName.isEmpty() && entry->metaData()->id().startsWith(QLatin1String("org.kde.kreport"))) {
239 QString::fromLatin1("icons/kreport_%1.rcc").arg(KReportPrivate::supportedIconTheme), QtFatalMsg);
QJsonObject toObject() const const
T * create(const QString &keyword, QObject *parent=nullptr, const QVariantList &args=QVariantList())
void addBuiltInPlugin(const QJsonObject &json)
Add a built-in element plugins.
Definition: KReportPluginManager.cpp:133
fileName
const T value(const Key &key, const T &defaultValue) const const
QIcon fromTheme(const QString &name)
QString fileName() const
Manager class for finding and loading available plugins.
Definition: KReportPluginManager.h:40
QString version() const
QString iconName() const
Q_GLOBAL_STATIC(Internal::StaticControl, s_instance) class ControlPrivate
static QVector< KPluginMetaData > findPlugins(const QString &directory, std::function< bool(const KPluginMetaData &)> filter=std::function< bool(const KPluginMetaData &)>())
QString name() const
bool isEmpty() const const
QJsonValue value(const QString &key) const const
void setCheckable(bool)
bool value(const QString &key, bool defaultValue) const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const const
void setData(const QVariant &userData)
bool load()
QList< Key > keys() const const
QString arg(qlonglong a, int fieldWidth, int base, QChar fillChar) const const
QString fromLatin1(const char *str, int size)
void setObjectName(const QString &name)
QObject * instance()
QObject * parent() const const
An interface for plugins delivering KReport elements.
Definition: KReportPluginInterface.h:45
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 04:17:37 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 04:17:37 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.