rsssensor.h

00001 /***************************************************************************
00002  *   Copyright (C) 2003 by Ralph M. Churchill                              *
00003  *   mrchucho@yahoo.com                                                    *
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 
00011 #ifndef RSSSENSOR_H
00012 #define RSSSENSOR_H
00013 
00014 #include <sensor.h>
00015 #include <qstring.h>
00016 #include <qtextcodec.h>
00017 
00022 class RssSensor : public Sensor
00023 {
00024     Q_OBJECT
00025 public:
00026     RssSensor( const QString &source, int interval, const QString &format, const QString &encoding=QString::null );
00027 
00028     ~RssSensor();
00029 
00030     void update();
00031 private:
00032     QTextCodec *codec;
00033     QString source;
00034     QString format;
00035     QString encoding;
00036 
00037 };
00038 
00039 #endif // RSSSENSOR_H
KDE Home | KDE Accessibility Home | Description of Access Keys