Diffstat (limited to 'core/settings/launcher/doctabsettings.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/settings/launcher/doctabsettings.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/settings/launcher/doctabsettings.cpp b/core/settings/launcher/doctabsettings.cpp index 8077b8c..179a7f9 100644 --- a/core/settings/launcher/doctabsettings.cpp +++ b/core/settings/launcher/doctabsettings.cpp | |||
@@ -8,52 +8,49 @@ | |||
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 | #include "doctabsettings.h" | 29 | #include "doctabsettings.h" |
30 | 30 | ||
31 | #include <qpe/config.h> | 31 | #include <qpe/config.h> |
32 | #include <qpe/qlibrary.h> | ||
33 | #include <qpe/qpeapplication.h> | ||
34 | 32 | ||
35 | #include <qspinbox.h> | ||
36 | #include <qcheckbox.h> | 33 | #include <qcheckbox.h> |
37 | #include <qlayout.h> | 34 | #include <qlayout.h> |
38 | #include <qlabel.h> | 35 | #include <qlabel.h> |
39 | #include <qwhatsthis.h> | 36 | #include <qwhatsthis.h> |
40 | 37 | ||
41 | DocTabSettings::DocTabSettings( QWidget *parent, const char *name ):QWidget( parent, name ) | 38 | DocTabSettings::DocTabSettings( QWidget *parent, const char *name ):QWidget( parent, name ) |
42 | { | 39 | { |
43 | QBoxLayout *lay = new QVBoxLayout( this, 4, 4 ); | 40 | QBoxLayout *lay = new QVBoxLayout( this, 4, 4 ); |
44 | 41 | ||
45 | _enable = new QCheckBox( tr( "Enable the Documents Tab" ), this ); | 42 | _enable = new QCheckBox( tr( "Enable the Documents Tab" ), this ); |
46 | 43 | ||
47 | Config cfg( "Launcher" ); | 44 | Config cfg( "Launcher" ); |
48 | cfg.setGroup( "DocTab" ); | 45 | cfg.setGroup( "DocTab" ); |
49 | _enable->setChecked( cfg.readBoolEntry( "Enable", true ) ); | 46 | _enable->setChecked( cfg.readBoolEntry( "Enable", true ) ); |
50 | 47 | ||
51 | lay->addWidget( _enable ); | 48 | lay->addWidget( _enable ); |
52 | lay->addWidget( new QLabel( tr( "<b>Note:</b> Changing these settings may need restarting Opie to become effective." ), this ) ); | 49 | lay->addWidget( new QLabel( tr( "<b>Note:</b> Changing these settings may need restarting Opie to become effective." ), this ) ); |
53 | 50 | ||
54 | lay->addStretch(); | 51 | lay->addStretch(); |
55 | 52 | ||
56 | QWhatsThis::add( _enable, tr( "Check, if you want the Documents Tab to be visible." ) ); | 53 | QWhatsThis::add( _enable, tr( "Check, if you want the Documents Tab to be visible." ) ); |
57 | } | 54 | } |
58 | 55 | ||
59 | void DocTabSettings::appletChanged() | 56 | void DocTabSettings::appletChanged() |