00001 /* 00002 * stocktickerplugin.cpp 00003 * 00004 * copyright : (c) 2002 by L.J. Potter 00005 * email : llornkcor@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 #include "stocktickerplugin.h" 00019 #include "stocktickerpluginwidget.h" 00020 #include "stocktickerconfig.h" 00021 00022 StockTickerPlugin::StockTickerPlugin() { 00023 } 00024 00025 StockTickerPlugin::~StockTickerPlugin() { 00026 } 00027 00028 QString StockTickerPlugin::pluginName() const { 00029 return QObject::tr( "StockTicker plugin" ); 00030 } 00031 00032 double StockTickerPlugin::versionNumber() const { 00033 return 0.6; 00034 } 00035 00036 QString StockTickerPlugin::pixmapNameWidget() const { 00037 return "stockticker/stockticker"; 00038 } 00039 00040 QWidget* StockTickerPlugin::widget( QWidget * wid ) { 00041 return new StockTickerPluginWidget( wid, "StockTicker " ); 00042 } 00043 00044 QString StockTickerPlugin::pixmapNameConfig() const { 00045 return "stockticker/stockticker"; 00046 } 00047 00048 TodayConfigWidget* StockTickerPlugin::configWidget( QWidget* wid ) { 00049 return new StocktickerPluginConfig( wid , "Stockticker Config" ); 00050 } 00051 00052 QString StockTickerPlugin::appName() const { 00053 return "stockticker"; 00054 } 00055 00056 bool StockTickerPlugin::excludeFromRefresh() const { 00057 00058 return true; 00059 } 00060
1.4.2