Logo Search packages:      
Sourcecode: karamba version File versions  Download package

sensorsensor.h

#ifndef SENSORSENSOR_H
#define SENSORSENSOR_H

#include <qstring.h>
#include <qtextcodec.h>
#include <qmap.h>
#include <qstringlist.h>
#include <qregexp.h>
#include <kprocess.h>
#include <kprocio.h>


#include "sensor.h"

/**
 *
 * Hans Karlsson
 **/
00020 class SensorSensor : public Sensor
{
    Q_OBJECT
public:
    SensorSensor( int interval );

    ~SensorSensor();

    void update();


private:
    KShellProcess ksp;

    QMap<QString,QString> sensorMap;
    QString sensorResult;

private slots:
    void receivedStdout(KProcess *, char *buffer, int);
    void processExited(KProcess *);



};

#endif

Generated by  Doxygen 1.6.0   Back to index