Plasma
datacontainer.cpp
Go to the documentation of this file.
void disconnectVisualization(QObject *visualization)
Disconnects an object from this DataContainer.
Definition: datacontainer.cpp:264
void timerEvent(QTimerEvent *event)
Definition: datacontainer.cpp:335
void checkForUpdate()
Checks whether any data has changed and, if so, emits dataUpdated().
Definition: datacontainer.cpp:290
bool visualizationIsConnected(QObject *visualization) const
Definition: datacontainer.cpp:80
void dataUpdated(const QString &source, const Plasma::DataEngine::Data &data)
Emitted when the data has been updated, allowing visualizations to reflect the new data...
void setNeedsToBeStored(bool store)
sets that the data container needs to be stored or not.
Definition: datacontainer.cpp:167
DataContainer(QObject *parent=0)
Constructs a default DataContainer that has no name or data associated with it.
Definition: datacontainer.cpp:30
bool isStorageEnabled() const
Definition: datacontainer.cpp:157
const DataEngine::Data data() const
Returns the data for this DataContainer.
Definition: datacontainer.cpp:41
uint timeSinceLastUpdate() const
Returns how long ago, in msecs, that the data in this container was last updated. ...
Definition: datacontainer.cpp:316
void forceImmediateUpdate()
Forces immediate update signals to all visualizations.
Definition: datacontainer.cpp:304
void connectVisualization(QObject *visualization, uint pollingInterval, Plasma::IntervalAlignment alignment)
Connects an object to this DataContainer.
Definition: datacontainer.cpp:85
void setNeedsUpdate(bool update=true)
Indicates that the data should be treated as dirty the next time hasUpdates() is called.
Definition: datacontainer.cpp:323
void setData(const QString &key, const QVariant &value)
Set a value for a key.
Definition: datacontainer.cpp:46
void becameUnused(const QString &source)
Emitted when the last visualization is disconnected.
bool needsToBeStored() const
Definition: datacontainer.cpp:162
void setStorageEnabled(bool store)
sets this data container to be automatically stored.
Definition: datacontainer.cpp:147
void removeAllData()
Removes all data currently associated with this source.
Definition: datacontainer.cpp:68
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.