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

fortuneplugin.cpp

Go to the documentation of this file.
00001 /*
00002  * fortuneplugin.cpp
00003  *
00004  * copyright   : (c) 2002 by Chris Larson
00005  * email       : kergoth@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 
00019 #include "fortuneplugin.h"
00020 #include "fortunepluginwidget.h"
00021 
00022 
00023 FortunePlugin::FortunePlugin()
00024 {
00025 }
00026 
00027 FortunePlugin::~FortunePlugin()
00028 {
00029 }
00030 
00031 QString FortunePlugin::pluginName() const
00032 {
00033         return QObject::tr( "Fortune plugin" );
00034 }
00035 
00036 double FortunePlugin::versionNumber() const
00037 {
00038         return 0.1;
00039 }
00040 
00041 QString FortunePlugin::pixmapNameWidget() const
00042 {
00043         return "Fortune";
00044 }
00045 
00046 QWidget* FortunePlugin::widget( QWidget *wid )
00047 {
00048         return new FortunePluginWidget( wid, "Fortune" );
00049 }
00050 
00051 QString FortunePlugin::pixmapNameConfig() const
00052 {
00053         return "Fortune";
00054 }
00055 
00056 TodayConfigWidget* FortunePlugin::configWidget( QWidget* /*wid*/ )
00057 {
00058 //    return new FortunePluginConfig( wid , "Fortune" );
00059         return 0l;
00060 }
00061 
00062 QString FortunePlugin::appName() const
00063 {
00064         return  "fortune";
00065 }
00066 
00067 
00068 bool FortunePlugin::excludeFromRefresh() const
00069 {
00070         return false;
00071 }

Generated on Sat Nov 5 16:18:00 2005 for OPIE by  doxygen 1.4.2