noatunsensor.h

00001 /***************************************************************************
00002  *   Copyright (C) 2003 by Hans Karlsson                                   *
00003  *   karlsson.h@home.se                                                      *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  ***************************************************************************/
00010 #ifndef NOATUNSENSOR_H
00011 #define NOATUNSENSOR_H
00012 
00013 #include "sensor.h"
00014 #include <dcopclient.h>
00015 #include <qregexp.h>
00016 #include <qcstring.h>
00017 #include <qdatastream.h>
00018 #include <qstringlist.h>
00019 
00023 class NoatunSensor : public Sensor
00024 {
00025 public:
00026     NoatunSensor( int interval, DCOPClient *client);
00027 
00028     ~NoatunSensor();
00029 
00030     void update();
00031     void setMaxValue( SensorParams *);
00032 
00033 
00034 
00035 private:
00036     QCString noatunID;
00037 
00038     bool isRunning();
00039     QString getTitle();
00040     int getTime();
00041     int getLength();
00042 
00043 
00044     DCOPClient *client;
00045     QCString appId;
00046 };
00047 
00048 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys