Diffstat (limited to 'noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp new file mode 100644 index 0000000..82dfb13 --- a/dev/null +++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp | |||
@@ -0,0 +1,56 @@ | |||
1 | /* | ||
2 | * stocktickerplugin.cpp | ||
3 | * | ||
4 | * copyright : (c) 2002 by L.J. Potter | ||
5 | * email : llornkcor@handhelds.org | ||
6 | * | ||
7 | */ | ||
8 | /*************************************************************************** | ||
9 | * * | ||
10 | * This program is free software; you can redistribute it and/or modify * | ||
11 | * it under the terms of the GNU General Public License as published by * | ||
12 | * the Free Software Foundation; either version 2 of the License, or * | ||
13 | * (at your option) any later version. * | ||
14 | * * | ||
15 | ***************************************************************************/ | ||
16 | |||
17 | |||
18 | #include "stocktickerplugin.h" | ||
19 | #include "stocktickerpluginwidget.h" | ||
20 | |||
21 | |||
22 | StockTickerPlugin::StockTickerPlugin() { | ||
23 | } | ||
24 | |||
25 | StockTickerPlugin::~StockTickerPlugin() { | ||
26 | } | ||
27 | |||
28 | QString StockTickerPlugin::pluginName() const { | ||
29 | return QObject::tr( "StockTicker plugin" ); | ||
30 | } | ||
31 | |||
32 | double StockTickerPlugin::versionNumber() const { | ||
33 | return 0.6; | ||
34 | } | ||
35 | |||
36 | QString StockTickerPlugin::pixmapNameWidget() const { | ||
37 | return "pass"; | ||
38 | } | ||
39 | |||
40 | QWidget* StockTickerPlugin::widget( QWidget * wid ) { | ||
41 | return new StockTickerPluginWidget( wid, "StockTicker " ); | ||
42 | } | ||
43 | |||
44 | QString StockTickerPlugin::pixmapNameConfig() const { | ||
45 | return 0l; | ||
46 | } | ||
47 | |||
48 | TodayConfigWidget* StockTickerPlugin::configWidget( QWidget* wid ) { | ||
49 | return 0l; | ||
50 | } | ||
51 | |||
52 | QString StockTickerPlugin::appName() const { | ||
53 | return "stockticker"; | ||
54 | } | ||
55 | |||
56 | |||