summaryrefslogtreecommitdiff
authorzecke <zecke>2004-10-12 11:54:23 (UTC)
committer zecke <zecke>2004-10-12 11:54:23 (UTC)
commit04f5d8a14e4f09196242e1ed777b521ed8e72916 (patch) (side-by-side diff)
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 @@
/*
* stocktickerplugin.cpp
*
* copyright : (c) 2002 by L.J. Potter
* email : llornkcor@handhelds.org
*
*/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include "stocktickerplugin.h"
#include "stocktickerpluginwidget.h"
#include "stocktickerconfig.h"
StockTickerPlugin::StockTickerPlugin() {
}
StockTickerPlugin::~StockTickerPlugin() {
}
QString StockTickerPlugin::pluginName() const {
return QObject::tr( "StockTicker plugin" );
}
double StockTickerPlugin::versionNumber() const {
return 0.6;
}
QString StockTickerPlugin::pixmapNameWidget() const {
return "stockticker/stockticker";
}
QWidget* StockTickerPlugin::widget( QWidget * wid ) {
return new StockTickerPluginWidget( wid, "StockTicker " );
}
QString StockTickerPlugin::pixmapNameConfig() const {
return "stockticker/stockticker";
}
TodayConfigWidget* StockTickerPlugin::configWidget( QWidget* wid ) {
- return new StocktickerPluginConfig( wid , "Stockticker" );
+ return new StocktickerPluginConfig( wid , "Stockticker Config" );
}
QString StockTickerPlugin::appName() const {
return "stockticker";
}
bool StockTickerPlugin::excludeFromRefresh() const {
return true;
}
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 @@
/*
                This file is part of the OPIE Project
=.
             .=l. Copyright (c) 2002 Dan Williams <williamsdr@acm.org>
           .>+-=
 _;:,     .>    :=|. This file is free software; you can
.> <`_,   >  .   <= redistribute it and/or modify it under
:`=1 )Y*s>-.--   : the terms of the GNU General Public
.="- .-=="i,     .._ License as published by the Free Software
 - .   .-<_>     .<> Foundation; either version 2 of the License,
     ._= =}       : or (at your option) any later version.
    .%`+i>       _;_.
    .i_,=:_.      -<s. This file is distributed in the hope that
     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
    : ..    .:,     . . . without even the implied warranty of
    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General
..}^=.=       =       ; Public License for more details.
++=   -.     .`     .:
 :     =  ...= . :.=- You should have received a copy of the GNU
 -.   .:....=;==+<; General Public License along with this file;
  -_. . .   )=.  = see the file COPYING. If not, write to the
    --        :-=` Free Software Foundation, Inc.,
59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#include "weatherplugin.h"
#include "weatherpluginwidget.h"
#include "weatherconfig.h"
WeatherPlugin::WeatherPlugin() {
}
WeatherPlugin::~WeatherPlugin() {
}
QString WeatherPlugin::pluginName() const
{
return QObject::tr( "Weather plugin" );
}
double WeatherPlugin::versionNumber() const
{
return 0.1;
}
QString WeatherPlugin::pixmapNameWidget() const
{
return "todayweatherplugin/weather";
}
QWidget* WeatherPlugin::widget( QWidget * wid )
{
return new WeatherPluginWidget( wid, "Weather" );
}
QString WeatherPlugin::pixmapNameConfig() const
{
return "todayweatherplugin/weather";
}
TodayConfigWidget* WeatherPlugin::configWidget( QWidget* wid )
{
- return new WeatherPluginConfig( wid, "Weather" );
+ return new WeatherPluginConfig( wid, "Weather Config" );
}
QString WeatherPlugin::appName() const
{
return "Weather";
}
bool WeatherPlugin::excludeFromRefresh() const {
return true;
}