Plasma
dataenginescript.cpp
Go to the documentation of this file.
void removeSource(const QString &source)
Definition: dataenginescript.cpp:205
void setMaxSourceCount(uint limit)
Definition: dataenginescript.cpp:133
QHash< QString, DataContainer * > SourceDict
Definition: dataengine.h:70
KPluginInfo description() const
Definition: dataenginescript.cpp:91
void setDataEngine(DataEngine *dataEngine)
Sets the Plasma::DataEngine associated with this DataEngineScript.
Definition: dataenginescript.cpp:46
virtual bool sourceRequestEvent(const QString &name)
Called when the script should create a source that does not currently exist.
Definition: dataenginescript.cpp:61
void updateAllSources()
Definition: dataenginescript.cpp:212
DataEngine * dataEngine() const
Returns the Plasma::DataEngine associated with this script component.
Definition: dataenginescript.cpp:51
This class provides a generic API for write access to settings or services.
Definition: service.h:91
void forceImmediateUpdateOfAllVisualizations()
Definition: dataenginescript.cpp:219
void removeData(const QString &source, const QString &key)
Definition: dataenginescript.cpp:126
void removeAllSources()
Definition: dataenginescript.cpp:162
void removeAllData(const QString &source)
Definition: dataenginescript.cpp:119
The base class for scripting interfaces to be used in loading plasmoids of a given language...
Definition: scriptengine.h:65
void setIcon(const QString &icon)
Definition: dataenginescript.cpp:191
void scheduleSourcesUpdated()
Definition: dataenginescript.cpp:198
void setData(const QString &source, const QString &key, const QVariant &value)
Definition: dataenginescript.cpp:97
virtual bool updateSourceEvent(const QString &source)
Called when the script should refresh the data contained in a given source.
Definition: dataenginescript.cpp:67
void setPollingInterval(uint frequency)
Definition: dataenginescript.cpp:155
DataEngine::SourceDict containerDict() const
Definition: dataenginescript.cpp:176
void setName(const QString &name)
Definition: dataenginescript.cpp:184
virtual QStringList sources() const
Definition: dataenginescript.cpp:56
void addSource(DataContainer *source)
Definition: dataenginescript.cpp:169
DataEngineScript(QObject *parent=0)
Default constructor for a DataEngineScript.
Definition: dataenginescript.cpp:35
virtual Service * serviceForSource(const QString &source)
Definition: dataenginescript.cpp:73
const Package * package() const
Definition: dataenginescript.cpp:85
void setMinimumPollingInterval(int minimumMs)
Definition: dataenginescript.cpp:140
int minimumPollingInterval() const
Definition: dataenginescript.cpp:147
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.