• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • superkaramba
 

superkaramba

  • superkaramba
  • src
programsensor.h
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 #ifndef PROGRAMSENSOR_H
11 #define PROGRAMSENSOR_H
12 #include "sensor.h"
13 #include <tdeprocess.h>
14 #include <tdeprocio.h>
15 #include <tqstring.h>
16 #include <tqstringlist.h>
17 #include <tqvaluevector.h>
18 #include <tqtextcodec.h>
19 class ProgramSensor : public Sensor
20 {
21  TQ_OBJECT
22 
23 public:
24  ProgramSensor(const TQString &programName, int msec=1000, TQString encoding="" );
25  ~ProgramSensor();
26  void update();
27 
28 private:
29  TQTextCodec *codec;
30  KShellProcess ksp;
31  TQString programName;
32  TQString sensorResult;
33 
34 public slots:
35  void receivedStdout(TDEProcess *proc, char *buffer, int buflen);
36  void processExited(TDEProcess *proc);
37 };
38 
39 #endif // PROGRAMSENSOR_H

superkaramba

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

superkaramba

Skip menu "superkaramba"
  • kcalc
  •   knumber
  • superkaramba
Generated for superkaramba by doxygen 1.8.13
This website is maintained by Timothy Pearson.