summaryrefslogtreecommitdiff
authoralwin <alwin>2004-03-15 14:02:08 (UTC)
committer alwin <alwin>2004-03-15 14:02:08 (UTC)
commit0de0c28bda1190c1e1df92dfa591c9c555f80fcd (patch) (unidiff)
treeb031174d06022311641d849963e55c1f5f44569c
parent9968c354f7aa5fb3ba43ab37c0ce24329ad3104f (diff)
downloadopie-0de0c28bda1190c1e1df92dfa591c9c555f80fcd.zip
opie-0de0c28bda1190c1e1df92dfa591c9c555f80fcd.tar.gz
opie-0de0c28bda1190c1e1df92dfa591c9c555f80fcd.tar.bz2
namespace fix
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/weather/weatherpluginwidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/todayplugins/weather/weatherpluginwidget.h b/noncore/todayplugins/weather/weatherpluginwidget.h
index 93d0f59..e09e831 100644
--- a/noncore/todayplugins/weather/weatherpluginwidget.h
+++ b/noncore/todayplugins/weather/weatherpluginwidget.h
@@ -1,71 +1,71 @@
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#ifndef WEATHER_PLUGIN_WIDGET_H 29#ifndef WEATHER_PLUGIN_WIDGET_H
30#define WEATHER_PLUGIN_WIDGET_H 30#define WEATHER_PLUGIN_WIDGET_H
31 31
32#include <qstring.h> 32#include <qstring.h>
33#include <qwidget.h> 33#include <qwidget.h>
34 34
35namespace Opie {namespace Core {class Opie::Core::OProcess;}} 35namespace Opie {namespace Core {class OProcess;}}
36class QLabel; 36class QLabel;
37class QTimer; 37class QTimer;
38 38
39class WeatherPluginWidget : public QWidget { 39class WeatherPluginWidget : public QWidget {
40 40
41 Q_OBJECT 41 Q_OBJECT
42 42
43 public: 43 public:
44 WeatherPluginWidget( QWidget *parent, const char *name ); 44 WeatherPluginWidget( QWidget *parent, const char *name );
45 ~WeatherPluginWidget(); 45 ~WeatherPluginWidget();
46 46
47 private: 47 private:
48 QString location; 48 QString location;
49 QString remoteFile; 49 QString remoteFile;
50 QString localFile; 50 QString localFile;
51 QString weatherData; 51 QString weatherData;
52 QString dataStr; 52 QString dataStr;
53 bool useMetric; 53 bool useMetric;
54 int frequency; 54 int frequency;
55 55
56 QLabel *weatherLabel; 56 QLabel *weatherLabel;
57 QLabel *weatherIcon; 57 QLabel *weatherIcon;
58 58
59 void timerEvent( QTimerEvent * ); 59 void timerEvent( QTimerEvent * );
60 void retreiveData(); 60 void retreiveData();
61 void displayWeather(); 61 void displayWeather();
62 void getTemp( const QString & ); 62 void getTemp( const QString & );
63 void getWind( const QString & ); 63 void getWind( const QString & );
64 void getPressure( const QString & ); 64 void getPressure( const QString & );
65 void getIcon( const QString & ); 65 void getIcon( const QString & );
66 66
67 private slots: 67 private slots:
68 void dataRetrieved( Opie::Core::OProcess * ); 68 void dataRetrieved( Opie::Core::OProcess * );
69}; 69};
70 70
71#endif 71#endif