Diffstat (limited to 'core/pim/today/plugins/todolist') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/today/plugins/todolist/todopluginconfig.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/pim/today/plugins/todolist/todopluginconfig.cpp b/core/pim/today/plugins/todolist/todopluginconfig.cpp index 4821776..76c08a9 100644 --- a/core/pim/today/plugins/todolist/todopluginconfig.cpp +++ b/core/pim/today/plugins/todolist/todopluginconfig.cpp | |||
@@ -1,46 +1,45 @@ | |||
1 | /* | 1 | /* |
2 | * todopluginconfig.cpp | 2 | * todopluginconfig.cpp |
3 | * | 3 | * |
4 | * copyright : (c) 2002, 2003 by Maximilian Reiß | 4 | * copyright : (c) 2002, 2003 by Maximilian Reiß |
5 | * email : harlekin@handhelds.org | 5 | * email : harlekin@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 | #include "todopluginconfig.h" | 17 | #include "todopluginconfig.h" |
18 | 18 | ||
19 | #include <qpe/config.h> | 19 | #include <qpe/config.h> |
20 | 20 | ||
21 | #include <qlayout.h> | 21 | #include <qlayout.h> |
22 | #include <qwhatsthis.h> | ||
23 | 22 | ||
24 | 23 | ||
25 | TodolistPluginConfig::TodolistPluginConfig( QWidget *parent, const char* name) | 24 | TodolistPluginConfig::TodolistPluginConfig( QWidget *parent, const char* name) |
26 | : TodayConfigWidget(parent, name ) { | 25 | : TodayConfigWidget(parent, name ) { |
27 | 26 | ||
28 | QVBoxLayout * layout = new QVBoxLayout( this ); | 27 | QVBoxLayout * layout = new QVBoxLayout( this ); |
29 | 28 | ||
30 | m_gui = new TodoPluginConfigBase( this ); | 29 | m_gui = new TodoPluginConfigBase( this ); |
31 | 30 | ||
32 | layout->addWidget( m_gui ); | 31 | layout->addWidget( m_gui ); |
33 | 32 | ||
34 | readConfig(); | 33 | readConfig(); |
35 | } | 34 | } |
36 | 35 | ||
37 | void TodolistPluginConfig::readConfig() { | 36 | void TodolistPluginConfig::readConfig() { |
38 | Config cfg( "todaytodoplugin" ); | 37 | Config cfg( "todaytodoplugin" ); |
39 | cfg.setGroup( "config" ); | 38 | cfg.setGroup( "config" ); |
40 | m_max_lines_task = cfg.readNumEntry( "maxlinestask", 5 ); | 39 | m_max_lines_task = cfg.readNumEntry( "maxlinestask", 5 ); |
41 | m_gui->SpinBox2->setValue( m_max_lines_task ); | 40 | m_gui->SpinBox2->setValue( m_max_lines_task ); |
42 | m_maxCharClip = cfg.readNumEntry( "maxcharclip", 38 ); | 41 | m_maxCharClip = cfg.readNumEntry( "maxcharclip", 38 ); |
43 | m_gui->SpinBoxClip->setValue( m_maxCharClip ); | 42 | m_gui->SpinBoxClip->setValue( m_maxCharClip ); |
44 | } | 43 | } |
45 | 44 | ||
46 | 45 | ||