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