summaryrefslogtreecommitdiff
authorzecke <zecke>2004-10-12 11:54:23 (UTC)
committer zecke <zecke>2004-10-12 11:54:23 (UTC)
commit04f5d8a14e4f09196242e1ed777b521ed8e72916 (patch) (unidiff)
tree1bf39725dc37fc4bfa298d739169b4df69ced95c
parenta58a8f105b3f3e2b81165b4d9cebed5b59c0fb24 (diff)
downloadopie-04f5d8a14e4f09196242e1ed777b521ed8e72916.zip
opie-04f5d8a14e4f09196242e1ed777b521ed8e72916.tar.gz
opie-04f5d8a14e4f09196242e1ed777b521ed8e72916.tar.bz2
Give more meaningfull ConfigWidget names
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp2
-rw-r--r--noncore/todayplugins/weather/weatherplugin.cpp2
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
@@ -1,60 +1,60 @@
1/* 1/*
2 * stocktickerplugin.cpp 2 * stocktickerplugin.cpp
3 * 3 *
4 * copyright : (c) 2002 by L.J. Potter 4 * copyright : (c) 2002 by L.J. Potter
5 * email : llornkcor@handhelds.org 5 * email : llornkcor@handhelds.org
6 * 6 *
7 */ 7 */
8/*************************************************************************** 8/***************************************************************************
9 * * 9 * *
10 * This program is free software; you can redistribute it and/or modify * 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 * 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 * 12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. * 13 * (at your option) any later version. *
14 * * 14 * *
15 ***************************************************************************/ 15 ***************************************************************************/
16 16
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
22StockTickerPlugin::StockTickerPlugin() { 22StockTickerPlugin::StockTickerPlugin() {
23} 23}
24 24
25StockTickerPlugin::~StockTickerPlugin() { 25StockTickerPlugin::~StockTickerPlugin() {
26} 26}
27 27
28QString StockTickerPlugin::pluginName() const { 28QString StockTickerPlugin::pluginName() const {
29 return QObject::tr( "StockTicker plugin" ); 29 return QObject::tr( "StockTicker plugin" );
30} 30}
31 31
32double StockTickerPlugin::versionNumber() const { 32double StockTickerPlugin::versionNumber() const {
33 return 0.6; 33 return 0.6;
34} 34}
35 35
36QString StockTickerPlugin::pixmapNameWidget() const { 36QString StockTickerPlugin::pixmapNameWidget() const {
37 return "stockticker/stockticker"; 37 return "stockticker/stockticker";
38} 38}
39 39
40QWidget* StockTickerPlugin::widget( QWidget * wid ) { 40QWidget* StockTickerPlugin::widget( QWidget * wid ) {
41 return new StockTickerPluginWidget( wid, "StockTicker " ); 41 return new StockTickerPluginWidget( wid, "StockTicker " );
42} 42}
43 43
44QString StockTickerPlugin::pixmapNameConfig() const { 44QString StockTickerPlugin::pixmapNameConfig() const {
45 return "stockticker/stockticker"; 45 return "stockticker/stockticker";
46} 46}
47 47
48TodayConfigWidget* StockTickerPlugin::configWidget( QWidget* wid ) { 48TodayConfigWidget* StockTickerPlugin::configWidget( QWidget* wid ) {
49 return new StocktickerPluginConfig( wid , "Stockticker" ); 49 return new StocktickerPluginConfig( wid , "Stockticker Config" );
50} 50}
51 51
52QString StockTickerPlugin::appName() const { 52QString StockTickerPlugin::appName() const {
53 return "stockticker"; 53 return "stockticker";
54} 54}
55 55
56bool StockTickerPlugin::excludeFromRefresh() const { 56bool StockTickerPlugin::excludeFromRefresh() const {
57 57
58return true; 58return 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
@@ -1,78 +1,78 @@
1/* 1/*
2                This file is part of the OPIE Project 2                This file is part of the OPIE Project
3 =. 3 =.
4             .=l. Copyright (c) 2002 Dan Williams <williamsdr@acm.org> 4             .=l. Copyright (c) 2002 Dan Williams <williamsdr@acm.org>
5           .>+-= 5           .>+-=
6 _;:,     .>    :=|. This file is free software; you can 6 _;:,     .>    :=|. This file is free software; you can
7.> <`_,   >  .   <= redistribute it and/or modify it under 7.> <`_,   >  .   <= redistribute it and/or modify it under
8:`=1 )Y*s>-.--   : the terms of the GNU General Public 8:`=1 )Y*s>-.--   : the terms of the GNU General Public
9.="- .-=="i,     .._ License as published by the Free Software 9.="- .-=="i,     .._ License as published by the Free Software
10 - .   .-<_>     .<> Foundation; either version 2 of the License, 10 - .   .-<_>     .<> Foundation; either version 2 of the License,
11     ._= =}       : or (at your option) any later version. 11     ._= =}       : or (at your option) any later version.
12    .%`+i>       _;_. 12    .%`+i>       _;_.
13    .i_,=:_.      -<s. This file is distributed in the hope that 13    .i_,=:_.      -<s. This file is distributed in the hope that
14     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY; 14     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
15    : ..    .:,     . . . without even the implied warranty of 15    : ..    .:,     . . . without even the implied warranty of
16    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A 16    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
17  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General 17  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General
18..}^=.=       =       ; Public License for more details. 18..}^=.=       =       ; Public License for more details.
19++=   -.     .`     .: 19++=   -.     .`     .:
20 :     =  ...= . :.=- You should have received a copy of the GNU 20 :     =  ...= . :.=- You should have received a copy of the GNU
21 -.   .:....=;==+<; General Public License along with this file; 21 -.   .:....=;==+<; General Public License along with this file;
22  -_. . .   )=.  = see the file COPYING. If not, write to the 22  -_. . .   )=.  = see the file COPYING. If not, write to the
23    --        :-=` Free Software Foundation, Inc., 23    --        :-=` Free Software Foundation, Inc.,
24 59 Temple Place - Suite 330, 24 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA. 25 Boston, MA 02111-1307, USA.
26 26
27*/ 27*/
28 28
29#include "weatherplugin.h" 29#include "weatherplugin.h"
30#include "weatherpluginwidget.h" 30#include "weatherpluginwidget.h"
31#include "weatherconfig.h" 31#include "weatherconfig.h"
32 32
33WeatherPlugin::WeatherPlugin() { 33WeatherPlugin::WeatherPlugin() {
34} 34}
35 35
36WeatherPlugin::~WeatherPlugin() { 36WeatherPlugin::~WeatherPlugin() {
37} 37}
38 38
39QString WeatherPlugin::pluginName() const 39QString WeatherPlugin::pluginName() const
40{ 40{
41 return QObject::tr( "Weather plugin" ); 41 return QObject::tr( "Weather plugin" );
42} 42}
43 43
44double WeatherPlugin::versionNumber() const 44double WeatherPlugin::versionNumber() const
45{ 45{
46 return 0.1; 46 return 0.1;
47} 47}
48 48
49QString WeatherPlugin::pixmapNameWidget() const 49QString WeatherPlugin::pixmapNameWidget() const
50{ 50{
51 return "todayweatherplugin/weather"; 51 return "todayweatherplugin/weather";
52} 52}
53 53
54QWidget* WeatherPlugin::widget( QWidget * wid ) 54QWidget* WeatherPlugin::widget( QWidget * wid )
55{ 55{
56 return new WeatherPluginWidget( wid, "Weather" ); 56 return new WeatherPluginWidget( wid, "Weather" );
57} 57}
58 58
59QString WeatherPlugin::pixmapNameConfig() const 59QString WeatherPlugin::pixmapNameConfig() const
60{ 60{
61 return "todayweatherplugin/weather"; 61 return "todayweatherplugin/weather";
62} 62}
63 63
64TodayConfigWidget* WeatherPlugin::configWidget( QWidget* wid ) 64TodayConfigWidget* WeatherPlugin::configWidget( QWidget* wid )
65{ 65{
66 return new WeatherPluginConfig( wid, "Weather" ); 66 return new WeatherPluginConfig( wid, "Weather Config" );
67} 67}
68 68
69QString WeatherPlugin::appName() const 69QString WeatherPlugin::appName() const
70{ 70{
71 return "Weather"; 71 return "Weather";
72} 72}
73 73
74bool WeatherPlugin::excludeFromRefresh() const { 74bool WeatherPlugin::excludeFromRefresh() const {
75 75
76return true; 76return true;
77} 77}
78 78