• 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
textfile.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2003 Hans Karlsson <karlsson.h@home.se>
3  * Copyright (C) 2003-2004 Adam Geitgey <adam@rootnode.org>
4  * Copyright (c) 2005 Ryan Nickell <p0z3r@earthlink.net>
5  *
6  * This file is part of SuperKaramba.
7  *
8  * SuperKaramba is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * SuperKaramba is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with SuperKaramba; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21  ****************************************************************************/
22 #ifndef TEXTFILESENSOR_H
23 #define TEXTFILESENSOR_H
24 
25 #include <QFile>
26 
27 #include "sensors/sensor.h"
28 
33 class TextFileSensor : public Sensor
34 {
35 
36  Q_OBJECT
37 public:
38  TextFileSensor(const QString &fileName, bool rdf, int interval, const QString &encoding = QString());
39 
40  ~TextFileSensor();
41 
42  void update();
43 
44 private:
45  QTextCodec *codec;
46  QString fileName;
47  bool rdf;
48 };
49 
50 #endif // TEXTFILESENSOR_H
Sensor
Definition: sensor.h:17
sensor.h
TextFileSensor::TextFileSensor
TextFileSensor(const QString &fileName, bool rdf, int interval, const QString &encoding=QString())
Definition: textfile.cpp:17
TextFileSensor::update
void update()
Definition: textfile.cpp:34
TextFileSensor
Hans Karlsson.
Definition: textfile.h:33
TextFileSensor::~TextFileSensor
~TextFileSensor()
Definition: textfile.cpp:31
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