Main Page   Class Hierarchy   Alphabetical List   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 <qtooltip.h>
00021 #include <ksimpleconfig.h>
00022 
00023 #include "karamba.h"
00024 #include "sensor.h"
00025 
00030 class XMMSSensor :  public Sensor
00031 {
00032     Q_OBJECT
00033 public:
00034     XMMSSensor( int interval, QString encoding="" );
00035     ~XMMSSensor();
00036     void update();
00037     void setMaxValue( SensorParams *);
00038     int getW();
00039     int getH();
00040     QString setCover();
00041 
00042 private:
00043     QTextCodec *codec;
00044     int w;
00045     int h;
00046     QString dir;
00047     QString cover;
00048     QString rcover;
00049     QString fp;
00050     QString title;
00051     QString file;
00052 
00053 };
00054 
00055 
00056 #endif // XMMSSENSOR_H

Generated on Tue Apr 29 19:56:58 2003 for karamba by doxygen1.2.18