Plasma
dataenginemanager.cpp
Go to the documentation of this file.
188 KPluginInfo::List DataEngineManager::listEngineInfoByCategory(const QString &category, const QString &parentApp)
215 out << "================================== " << KGlobal::locale()->formatDateTime(QDateTime::currentDateTime()) << endl;
QString & append(QChar ch)
DataEngine * loadDataEngine(const QString &name)
Load a DataEngine plugin.
Definition: pluginloader.cpp:161
static PluginLoader * pluginLoader()
Return the active plugin loader.
Definition: pluginloader.cpp:67
Plasma::DataEngine * engine(const QString &name) const
Returns a data engine object if one is loaded and available.
Definition: dataenginemanager.cpp:106
DataEngine(QObject *parent=0, KService::Ptr service=KService::Ptr(0))
Constructor.
Definition: dataengine.cpp:50
const Key & key() const
bool hasNext() const
int count(const Key &key) const
DataEngine loader and life time manager.
Definition: dataenginemanager.h:42
const char * name() const
QString number(int n, int base)
int count(const T &value) const
void append(const T &value)
bool isStorageEnabled() const
Definition: datacontainer.cpp:157
objectName
bool isEmpty() const
void setValid(bool valid)
Sets whether or not this engine is valid, e.g.
Definition: dataengine.cpp:352
Plasma::DataEngine * loadEngine(const QString &name)
Loads a data engine and increases the reference count on it.
Definition: dataenginemanager.cpp:122
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
Item next()
static QStringList listAllEngines(const QString &parentApp=QString())
Definition: dataenginemanager.cpp:160
QDateTime currentDateTime()
static KPluginInfo::List listEngineInfoByCategory(const QString &category, const QString &parentApp=QString())
Returns a list of all known DataEngines filtering by category.
Definition: dataenginemanager.cpp:188
KPluginInfo::List listDataEngineInfo(const QString &parentApp=QString())
Returns a list of all known DataEngines.
Definition: pluginloader.cpp:281
void unloadEngine(const QString &name)
Decreases the reference count on the engine.
Definition: dataenginemanager.cpp:145
const T & value() const
QObject * parent() const
void timerEvent(QTimerEvent *event)
Reimplemented from QObject.
Definition: dataenginemanager.cpp:202
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
virtual void init()
This method is called when the DataEngine is started.
Definition: dataengine.cpp:153
int receivers(const char *signal) const
static KPluginInfo::List listEngineInfo(const QString &parentApp=QString())
Returns a list of all known DataEngines.
Definition: dataenginemanager.cpp:183
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.