00001 /* 00002 * mailplugin.h 00003 * 00004 * copyright : (c) 2002,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 00018 #ifndef MAIL_PLUGIN_H 00019 #define MAIL_PLUGIN_H 00020 00021 #include "mailpluginwidget.h" 00022 00023 #include <opie2/todayplugininterface.h> 00024 #include <opie2/todayconfigwidget.h> 00025 00026 00027 class MailPlugin : public TodayPluginObject { 00028 00029 public: 00030 MailPlugin(); 00031 ~MailPlugin(); 00032 00033 QString pluginName() const; 00034 double versionNumber() const; 00035 QString pixmapNameWidget() const; 00036 QWidget* widget(QWidget *); 00037 QString pixmapNameConfig() const; 00038 TodayConfigWidget* configWidget(QWidget *); 00039 QString appName() const; 00040 bool excludeFromRefresh() const; 00041 void refresh(); 00042 void reinitialize(); 00043 00044 private: 00045 MailPluginWidget* m_widget; 00046 }; 00047 00048 #endif
1.4.2