00001 /* 00002 This file is part of the OPIE Project 00003 =. 00004 .=l. Copyright (c) 2002 Dan Williams <williamsdr@acm.org> 00005 .>+-= 00006 _;:, .> :=|. This file is free software; you can 00007 .> <`_, > . <= redistribute it and/or modify it under 00008 :`=1 )Y*s>-.-- : the terms of the GNU General Public 00009 .="- .-=="i, .._ License as published by the Free Software 00010 - . .-<_> .<> Foundation; either version 2 of the License, 00011 ._= =} : or (at your option) any later version. 00012 .%`+i> _;_. 00013 .i_,=:_. -<s. This file is distributed in the hope that 00014 + . -:. = it will be useful, but WITHOUT ANY WARRANTY; 00015 : .. .:, . . . without even the implied warranty of 00016 =_ + =;=|` MERCHANTABILITY or FITNESS FOR A 00017 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General 00018 ..}^=.= = ; Public License for more details. 00019 ++= -. .` .: 00020 : = ...= . :.=- You should have received a copy of the GNU 00021 -. .:....=;==+<; General Public License along with this file; 00022 -_. . . )=. = see the file COPYING. If not, write to the 00023 -- :-=` Free Software Foundation, Inc., 00024 59 Temple Place - Suite 330, 00025 Boston, MA 02111-1307, USA. 00026 00027 */ 00028 00029 #ifndef WEATHER_PLUGIN_CONFIG_H 00030 #define WEATHER_PLUGIN_CONFIG_H 00031 00032 #include <qstring.h> 00033 #include <qwidget.h> 00034 00035 #include <opie2/todayconfigwidget.h> 00036 00037 class QCheckBox; 00038 class QLineEdit; 00039 class QPushButton; 00040 class QSpinBox; 00041 00042 class WeatherPluginConfig : public TodayConfigWidget 00043 { 00044 Q_OBJECT 00045 public: 00046 WeatherPluginConfig( QWidget *parent, const char *name ); 00047 ~WeatherPluginConfig(); 00048 void writeConfig(); 00049 00050 private: 00051 QLineEdit *locationEdit; 00052 QCheckBox *metricCB; 00053 QSpinBox *timerDelaySB; 00054 00055 private slots: 00056 void doLookup(); 00057 //void slotCopyLink(); 00058 }; 00059 00060 #endif
1.4.2