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

superkaramba

Public Slots | Signals | Public Member Functions | List of all members
PlasmaSensorConnector Class Reference

#include <plasmaengine.h>

Inheritance diagram for PlasmaSensorConnector:
Inheritance graph
[legend]

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

 PlasmaSensorConnector (Meter *meter, const QString &source)
 
virtual ~PlasmaSensorConnector ()
 
Meter * meter () const
 

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.

Constructor & Destructor Documentation

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

Definition at line 67 of file plasmaengine.cpp.

PlasmaSensorConnector::~PlasmaSensorConnector ( )
virtual

Definition at line 75 of file plasmaengine.cpp.

Member Function Documentation

QString PlasmaSensorConnector::format ( ) const
slot

Return the format the data should used for displaying.

Definition at line 96 of file plasmaengine.cpp.

Meter * PlasmaSensorConnector::meter ( ) const

Definition at line 81 of file plasmaengine.cpp.

void PlasmaSensorConnector::setFormat ( const QString &  format)
slot

Set the format the data should use for displaying.

Definition at line 101 of file plasmaengine.cpp.

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

Set the name of the data source.

Definition at line 91 of file plasmaengine.cpp.

QString PlasmaSensorConnector::source ( ) const
slot

Returns the name of the data source.

Definition at line 86 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
sourceThe name of the data source.
dataThe map of the data that got changed.

The documentation for this class was generated from the following files:
  • plasmaengine.h
  • plasmaengine.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

superkaramba

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

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal