Plasma
Go to the documentation of this file.
20 #ifndef PLASMA_DATACONTAINER_H
21 #define PLASMA_DATACONTAINER_H
23 #include <QtCore/QHash>
24 #include <QtCore/QObject>
25 #include <QtCore/QTimer>
34 class DataContainerPrivate;
66 friend class DataEnginePrivate;
97 void setData(
const QString &key,
const QVariant &value);
107 void removeAllData();
112 bool visualizationIsConnected(
QObject *visualization)
const;
124 void connectVisualization(
QObject *visualization, uint pollingInterval,
132 void setStorageEnabled(
bool store);
138 bool isStorageEnabled()
const;
143 bool needsToBeStored()
const;
149 void setNeedsToBeStored(
bool store);
164 void disconnectVisualization(
QObject *visualization);
170 void forceImmediateUpdate();
195 void becameUnused(
const QString &source);
216 void checkForUpdate();
225 uint timeSinceLastUpdate()
const;
235 void setNeedsUpdate(
bool update =
true);
251 void timerEvent(QTimerEvent * event);
254 friend class SignalRelay;
255 friend class DataContainerPrivate;
257 DataContainerPrivate *
const d;
259 Q_PRIVATE_SLOT(d,
void storeJobFinished(
KJob *job))
260 Q_PRIVATE_SLOT(d,
void populateFromStoredData(
KJob *job))
261 Q_PRIVATE_SLOT(d,
void retrieve())
266 #endif // multiple inclusion guard
QHash< QString, QVariant > Data
DataEngine loader and life time manager.
IntervalAlignment
Possible timing alignments.
Data provider for plasmoids (Plasma plugins)
A set of data exported via a DataEngine.
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
KDE's Doxygen guidelines are available online.