superkaramba
PlasmaSensorConnector Class Reference
#include <plasmaengine.h>
Inheritance diagram for PlasmaSensorConnector:

Detailed Description
This is a helper class that connects a Plasma::DataEngine together with a SuperKaramba Meter widget.Definition at line 36 of file plasmaengine.h.
Public Slots | |
| QString | format () const |
| void | setFormat (const QString &format) |
| void | setSource (const QString &source) |
| QString | source () const |
Signals | |
| void | sourceUpdated (const QString &source, QVariantMap data) |
Public Member Functions | |
| Meter * | meter () const |
| PlasmaSensorConnector (Meter *meter, const QString &source) | |
| virtual | ~PlasmaSensorConnector () |
Constructor & Destructor Documentation
Definition at line 66 of file plasmaengine.cpp.
| PlasmaSensorConnector::~PlasmaSensorConnector | ( | ) | [virtual] |
Definition at line 74 of file plasmaengine.cpp.
Member Function Documentation
| QString PlasmaSensorConnector::format | ( | ) | const [slot] |
Return the format the data should used for displaying.
Definition at line 95 of file plasmaengine.cpp.
| Meter * PlasmaSensorConnector::meter | ( | ) | const |
Definition at line 80 of file plasmaengine.cpp.
| void PlasmaSensorConnector::setFormat | ( | const QString & | format | ) | [slot] |
| void PlasmaSensorConnector::setSource | ( | const QString & | source | ) | [slot] |
| QString PlasmaSensorConnector::source | ( | ) | const [slot] |
| void PlasmaSensorConnector::sourceUpdated | ( | const QString & | source, | |
| QVariantMap | data | |||
| ) | [signal] |
Emitted when a data source got updated.
This signal will only be emitted if no or an emoty source was defined.
- Parameters:
-
source The name of the data source. data The map of the data that got changed.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference