00001 /* 00002 * todoplugin.h 00003 * 00004 * copyright : (c) 2002,2003, 2004 by Maximilian Reiß 00005 * email : harlekin@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 TODOLIST_PLUGIN_H 00018 #define TODOLIST_PLUGIN_H 00019 00020 00021 #include "todopluginwidget.h" 00022 00023 #include <opie2/oclickablelabel.h> 00024 #include <opie2/todayplugininterface.h> 00025 00026 #include <qstring.h> 00027 #include <qguardedptr.h> 00028 #include <qwidget.h> 00029 00030 00031 class TodolistPlugin : public TodayPluginObject { 00032 00033 public: 00034 TodolistPlugin(); 00035 ~TodolistPlugin(); 00036 00037 QString pluginName() const; 00038 double versionNumber() const; 00039 QString pixmapNameWidget() const; 00040 QWidget* widget(QWidget *); 00041 QString pixmapNameConfig() const; 00042 TodayConfigWidget* configWidget(QWidget *); 00043 QString appName() const; 00044 bool excludeFromRefresh() const; 00045 void refresh(); 00046 void reinitialize(); 00047 00048 private: 00049 TodolistPluginWidget* m_widget; 00050 }; 00051 00052 #endif
1.4.2