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

superkaramba

  • sources
  • kde-4.12
  • kdeutils
  • superkaramba
  • src
  • sensors
sensorparams.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2003 by Hans Karlsson *
3  * karlsson.h@home.se *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  ***************************************************************************/
10 
11 #include "sensorparams.h"
12 
13 SensorParams::SensorParams(Meter* m)
14 {
15  meter = m;
16 }
17 
18 SensorParams::~SensorParams()
19 {}
20 
21 void SensorParams::addParam(const QString &name, const QString &value)
22 {
23  params[name] = value;
24 }
25 
26 QString SensorParams::getParam(const QString &name) const
27 {
28  return params[name];
29 }
30 
31 Meter* SensorParams::getMeter() const
32 {
33  return meter;
34 }
35 
36 #include "sensorparams.moc"
sensorparams.h
SensorParams::~SensorParams
~SensorParams()
Definition: sensorparams.cpp:18
SensorParams::getMeter
Meter * getMeter() const
Definition: sensorparams.cpp:31
SensorParams::addParam
void addParam(const QString &name, const QString &value)
Definition: sensorparams.cpp:21
SensorParams::getParam
QString getParam(const QString &) const
Definition: sensorparams.cpp:26
Meter
Definition: meters/meter.h:23
SensorParams::SensorParams
SensorParams(Meter *)
Definition: sensorparams.cpp:13
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