KDECore
kplugininfo.h
Go to the documentation of this file.
131 static KPluginInfo::List fromServices(const KService::List &services, const KConfigGroup &config = KConfigGroup());
142 static KPluginInfo::List fromFiles(const QStringList &files, const KConfigGroup &config = KConfigGroup());
152 static KPluginInfo::List fromKPartsInstanceName(const QString &componentName, const KConfigGroup &config = KConfigGroup());
void save(KConfigGroup config=KConfigGroup())
Save state of the plugin - enabled or not.
Definition kplugininfo.cpp:375
bool isPluginEnabledByDefault() const
Definition kplugininfo.cpp:248
static KPluginInfo::List fromFiles(const QStringList &files, const KConfigGroup &config=KConfigGroup())
Definition kplugininfo.cpp:208
KPluginInfo & operator=(const KPluginInfo &rhs)
Copies the KPluginInfo object to share the data with copy.
Definition kplugininfo.cpp:153
void setConfig(const KConfigGroup &config)
Set the KConfigGroup to use for load()ing and save()ing the configuration.
Definition kplugininfo.cpp:354
static KPluginInfo::List fromServices(const KService::List &services, const KConfigGroup &config=KConfigGroup())
Definition kplugininfo.cpp:195
bool operator>(const KPluginInfo &rhs) const
Greater than relation comparing the categories and if they are the same using the names.
Definition kplugininfo.cpp:180
void load(const KConfigGroup &config=KConfigGroup())
Load the state of the plugin - enabled or not.
Definition kplugininfo.cpp:390
static KPluginInfo::List fromKPartsInstanceName(const QString &componentName, const KConfigGroup &config=KConfigGroup())
Definition kplugininfo.cpp:220
void setPluginEnabled(bool enabled)
Set whether the plugin is currently loaded.
Definition kplugininfo.cpp:234
KPluginInfo(const QString &filename, const char *resource=0)
Read plugin info from filename.
Definition kplugininfo.cpp:79
Definition kaboutdata.h:33
bool operator<(const KEntryKey &k1, const KEntryKey &k2)
Compares two KEntryKeys (needed for QMap).
Definition kconfigdata.h:124
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.