• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

superkaramba

PlasmaSensorConnector Class Reference

#include <plasmaengine.h>

Inheritance diagram for PlasmaSensorConnector:

Inheritance graph
[legend]

List of all members.


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

PlasmaSensorConnector::PlasmaSensorConnector ( Meter *  meter,
const QString &  source 
) [explicit]

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]

Set the format the data should use for displaying.

Definition at line 100 of file plasmaengine.cpp.

void PlasmaSensorConnector::setSource ( const QString &  source  )  [slot]

Set the name of the data source.

Definition at line 90 of file plasmaengine.cpp.

QString PlasmaSensorConnector::source (  )  const [slot]

Returns the name of the data source.

Definition at line 85 of file plasmaengine.cpp.

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:
  • plasmaengine.h
  • plasmaengine.cpp

superkaramba

Skip menu "superkaramba"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • okteta
  • printer-applet
  • superkaramba
  • sweeper
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal