superkaramba
rsssensor.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef RSSSENSOR_H
00012 #define RSSSENSOR_H
00013
00014 #include <sensor.h>
00015 #include <tqstring.h>
00016 #include <tqtextcodec.h>
00017
00022 class RssSensor : public Sensor
00023 {
00024 Q_OBJECT
00025 public:
00026 RssSensor( const TQString &source, int interval, const TQString &format, const TQString &encoding=TQString::null );
00027
00028 ~RssSensor();
00029
00030 void update();
00031 private:
00032 TQTextCodec *codec;
00033 TQString source;
00034 TQString format;
00035 TQString encoding;
00036
00037 };
00038
00039 #endif // RSSSENSOR_H