Diffstat (limited to 'noncore/todayplugins/weather/weatherconfig.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/todayplugins/weather/weatherconfig.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/noncore/todayplugins/weather/weatherconfig.cpp b/noncore/todayplugins/weather/weatherconfig.cpp index 99ee2a0..4663549 100644 --- a/noncore/todayplugins/weather/weatherconfig.cpp +++ b/noncore/todayplugins/weather/weatherconfig.cpp | |||
@@ -17,43 +17,42 @@ | |||
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 <stdlib.h> | 29 | #include "weatherconfig.h" |
30 | |||
31 | #include <qpe/config.h> | ||
32 | #include <qpe/qpeapplication.h> | ||
33 | #include <qpe/resource.h> | ||
30 | 34 | ||
31 | #include <qcheckbox.h> | 35 | #include <qcheckbox.h> |
32 | #include <qclipboard.h> | 36 | #include <qclipboard.h> |
33 | #include <qfontmetrics.h> | 37 | #include <qfontmetrics.h> |
34 | #include <qlabel.h> | 38 | #include <qlabel.h> |
35 | #include <qlayout.h> | 39 | #include <qlayout.h> |
36 | #include <qlineedit.h> | 40 | #include <qlineedit.h> |
37 | #include <qlayout.h> | 41 | #include <qlayout.h> |
38 | #include <qpushbutton.h> | 42 | #include <qpushbutton.h> |
39 | #include <qspinbox.h> | 43 | #include <qspinbox.h> |
40 | #include <qwhatsthis.h> | 44 | #include <qwhatsthis.h> |
41 | 45 | ||
42 | #include <qpe/config.h> | 46 | #include <stdlib.h> |
43 | #include <qpe/qpeapplication.h> | ||
44 | #include <qpe/resource.h> | ||
45 | #include <opie/todayconfigwidget.h> | ||
46 | |||
47 | #include "weatherconfig.h" | ||
48 | 47 | ||
49 | WeatherPluginConfig::WeatherPluginConfig( QWidget *parent, const char* name) | 48 | WeatherPluginConfig::WeatherPluginConfig( QWidget *parent, const char* name) |
50 | : TodayConfigWidget(parent, name ) | 49 | : TodayConfigWidget(parent, name ) |
51 | { | 50 | { |
52 | Config config( "todayweatherplugin"); | 51 | Config config( "todayweatherplugin"); |
53 | config.setGroup( "Config" ); | 52 | config.setGroup( "Config" ); |
54 | 53 | ||
55 | QFontMetrics fm = fontMetrics(); | 54 | QFontMetrics fm = fontMetrics(); |
56 | int fh = fm.height(); | 55 | int fh = fm.height(); |
57 | 56 | ||
58 | QGridLayout *layout = new QGridLayout( this ); | 57 | QGridLayout *layout = new QGridLayout( this ); |
59 | layout->setSpacing( 4 ); | 58 | layout->setSpacing( 4 ); |