Main Page   Class Hierarchy   Compound List   File List  

xmmssensor.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 XMMSSENSOR_H
00011 #define XMMSSENSOR_H
00012 
00013 #ifdef HAVE_CONFIG_H
00014 #include <config.h>
00015 #endif
00016 
00017 #include <qdatetime.h>
00018 #include <qregexp.h>
00019 #include <qtextcodec.h>
00020 #include <ksimpleconfig.h>
00021 
00022 #include "sensor.h"
00023 
00024 class XMMSSensor :  public Sensor
00025 {
00026     Q_OBJECT
00027 public:
00028     XMMSSensor( int interval, QString encoding="" );
00029     ~XMMSSensor();
00030     void update();
00031     void setMaxValue( SensorParams *);
00032     int getW();
00033     int getH();
00034     QString setCover();
00035 
00036 private:
00037     QTextCodec *codec;
00038     int w;
00039     int h;
00040     QString dir;
00041     QString cover;
00042     QString rcover;
00043     QString fp;
00044     QString title;
00045     QString file;
00046 
00047 };
00048 
00049 
00050 #endif // XMMSSENSOR_H

Generated on Fri Apr 25 18:51:12 2003 for karamba by doxygen1.2.18