00001 /* 00002 * addressplugin.h 00003 * 00004 * copyright : (c) 2003 by Stefan Eilers 00005 * email : eilers.stefan@epost.de 00006 * 00007 * This implementation was derived from the todolist plugin implementation 00008 * 00009 */ 00010 /*************************************************************************** 00011 * * 00012 * This program is free software; you can redistribute it and/or modify * 00013 * it under the terms of the GNU General Public License as published by * 00014 * the Free Software Foundation; either version 2 of the License, or * 00015 * (at your option) any later version. * 00016 * * 00017 ***************************************************************************/ 00018 00019 #ifndef ADDRESSBOOK_PLUGIN_H 00020 #define ADDRESSBOOK_PLUGIN_H 00021 00022 #include "addresspluginwidget.h" 00023 00024 #include <opie2/oclickablelabel.h> 00025 #include <opie2/todayplugininterface.h> 00026 00027 #include <qstring.h> 00028 #include <qwidget.h> 00029 00030 class AddressBookPlugin : public TodayPluginObject { 00031 00032 public: 00033 AddressBookPlugin(); 00034 ~AddressBookPlugin(); 00035 00036 QString pluginName() const; 00037 double versionNumber() const; 00038 QString pixmapNameWidget() const; 00039 QWidget* widget(QWidget *); 00040 QString pixmapNameConfig() const; 00041 TodayConfigWidget* configWidget(QWidget *); 00042 QString appName() const; 00043 bool excludeFromRefresh() const; 00044 void refresh(); 00045 void reinitialize(); 00046 00047 private: 00048 AddressBookPluginWidget* m_abWidget; 00049 }; 00050 00051 #endif
1.4.2