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);
T * create(QObject *parent=nullptr, const QVariantList &args={})
bool value(QStringView key, bool defaultValue) const
QString fileName() const
QString iconName() const
QString name() const
QString version() const
An interface for plugins delivering KReport elements.
Definition KReportPluginInterface.h:46
void addBuiltInPlugin(const QJsonObject &json)
Add a built-in element plugins.
Definition KReportPluginManager.cpp:133
Manager class for finding and loading available plugins.
Definition KReportPluginManager.h:41
void setCheckable(bool)
void setData(const QVariant &data)
QIcon fromTheme(const QString &name)
QJsonValue value(QLatin1StringView key) const const
QJsonObject toObject() const const
QList< Key > keys() const const
T value(const Key &key, const T &defaultValue) const const
QObject * parent() const const
void setObjectName(QAnyStringView name)
fileName
QObject * instance()
bool load()
QString arg(Args &&... args) const const
QString fromLatin1(QByteArrayView str)
bool isEmpty() const const
bool startsWith(QChar c, Qt::CaseSensitivity cs) const const
This file is part of the KDE documentation.
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
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.