Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

mailplugin.cpp

Go to the documentation of this file.
00001 /*
00002  * mailplugin.cpp
00003  *
00004  * copyright   : (c) 2002,2003,2004 by Maximilian Rei� * email       : harlekin@handhelds.org
00005  *
00006  */
00007 /***************************************************************************
00008  *                                                                         *
00009  *   This program is free software; you can redistribute it and/or modify  *
00010  *   it under the terms of the GNU General Public License as published by  *
00011  *   the Free Software Foundation; either version 2 of the License, or     *
00012  *   (at your option) any later version.                                   *
00013  *                                                                         *
00014  ***************************************************************************/
00015 
00016 
00017 #include "mailplugin.h"
00018 
00019 MailPlugin::MailPlugin() {
00020     m_widget = 0l;
00021 }
00022 
00023 MailPlugin::~MailPlugin() {
00024 }
00025 
00026 QString MailPlugin::pluginName() const {
00027     return QObject::tr( "Mail plugin" );
00028 }
00029 
00030 double MailPlugin::versionNumber() const {
00031     return 0.6;
00032 }
00033 
00034 QString MailPlugin::pixmapNameWidget() const {
00035     return "mail/desktopicon";
00036 }
00037 
00038 QWidget* MailPlugin::widget( QWidget * wid ) {
00039     m_widget = new MailPluginWidget( wid,  "Datebook" );
00040     return m_widget;
00041 }
00042 
00043 
00044 QString MailPlugin::pixmapNameConfig() const {
00045     return 0l;
00046 }
00047 
00048 TodayConfigWidget* MailPlugin::configWidget( QWidget* ) {
00049     return 0l;
00050 }
00051 
00052 QString MailPlugin::appName() const {
00053     return "opiemail";
00054 }
00055 
00056 
00057 bool MailPlugin::excludeFromRefresh() const {
00058     return false;
00059 }
00060 
00061 void MailPlugin::refresh()  {
00062     if ( m_widget )  {
00063         m_widget->refresh();
00064     }
00065 }
00066 
00067 void MailPlugin::reinitialize()  {
00068 }

Generated on Sat Nov 5 16:15:55 2005 for OPIE by  doxygen 1.4.2