author | zecke <zecke> | 2004-10-12 11:54:23 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-10-12 11:54:23 (UTC) |
commit | 04f5d8a14e4f09196242e1ed777b521ed8e72916 (patch) (unidiff) | |
tree | 1bf39725dc37fc4bfa298d739169b4df69ced95c | |
parent | a58a8f105b3f3e2b81165b4d9cebed5b59c0fb24 (diff) | |
download | opie-04f5d8a14e4f09196242e1ed777b521ed8e72916.zip opie-04f5d8a14e4f09196242e1ed777b521ed8e72916.tar.gz opie-04f5d8a14e4f09196242e1ed777b521ed8e72916.tar.bz2 |
Give more meaningfull ConfigWidget names
-rw-r--r-- | noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp | 2 | ||||
-rw-r--r-- | noncore/todayplugins/weather/weatherplugin.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp index 628431c..c1397f7 100644 --- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp +++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp | |||
@@ -17,44 +17,44 @@ | |||
17 | 17 | ||
18 | #include "stocktickerplugin.h" | 18 | #include "stocktickerplugin.h" |
19 | #include "stocktickerpluginwidget.h" | 19 | #include "stocktickerpluginwidget.h" |
20 | #include "stocktickerconfig.h" | 20 | #include "stocktickerconfig.h" |
21 | 21 | ||
22 | StockTickerPlugin::StockTickerPlugin() { | 22 | StockTickerPlugin::StockTickerPlugin() { |
23 | } | 23 | } |
24 | 24 | ||
25 | StockTickerPlugin::~StockTickerPlugin() { | 25 | StockTickerPlugin::~StockTickerPlugin() { |
26 | } | 26 | } |
27 | 27 | ||
28 | QString StockTickerPlugin::pluginName() const { | 28 | QString StockTickerPlugin::pluginName() const { |
29 | return QObject::tr( "StockTicker plugin" ); | 29 | return QObject::tr( "StockTicker plugin" ); |
30 | } | 30 | } |
31 | 31 | ||
32 | double StockTickerPlugin::versionNumber() const { | 32 | double StockTickerPlugin::versionNumber() const { |
33 | return 0.6; | 33 | return 0.6; |
34 | } | 34 | } |
35 | 35 | ||
36 | QString StockTickerPlugin::pixmapNameWidget() const { | 36 | QString StockTickerPlugin::pixmapNameWidget() const { |
37 | return "stockticker/stockticker"; | 37 | return "stockticker/stockticker"; |
38 | } | 38 | } |
39 | 39 | ||
40 | QWidget* StockTickerPlugin::widget( QWidget * wid ) { | 40 | QWidget* StockTickerPlugin::widget( QWidget * wid ) { |
41 | return new StockTickerPluginWidget( wid, "StockTicker " ); | 41 | return new StockTickerPluginWidget( wid, "StockTicker " ); |
42 | } | 42 | } |
43 | 43 | ||
44 | QString StockTickerPlugin::pixmapNameConfig() const { | 44 | QString StockTickerPlugin::pixmapNameConfig() const { |
45 | return "stockticker/stockticker"; | 45 | return "stockticker/stockticker"; |
46 | } | 46 | } |
47 | 47 | ||
48 | TodayConfigWidget* StockTickerPlugin::configWidget( QWidget* wid ) { | 48 | TodayConfigWidget* StockTickerPlugin::configWidget( QWidget* wid ) { |
49 | return new StocktickerPluginConfig( wid , "Stockticker" ); | 49 | return new StocktickerPluginConfig( wid , "Stockticker Config" ); |
50 | } | 50 | } |
51 | 51 | ||
52 | QString StockTickerPlugin::appName() const { | 52 | QString StockTickerPlugin::appName() const { |
53 | return "stockticker"; | 53 | return "stockticker"; |
54 | } | 54 | } |
55 | 55 | ||
56 | bool StockTickerPlugin::excludeFromRefresh() const { | 56 | bool StockTickerPlugin::excludeFromRefresh() const { |
57 | 57 | ||
58 | return true; | 58 | return true; |
59 | } | 59 | } |
60 | 60 | ||
diff --git a/noncore/todayplugins/weather/weatherplugin.cpp b/noncore/todayplugins/weather/weatherplugin.cpp index 80e1cc6..9cef1c8 100644 --- a/noncore/todayplugins/weather/weatherplugin.cpp +++ b/noncore/todayplugins/weather/weatherplugin.cpp | |||
@@ -34,45 +34,45 @@ WeatherPlugin::WeatherPlugin() { | |||
34 | } | 34 | } |
35 | 35 | ||
36 | WeatherPlugin::~WeatherPlugin() { | 36 | WeatherPlugin::~WeatherPlugin() { |
37 | } | 37 | } |
38 | 38 | ||
39 | QString WeatherPlugin::pluginName() const | 39 | QString WeatherPlugin::pluginName() const |
40 | { | 40 | { |
41 | return QObject::tr( "Weather plugin" ); | 41 | return QObject::tr( "Weather plugin" ); |
42 | } | 42 | } |
43 | 43 | ||
44 | double WeatherPlugin::versionNumber() const | 44 | double WeatherPlugin::versionNumber() const |
45 | { | 45 | { |
46 | return 0.1; | 46 | return 0.1; |
47 | } | 47 | } |
48 | 48 | ||
49 | QString WeatherPlugin::pixmapNameWidget() const | 49 | QString WeatherPlugin::pixmapNameWidget() const |
50 | { | 50 | { |
51 | return "todayweatherplugin/weather"; | 51 | return "todayweatherplugin/weather"; |
52 | } | 52 | } |
53 | 53 | ||
54 | QWidget* WeatherPlugin::widget( QWidget * wid ) | 54 | QWidget* WeatherPlugin::widget( QWidget * wid ) |
55 | { | 55 | { |
56 | return new WeatherPluginWidget( wid, "Weather" ); | 56 | return new WeatherPluginWidget( wid, "Weather" ); |
57 | } | 57 | } |
58 | 58 | ||
59 | QString WeatherPlugin::pixmapNameConfig() const | 59 | QString WeatherPlugin::pixmapNameConfig() const |
60 | { | 60 | { |
61 | return "todayweatherplugin/weather"; | 61 | return "todayweatherplugin/weather"; |
62 | } | 62 | } |
63 | 63 | ||
64 | TodayConfigWidget* WeatherPlugin::configWidget( QWidget* wid ) | 64 | TodayConfigWidget* WeatherPlugin::configWidget( QWidget* wid ) |
65 | { | 65 | { |
66 | return new WeatherPluginConfig( wid, "Weather" ); | 66 | return new WeatherPluginConfig( wid, "Weather Config" ); |
67 | } | 67 | } |
68 | 68 | ||
69 | QString WeatherPlugin::appName() const | 69 | QString WeatherPlugin::appName() const |
70 | { | 70 | { |
71 | return "Weather"; | 71 | return "Weather"; |
72 | } | 72 | } |
73 | 73 | ||
74 | bool WeatherPlugin::excludeFromRefresh() const { | 74 | bool WeatherPlugin::excludeFromRefresh() const { |
75 | 75 | ||
76 | return true; | 76 | return true; |
77 | } | 77 | } |
78 | 78 | ||