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

datebookplugin.cpp

Go to the documentation of this file.
00001 /*
00002  * datebookplugin.cpp
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 #include "datebookplugin.h"
00018 #include "datebookpluginconfig.h"
00019 
00020 
00021 DatebookPlugin::DatebookPlugin() {
00022 }
00023 
00024 DatebookPlugin::~DatebookPlugin() {
00025 }
00026 
00027 QString DatebookPlugin::pluginName() const {
00028     return QObject::tr( "Datebook plugin");
00029 }
00030 
00031 double DatebookPlugin::versionNumber() const {
00032     return 1.0;
00033 }
00034 
00035 QString DatebookPlugin::pixmapNameWidget() const {
00036     return "datebook/DateBook";
00037 }
00038 
00039 QWidget* DatebookPlugin::widget( QWidget* wid ) {
00040     m_widget = new DatebookPluginWidget( wid,  "Datebook" );
00041     return m_widget;
00042 }
00043 
00044 QString DatebookPlugin::pixmapNameConfig() const {
00045     return "datebook/DateBook";
00046 }
00047 
00048 TodayConfigWidget* DatebookPlugin::configWidget( QWidget* wid ) {
00049     return new DatebookPluginConfig( wid , "Datebook Config" );
00050 }
00051 
00052 QString DatebookPlugin::appName()  const {
00053     return "datebook";
00054 }
00055 
00056 bool DatebookPlugin::excludeFromRefresh() const {
00057     return false;
00058 }
00059 
00060 void DatebookPlugin::refresh() {
00061     if ( m_widget )  {
00062         m_widget->refresh();
00063     }
00064 }
00065 
00066 void DatebookPlugin::reinitialize()  {
00067     if ( m_widget )  {
00068         m_widget->reinitialize();
00069     }
00070 }
00071 

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