00001 /* 00002 * fortuneplugin.h 00003 * 00004 * copyright : (c) 2002 by Chris Larson 00005 * email : kergoth@handhelds.org 00006 * 00007 */ 00008 /*************************************************************************** 00009 * * 00010 * This program is free software; you can redistribute it and/or modify * 00011 * it under the terms of the GNU General Public License as published by * 00012 * the Free Software Foundation; either version 2 of the License, or * 00013 * (at your option) any later version. * 00014 * * 00015 ***************************************************************************/ 00016 00017 #ifndef FORTUNE_PLUGIN_H 00018 #define FORTUNE_PLUGIN_H 00019 00020 #include <opie2/oclickablelabel.h> 00021 #include <opie2/todayplugininterface.h> 00022 00023 class FortunePlugin : public TodayPluginObject 00024 { 00025 00026 public: 00027 FortunePlugin(); 00028 ~FortunePlugin(); 00029 00030 QString pluginName() const; 00031 double versionNumber() const; 00032 QString pixmapNameWidget() const; 00033 QWidget* widget( QWidget * ); 00034 QString pixmapNameConfig() const; 00035 TodayConfigWidget* configWidget( QWidget * ); 00036 QString appName() const; 00037 bool excludeFromRefresh() const; 00038 }; 00039 00040 #endif
1.4.2