author | drw <drw> | 2005-06-05 22:47:00 (UTC) |
---|---|---|
committer | drw <drw> | 2005-06-05 22:47:00 (UTC) |
commit | 8ee47cc828388f6f3b44356dbcee5536a9e83e55 (patch) (unidiff) | |
tree | cf4c704b08b9ba277e22d0f42cbe45a2b1057a79 | |
parent | 56b8917e2cca3715e9a19941965ddd73e6bba5d4 (diff) | |
download | opie-8ee47cc828388f6f3b44356dbcee5536a9e83e55.zip opie-8ee47cc828388f6f3b44356dbcee5536a9e83e55.tar.gz opie-8ee47cc828388f6f3b44356dbcee5536a9e83e55.tar.bz2 |
Fix doc box headers
-rw-r--r-- | noncore/settings/appearance2/appearance.cpp | 51 | ||||
-rw-r--r-- | noncore/settings/appearance2/appearance.h | 51 | ||||
-rw-r--r-- | noncore/settings/appearance2/colorlistitem.h | 49 | ||||
-rw-r--r-- | noncore/settings/appearance2/decolistitem.h | 49 | ||||
-rw-r--r-- | noncore/settings/appearance2/editScheme.cpp | 51 | ||||
-rw-r--r-- | noncore/settings/appearance2/editScheme.h | 51 | ||||
-rw-r--r-- | noncore/settings/appearance2/exceptlistitem.h | 49 | ||||
-rw-r--r-- | noncore/settings/appearance2/main.cpp | 49 | ||||
-rw-r--r-- | noncore/settings/appearance2/sample.cpp | 51 | ||||
-rw-r--r-- | noncore/settings/appearance2/sample.h | 51 | ||||
-rw-r--r-- | noncore/settings/appearance2/stylelistitem.h | 49 |
11 files changed, 292 insertions, 259 deletions
diff --git a/noncore/settings/appearance2/appearance.cpp b/noncore/settings/appearance2/appearance.cpp index 1aa91bb..93e28fa 100644 --- a/noncore/settings/appearance2/appearance.cpp +++ b/noncore/settings/appearance2/appearance.cpp | |||
@@ -1,51 +1,54 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | |||
3 | Copyright (c) 2002 Trolltech AS <info@trolltech.com> | 4 | Copyright (c) 2002 Trolltech AS <info@trolltech.com> |
4 | =. Copyright (c) 2002 Dan Williams <williamsdr@acm.org> | 5 | Copyright (c) 2002 Dan Williams <drw@handhelds.org> |
5 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | 6 | Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> |
6 | .>+-= | 7 | =. |
7 | _;:, .> :=|. This file is free software; you can | 8 | .=l. |
8 | .> <`_, > . <= redistribute it and/or modify it under | 9 | Â Â Â Â Â Â .>+-= |
9 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 10 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
10 | .="- .-=="i, .._ License as published by the Free Software | 11 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
11 | - . .-<_> .<> Foundation; either version 2 of the License, | 12 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
12 | ._= =} : or (at your option) any later version. | 13 | .="- .-=="i, Â Â .._ License as published by the Free Software |
13 | .%`+i> _;_. | 14 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
14 | .i_,=:_. -<s. This file is distributed in the hope that | 15 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
15 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 16 | Â Â .%`+i> Â Â Â _;_. |
16 | : .. .:, . . . without even the implied warranty of | 17 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
17 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 18 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; |
18 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 19 | : .. Â Â .:, Â Â . . . without even the implied warranty of |
19 | ..}^=.= = ; Public License for more details. | 20 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A |
20 | ++= -. .` .: | 21 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU |
21 | : = ...= . :.=- You should have received a copy of the GNU | 22 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more |
22 | -. .:....=;==+<; General Public License along with this file; | 23 | ++= Â -. Â Â .` Â Â .: details. |
23 | -_. . . )=. = see the file COPYING. If not, write to the | 24 | : Â Â = Â ...= . :.=- |
24 | -- :-=` Free Software Foundation, Inc., | 25 | Â -. Â .:....=;==+<; You should have received a copy of the GNU |
25 | 59 Temple Place - Suite 330, | 26 | Â -_. . . Â )=. Â = Library General Public License along with |
27 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. | ||
28 | If not, write to the Free Software Foundation, | ||
29 | Inc., 59 Temple Place - Suite 330, | ||
26 | Boston, MA 02111-1307, USA. | 30 | Boston, MA 02111-1307, USA. |
27 | |||
28 | */ | 31 | */ |
29 | 32 | ||
30 | #include "appearance.h" | 33 | #include "appearance.h" |
31 | #include "editScheme.h" | 34 | #include "editScheme.h" |
32 | #include "stylelistitem.h" | 35 | #include "stylelistitem.h" |
33 | #include "decolistitem.h" | 36 | #include "decolistitem.h" |
34 | #include "colorlistitem.h" | 37 | #include "colorlistitem.h" |
35 | #include "exceptlistitem.h" | 38 | #include "exceptlistitem.h" |
36 | #include "sample.h" | 39 | #include "sample.h" |
37 | 40 | ||
38 | /* OPIE */ | 41 | /* OPIE */ |
39 | #include <opie2/odevice.h> | 42 | #include <opie2/odevice.h> |
40 | #include <opie2/ofiledialog.h> | 43 | #include <opie2/ofiledialog.h> |
41 | #include <opie2/otabwidget.h> | 44 | #include <opie2/otabwidget.h> |
42 | #include <opie2/odebug.h> | 45 | #include <opie2/odebug.h> |
43 | 46 | ||
44 | #include <qpe/config.h> | 47 | #include <qpe/config.h> |
45 | #include <qpe/global.h> | 48 | #include <qpe/global.h> |
46 | #include <qpe/qpeapplication.h> | 49 | #include <qpe/qpeapplication.h> |
47 | #include <qpe/qpemessagebox.h> | 50 | #include <qpe/qpemessagebox.h> |
48 | #include <qpe/qcopenvelope_qws.h> | 51 | #include <qpe/qcopenvelope_qws.h> |
49 | #include <qpe/qpestyle.h> | 52 | #include <qpe/qpestyle.h> |
50 | #include <qpe/lightstyle.h> | 53 | #include <qpe/lightstyle.h> |
51 | #include <qpe/styleinterface.h> | 54 | #include <qpe/styleinterface.h> |
diff --git a/noncore/settings/appearance2/appearance.h b/noncore/settings/appearance2/appearance.h index 287f9f7..ef7e874 100644 --- a/noncore/settings/appearance2/appearance.h +++ b/noncore/settings/appearance2/appearance.h | |||
@@ -1,50 +1,53 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | =. Copyright (c) 2002 Dan Williams <williamsdr@acm.org> | 3 | |
4 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | 4 | Copyright (c) 2002 Dan Williams <drw@handhelds.org> |
5 | .>+-= | 5 | Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> |
6 | _;:, .> :=|. This file is free software; you can | 6 | =. |
7 | .> <`_, > . <= redistribute it and/or modify it under | 7 | .=l. |
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 8 | Â Â Â Â Â Â .>+-= |
9 | .="- .-=="i, .._ License as published by the Free Software | 9 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
10 | - . .-<_> .<> Foundation; either version 2 of the License, | 10 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
11 | ._= =} : or (at your option) any later version. | 11 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
12 | .%`+i> _;_. | 12 | .="- .-=="i, Â Â .._ License as published by the Free Software |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 13 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 14 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
15 | : .. .:, . . . without even the implied warranty of | 15 | Â Â .%`+i> Â Â Â _;_. |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 16 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 17 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; |
18 | ..}^=.= = ; Public License for more details. | 18 | : .. Â Â .:, Â Â . . . without even the implied warranty of |
19 | ++= -. .` .: | 19 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A |
20 | : = ...= . :.=- You should have received a copy of the GNU | 20 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU |
21 | -. .:....=;==+<; General Public License along with this file; | 21 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 22 | ++= Â -. Â Â .` Â Â .: details. |
23 | -- :-=` Free Software Foundation, Inc., | 23 | : Â Â = Â ...= . :.=- |
24 | 59 Temple Place - Suite 330, | 24 | Â -. Â .:....=;==+<; You should have received a copy of the GNU |
25 | Â -_. . . Â )=. Â = Library General Public License along with | ||
26 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. | ||
27 | If not, write to the Free Software Foundation, | ||
28 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | 29 | Boston, MA 02111-1307, USA. |
26 | |||
27 | */ | 30 | */ |
28 | 31 | ||
29 | #ifndef APPEARANCESETTINGS_H | 32 | #ifndef APPEARANCESETTINGS_H |
30 | #define APPEARANCESETTINGS_H | 33 | #define APPEARANCESETTINGS_H |
31 | 34 | ||
32 | #include <opie2/ofontselector.h> | 35 | #include <opie2/ofontselector.h> |
33 | 36 | ||
34 | #include <qpe/fontdatabase.h> | 37 | #include <qpe/fontdatabase.h> |
35 | 38 | ||
36 | #include <qdialog.h> | 39 | #include <qdialog.h> |
37 | 40 | ||
38 | using Opie::Ui::OFontSelector; | 41 | using Opie::Ui::OFontSelector; |
39 | 42 | ||
40 | class QCheckBox; | 43 | class QCheckBox; |
41 | class QComboBox; | 44 | class QComboBox; |
42 | class QLabel; | 45 | class QLabel; |
43 | class QLineEdit; | 46 | class QLineEdit; |
44 | class QListBox; | 47 | class QListBox; |
45 | class QMultiLineEdit; | 48 | class QMultiLineEdit; |
46 | class QPushButton; | 49 | class QPushButton; |
47 | class QRadioButton; | 50 | class QRadioButton; |
48 | class QToolButton; | 51 | class QToolButton; |
49 | class SampleWindow; | 52 | class SampleWindow; |
50 | namespace Opie {namespace Ui {class OFontSelector;}} | 53 | namespace Opie {namespace Ui {class OFontSelector;}} |
diff --git a/noncore/settings/appearance2/colorlistitem.h b/noncore/settings/appearance2/colorlistitem.h index f8d5c45..7f6014c 100644 --- a/noncore/settings/appearance2/colorlistitem.h +++ b/noncore/settings/appearance2/colorlistitem.h | |||
@@ -1,49 +1,52 @@ | |||
1 | /* | 1 | /* |
2 | =. This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | ||
4 | .>+-= | ||
5 | _;:, .> :=|. This file is free software; you can | ||
6 | .> <`_, > . <= redistribute it and/or modify it under | ||
7 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | ||
8 | .="- .-=="i, .._ License as published by the Free Software | ||
9 | - . .-<_> .<> Foundation; either version 2 of the License, | ||
10 | ._= =} : or (at your option) any later version. | ||
11 | .%`+i> _;_. | ||
12 | .i_,=:_. -<s. This file is distributed in the hope that | ||
13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | ||
14 | : .. .:, . . . without even the implied warranty of | ||
15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | ||
16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | ||
17 | ..}^=.= = ; Public License for more details. | ||
18 | ++= -. .` .: | ||
19 | : = ...= . :.=- You should have received a copy of the GNU | ||
20 | -. .:....=;==+<; General Public License along with this file; | ||
21 | -_. . . )=. = see the file COPYING. If not, write to the | ||
22 | -- :-=` Free Software Foundation, Inc., | ||
23 | 59 Temple Place - Suite 330, | ||
24 | Boston, MA 02111-1307, USA. | ||
25 | 3 | ||
4 | Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | ||
5 | =. | ||
6 | .=l. | ||
7 | Â Â Â Â Â Â .>+-= | ||
8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can | ||
9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under | ||
10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public | ||
11 | .="- .-=="i, Â Â .._ License as published by the Free Software | ||
12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, | ||
13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. | ||
14 | Â Â .%`+i> Â Â Â _;_. | ||
15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that | ||
16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; | ||
17 | : .. Â Â .:, Â Â . . . without even the implied warranty of | ||
18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A | ||
19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU | ||
20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more | ||
21 | ++= Â -. Â Â .` Â Â .: details. | ||
22 | : Â Â = Â ...= . :.=- | ||
23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU | ||
24 | Â -_. . . Â )=. Â = Library General Public License along with | ||
25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. | ||
26 | If not, write to the Free Software Foundation, | ||
27 | Inc., 59 Temple Place - Suite 330, | ||
28 | Boston, MA 02111-1307, USA. | ||
26 | */ | 29 | */ |
27 | 30 | ||
28 | #ifndef COLORLISTITEM_H | 31 | #ifndef COLORLISTITEM_H |
29 | #define COLORLISTITEM_H | 32 | #define COLORLISTITEM_H |
30 | 33 | ||
31 | #include <qlistbox.h> | 34 | #include <qlistbox.h> |
32 | #include <qpalette.h> | 35 | #include <qpalette.h> |
33 | #include <qapplication.h> | 36 | #include <qapplication.h> |
34 | 37 | ||
35 | #include <qpe/config.h> | 38 | #include <qpe/config.h> |
36 | 39 | ||
37 | class Appearance; | 40 | class Appearance; |
38 | 41 | ||
39 | class ColorListItem : public QListBoxText { | 42 | class ColorListItem : public QListBoxText { |
40 | public: | 43 | public: |
41 | ColorListItem ( const QString &t, Config &cfg ) : QListBoxText ( t ) | 44 | ColorListItem ( const QString &t, Config &cfg ) : QListBoxText ( t ) |
42 | { | 45 | { |
43 | m_colors = new QColor [s_colorcount]; | 46 | m_colors = new QColor [s_colorcount]; |
44 | load ( cfg ); | 47 | load ( cfg ); |
45 | } | 48 | } |
46 | 49 | ||
47 | virtual ~ColorListItem ( ) | 50 | virtual ~ColorListItem ( ) |
48 | { | 51 | { |
49 | delete [] m_colors; | 52 | delete [] m_colors; |
diff --git a/noncore/settings/appearance2/decolistitem.h b/noncore/settings/appearance2/decolistitem.h index da7924c..8dce455 100644 --- a/noncore/settings/appearance2/decolistitem.h +++ b/noncore/settings/appearance2/decolistitem.h | |||
@@ -1,49 +1,52 @@ | |||
1 | /* | 1 | /* |
2 | =. This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | ||
4 | .>+-= | ||
5 | _;:, .> :=|. This file is free software; you can | ||
6 | .> <`_, > . <= redistribute it and/or modify it under | ||
7 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | ||
8 | .="- .-=="i, .._ License as published by the Free Software | ||
9 | - . .-<_> .<> Foundation; either version 2 of the License, | ||
10 | ._= =} : or (at your option) any later version. | ||
11 | .%`+i> _;_. | ||
12 | .i_,=:_. -<s. This file is distributed in the hope that | ||
13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | ||
14 | : .. .:, . . . without even the implied warranty of | ||
15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | ||
16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | ||
17 | ..}^=.= = ; Public License for more details. | ||
18 | ++= -. .` .: | ||
19 | : = ...= . :.=- You should have received a copy of the GNU | ||
20 | -. .:....=;==+<; General Public License along with this file; | ||
21 | -_. . . )=. = see the file COPYING. If not, write to the | ||
22 | -- :-=` Free Software Foundation, Inc., | ||
23 | 59 Temple Place - Suite 330, | ||
24 | Boston, MA 02111-1307, USA. | ||
25 | 3 | ||
4 | Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | ||
5 | =. | ||
6 | .=l. | ||
7 | Â Â Â Â Â Â .>+-= | ||
8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can | ||
9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under | ||
10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public | ||
11 | .="- .-=="i, Â Â .._ License as published by the Free Software | ||
12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, | ||
13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. | ||
14 | Â Â .%`+i> Â Â Â _;_. | ||
15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that | ||
16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; | ||
17 | : .. Â Â .:, Â Â . . . without even the implied warranty of | ||
18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A | ||
19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU | ||
20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more | ||
21 | ++= Â -. Â Â .` Â Â .: details. | ||
22 | : Â Â = Â ...= . :.=- | ||
23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU | ||
24 | Â -_. . . Â )=. Â = Library General Public License along with | ||
25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. | ||
26 | If not, write to the Free Software Foundation, | ||
27 | Inc., 59 Temple Place - Suite 330, | ||
28 | Boston, MA 02111-1307, USA. | ||
26 | */ | 29 | */ |
27 | 30 | ||
28 | #ifndef DECOLISTITEM_H | 31 | #ifndef DECOLISTITEM_H |
29 | #define DECOLISTITEM_H | 32 | #define DECOLISTITEM_H |
30 | 33 | ||
31 | #include <qpe/windowdecorationinterface.h> | 34 | #include <qpe/windowdecorationinterface.h> |
32 | #include <qlistbox.h> | 35 | #include <qlistbox.h> |
33 | 36 | ||
34 | class DecoListItem : public QListBoxPixmap { | 37 | class DecoListItem : public QListBoxPixmap { |
35 | public: | 38 | public: |
36 | DecoListItem ( const QString &t ) : QListBoxPixmap ( QPixmap ( ), t ) | 39 | DecoListItem ( const QString &t ) : QListBoxPixmap ( QPixmap ( ), t ) |
37 | { | 40 | { |
38 | m_lib = 0; | 41 | m_lib = 0; |
39 | m_window_if = 0; | 42 | m_window_if = 0; |
40 | // m_settings_if = 0; | 43 | // m_settings_if = 0; |
41 | } | 44 | } |
42 | 45 | ||
43 | DecoListItem ( QLibrary *lib, WindowDecorationInterface *iface ) : QListBoxPixmap ( iface-> icon ( ), iface-> name ( )) | 46 | DecoListItem ( QLibrary *lib, WindowDecorationInterface *iface ) : QListBoxPixmap ( iface-> icon ( ), iface-> name ( )) |
44 | { | 47 | { |
45 | m_lib = lib; | 48 | m_lib = lib; |
46 | m_window_if = iface; | 49 | m_window_if = iface; |
47 | 50 | ||
48 | // iface-> queryInterface ( IID_WindowDecoration, (QUnknownInterface **) &m_settings_if ); | 51 | // iface-> queryInterface ( IID_WindowDecoration, (QUnknownInterface **) &m_settings_if ); |
49 | } | 52 | } |
diff --git a/noncore/settings/appearance2/editScheme.cpp b/noncore/settings/appearance2/editScheme.cpp index 18c69a5..2645833 100644 --- a/noncore/settings/appearance2/editScheme.cpp +++ b/noncore/settings/appearance2/editScheme.cpp | |||
@@ -1,50 +1,53 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | =. Copyright (c) 2002 Dan Williams <williamsdr@acm.org> | ||
4 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | ||
5 | .>+-= | ||
6 | _;:, .> :=|. This file is free software; you can | ||
7 | .> <`_, > . <= redistribute it and/or modify it under | ||
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | ||
9 | .="- .-=="i, .._ License as published by the Free Software | ||
10 | - . .-<_> .<> Foundation; either version 2 of the License, | ||
11 | ._= =} : or (at your option) any later version. | ||
12 | .%`+i> _;_. | ||
13 | .i_,=:_. -<s. This file is distributed in the hope that | ||
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | ||
15 | : .. .:, . . . without even the implied warranty of | ||
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | ||
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | ||
18 | ..}^=.= = ; Public License for more details. | ||
19 | ++= -. .` .: | ||
20 | : = ...= . :.=- You should have received a copy of the GNU | ||
21 | -. .:....=;==+<; General Public License along with this file; | ||
22 | -_. . . )=. = see the file COPYING. If not, write to the | ||
23 | -- :-=` Free Software Foundation, Inc., | ||
24 | 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | ||
26 | 3 | ||
4 | Copyright (c) 2002 Dan Williams <drw@handhelds.org> | ||
5 | Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | ||
6 | =. | ||
7 | .=l. | ||
8 | Â Â Â Â Â Â .>+-= | ||
9 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can | ||
10 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under | ||
11 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public | ||
12 | .="- .-=="i, Â Â .._ License as published by the Free Software | ||
13 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, | ||
14 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. | ||
15 | Â Â .%`+i> Â Â Â _;_. | ||
16 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that | ||
17 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; | ||
18 | : .. Â Â .:, Â Â . . . without even the implied warranty of | ||
19 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A | ||
20 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU | ||
21 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more | ||
22 | ++= Â -. Â Â .` Â Â .: details. | ||
23 | : Â Â = Â ...= . :.=- | ||
24 | Â -. Â .:....=;==+<; You should have received a copy of the GNU | ||
25 | Â -_. . . Â )=. Â = Library General Public License along with | ||
26 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. | ||
27 | If not, write to the Free Software Foundation, | ||
28 | Inc., 59 Temple Place - Suite 330, | ||
29 | Boston, MA 02111-1307, USA. | ||
27 | */ | 30 | */ |
28 | 31 | ||
29 | #include "editScheme.h" | 32 | #include "editScheme.h" |
30 | 33 | ||
31 | #include <qaction.h> | 34 | #include <qaction.h> |
32 | #include <qlabel.h> | 35 | #include <qlabel.h> |
33 | #include <qlayout.h> | 36 | #include <qlayout.h> |
34 | #include <qpopupmenu.h> | 37 | #include <qpopupmenu.h> |
35 | #include <qscrollview.h> | 38 | #include <qscrollview.h> |
36 | #include <qtoolbutton.h> | 39 | #include <qtoolbutton.h> |
37 | #include <qwhatsthis.h> | 40 | #include <qwhatsthis.h> |
38 | 41 | ||
39 | using namespace Opie::Ui; | 42 | using namespace Opie::Ui; |
40 | EditScheme::EditScheme ( int cnt, const QString *labels, QColor *colors, QWidget* parent, const char* name, bool modal, WFlags ) | 43 | EditScheme::EditScheme ( int cnt, const QString *labels, QColor *colors, QWidget* parent, const char* name, bool modal, WFlags ) |
41 | : QDialog ( parent, name, modal, WStyle_ContextHelp ) | 44 | : QDialog ( parent, name, modal, WStyle_ContextHelp ) |
42 | { | 45 | { |
43 | setCaption ( tr( "Edit scheme" ) ); | 46 | setCaption ( tr( "Edit scheme" ) ); |
44 | QGridLayout *layout = new QGridLayout ( this, 0, 0, 4, 4 ); | 47 | QGridLayout *layout = new QGridLayout ( this, 0, 0, 4, 4 ); |
45 | 48 | ||
46 | m_count = cnt; | 49 | m_count = cnt; |
47 | m_buttons = new Opie::OColorButton * [cnt]; | 50 | m_buttons = new Opie::OColorButton * [cnt]; |
48 | m_colors = colors; | 51 | m_colors = colors; |
49 | 52 | ||
50 | for ( int i = 0; i < cnt; i++ ) | 53 | for ( int i = 0; i < cnt; i++ ) |
diff --git a/noncore/settings/appearance2/editScheme.h b/noncore/settings/appearance2/editScheme.h index 302652c..55897c4 100644 --- a/noncore/settings/appearance2/editScheme.h +++ b/noncore/settings/appearance2/editScheme.h | |||
@@ -1,50 +1,53 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | =. Copyright (c) 2002 Dan Williams <williamsdr@acm.org> | 3 | |
4 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | 4 | Copyright (c) 2002 Dan Williams <drw@handhelds.org> |
5 | .>+-= | 5 | Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> |
6 | _;:, .> :=|. This file is free software; you can | 6 | =. |
7 | .> <`_, > . <= redistribute it and/or modify it under | 7 | .=l. |
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 8 | Â Â Â Â Â Â .>+-= |
9 | .="- .-=="i, .._ License as published by the Free Software | 9 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
10 | - . .-<_> .<> Foundation; either version 2 of the License, | 10 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
11 | ._= =} : or (at your option) any later version. | 11 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
12 | .%`+i> _;_. | 12 | .="- .-=="i, Â Â .._ License as published by the Free Software |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 13 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 14 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
15 | : .. .:, . . . without even the implied warranty of | 15 | Â Â .%`+i> Â Â Â _;_. |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 16 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 17 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; |
18 | ..}^=.= = ; Public License for more details. | 18 | : .. Â Â .:, Â Â . . . without even the implied warranty of |
19 | ++= -. .` .: | 19 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A |
20 | : = ...= . :.=- You should have received a copy of the GNU | 20 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU |
21 | -. .:....=;==+<; General Public License along with this file; | 21 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 22 | ++= Â -. Â Â .` Â Â .: details. |
23 | -- :-=` Free Software Foundation, Inc., | 23 | : Â Â = Â ...= . :.=- |
24 | 59 Temple Place - Suite 330, | 24 | Â -. Â .:....=;==+<; You should have received a copy of the GNU |
25 | Â -_. . . Â )=. Â = Library General Public License along with | ||
26 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. | ||
27 | If not, write to the Free Software Foundation, | ||
28 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | 29 | Boston, MA 02111-1307, USA. |
26 | |||
27 | */ | 30 | */ |
28 | 31 | ||
29 | #ifndef EDITSCHEME_H | 32 | #ifndef EDITSCHEME_H |
30 | #define EDITSCHEME_H | 33 | #define EDITSCHEME_H |
31 | 34 | ||
32 | #include <opie2/ocolorbutton.h> | 35 | #include <opie2/ocolorbutton.h> |
33 | 36 | ||
34 | #include <qdialog.h> | 37 | #include <qdialog.h> |
35 | 38 | ||
36 | class QColor; | 39 | class QColor; |
37 | namespace Opie {namespace Ui {class OColor;}} | 40 | namespace Opie {namespace Ui {class OColor;}} |
38 | 41 | ||
39 | class EditScheme : public QDialog { | 42 | class EditScheme : public QDialog { |
40 | Q_OBJECT | 43 | Q_OBJECT |
41 | 44 | ||
42 | public: | 45 | public: |
43 | EditScheme ( int cnt, const QString *labels, QColor *colors, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); | 46 | EditScheme ( int cnt, const QString *labels, QColor *colors, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); |
44 | virtual ~EditScheme ( ); | 47 | virtual ~EditScheme ( ); |
45 | 48 | ||
46 | protected slots: | 49 | protected slots: |
47 | virtual void accept ( ); | 50 | virtual void accept ( ); |
48 | 51 | ||
49 | private: | 52 | private: |
50 | int m_count; | 53 | int m_count; |
diff --git a/noncore/settings/appearance2/exceptlistitem.h b/noncore/settings/appearance2/exceptlistitem.h index 7b4fa48..365fa90 100644 --- a/noncore/settings/appearance2/exceptlistitem.h +++ b/noncore/settings/appearance2/exceptlistitem.h | |||
@@ -1,49 +1,52 @@ | |||
1 | /* | 1 | /* |
2 | =. This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | 3 | |
4 | .>+-= | 4 | Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> |
5 | _;:, .> :=|. This file is free software; you can | 5 | =. |
6 | .> <`_, > . <= redistribute it and/or modify it under | 6 | .=l. |
7 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 7 | Â Â Â Â Â Â .>+-= |
8 | .="- .-=="i, .._ License as published by the Free Software | 8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
9 | - . .-<_> .<> Foundation; either version 2 of the License, | 9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
10 | ._= =} : or (at your option) any later version. | 10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
11 | .%`+i> _;_. | 11 | .="- .-=="i, Â Â .._ License as published by the Free Software |
12 | .i_,=:_. -<s. This file is distributed in the hope that | 12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
14 | : .. .:, . . . without even the implied warranty of | 14 | Â Â .%`+i> Â Â Â _;_. |
15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; |
17 | ..}^=.= = ; Public License for more details. | 17 | : .. Â Â .:, Â Â . . . without even the implied warranty of |
18 | ++= -. .` .: | 18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A |
19 | : = ...= . :.=- You should have received a copy of the GNU | 19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU |
20 | -. .:....=;==+<; General Public License along with this file; | 20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more |
21 | -_. . . )=. = see the file COPYING. If not, write to the | 21 | ++= Â -. Â Â .` Â Â .: details. |
22 | -- :-=` Free Software Foundation, Inc., | 22 | : Â Â = Â ...= . :.=- |
23 | 59 Temple Place - Suite 330, | 23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU |
24 | Â -_. . . Â )=. Â = Library General Public License along with | ||
25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. | ||
26 | If not, write to the Free Software Foundation, | ||
27 | Inc., 59 Temple Place - Suite 330, | ||
24 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
25 | |||
26 | */ | 29 | */ |
27 | 30 | ||
28 | #ifndef EXCEPTLISTITEM_H | 31 | #ifndef EXCEPTLISTITEM_H |
29 | #define EXCEPTLISTITEM_H | 32 | #define EXCEPTLISTITEM_H |
30 | 33 | ||
31 | #include <qlistview.h> | 34 | #include <qlistview.h> |
32 | #include <qpixmap.h> | 35 | #include <qpixmap.h> |
33 | #include <qimage.h> | 36 | #include <qimage.h> |
34 | #include <qpainter.h> | 37 | #include <qpainter.h> |
35 | 38 | ||
36 | class ExceptListItem : public QListViewItem { | 39 | class ExceptListItem : public QListViewItem { |
37 | public: | 40 | public: |
38 | ExceptListItem ( QListView *lv, QListViewItem *after, const QString &t, bool nostyle = true, bool nofont = true, bool nodeco = true ) : QListViewItem ( lv, after ) | 41 | ExceptListItem ( QListView *lv, QListViewItem *after, const QString &t, bool nostyle = true, bool nofont = true, bool nodeco = true ) : QListViewItem ( lv, after ) |
39 | { | 42 | { |
40 | m_text = t; | 43 | m_text = t; |
41 | 44 | ||
42 | m_nofont = nofont; | 45 | m_nofont = nofont; |
43 | m_nostyle = nostyle; | 46 | m_nostyle = nostyle; |
44 | m_nodeco = nodeco; | 47 | m_nodeco = nodeco; |
45 | 48 | ||
46 | init ( ); | 49 | init ( ); |
47 | } | 50 | } |
48 | 51 | ||
49 | virtual ~ExceptListItem ( ) | 52 | virtual ~ExceptListItem ( ) |
diff --git a/noncore/settings/appearance2/main.cpp b/noncore/settings/appearance2/main.cpp index 87061e3..5c0f302 100644 --- a/noncore/settings/appearance2/main.cpp +++ b/noncore/settings/appearance2/main.cpp | |||
@@ -1,34 +1,37 @@ | |||
1 | /* | 1 | /* |
2 | =. This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | ||
4 | .>+-= | ||
5 | _;:, .> :=|. This file is free software; you can | ||
6 | .> <`_, > . <= redistribute it and/or modify it under | ||
7 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | ||
8 | .="- .-=="i, .._ License as published by the Free Software | ||
9 | - . .-<_> .<> Foundation; either version 2 of the License, | ||
10 | ._= =} : or (at your option) any later version. | ||
11 | .%`+i> _;_. | ||
12 | .i_,=:_. -<s. This file is distributed in the hope that | ||
13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | ||
14 | : .. .:, . . . without even the implied warranty of | ||
15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | ||
16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | ||
17 | ..}^=.= = ; Public License for more details. | ||
18 | ++= -. .` .: | ||
19 | : = ...= . :.=- You should have received a copy of the GNU | ||
20 | -. .:....=;==+<; General Public License along with this file; | ||
21 | -_. . . )=. = see the file COPYING. If not, write to the | ||
22 | -- :-=` Free Software Foundation, Inc., | ||
23 | 59 Temple Place - Suite 330, | ||
24 | Boston, MA 02111-1307, USA. | ||
25 | 3 | ||
4 | Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | ||
5 | =. | ||
6 | .=l. | ||
7 | Â Â Â Â Â Â .>+-= | ||
8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can | ||
9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under | ||
10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public | ||
11 | .="- .-=="i, Â Â .._ License as published by the Free Software | ||
12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, | ||
13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. | ||
14 | Â Â .%`+i> Â Â Â _;_. | ||
15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that | ||
16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; | ||
17 | : .. Â Â .:, Â Â . . . without even the implied warranty of | ||
18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A | ||
19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU | ||
20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more | ||
21 | ++= Â -. Â Â .` Â Â .: details. | ||
22 | : Â Â = Â ...= . :.=- | ||
23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU | ||
24 | Â -_. . . Â )=. Â = Library General Public License along with | ||
25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. | ||
26 | If not, write to the Free Software Foundation, | ||
27 | Inc., 59 Temple Place - Suite 330, | ||
28 | Boston, MA 02111-1307, USA. | ||
26 | */ | 29 | */ |
27 | 30 | ||
28 | #include "appearance.h" | 31 | #include "appearance.h" |
29 | 32 | ||
30 | #include <opie2/oapplicationfactory.h> | 33 | #include <opie2/oapplicationfactory.h> |
31 | 34 | ||
32 | 35 | ||
33 | using namespace Opie::Core; | 36 | using namespace Opie::Core; |
34 | OPIE_EXPORT_APP( OApplicationFactory<Appearance> ) | 37 | OPIE_EXPORT_APP( OApplicationFactory<Appearance> ) |
diff --git a/noncore/settings/appearance2/sample.cpp b/noncore/settings/appearance2/sample.cpp index f6c4dca..557a23e 100644 --- a/noncore/settings/appearance2/sample.cpp +++ b/noncore/settings/appearance2/sample.cpp | |||
@@ -1,50 +1,53 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | =. Copyright (c) 2002 Trolltech AS <info@trolltech.com> | 3 | |
4 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | 4 | Copyright (c) 2002 Trolltech AS <info@trolltech.com> |
5 | .>+-= | 5 | Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> |
6 | _;:, .> :=|. This file is free software; you can | 6 | =. |
7 | .> <`_, > . <= redistribute it and/or modify it under | 7 | .=l. |
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 8 | Â Â Â Â Â Â .>+-= |
9 | .="- .-=="i, .._ License as published by the Free Software | 9 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
10 | - . .-<_> .<> Foundation; either version 2 of the License, | 10 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
11 | ._= =} : or (at your option) any later version. | 11 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
12 | .%`+i> _;_. | 12 | .="- .-=="i, Â Â .._ License as published by the Free Software |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 13 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 14 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
15 | : .. .:, . . . without even the implied warranty of | 15 | Â Â .%`+i> Â Â Â _;_. |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 16 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 17 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; |
18 | ..}^=.= = ; Public License for more details. | 18 | : .. Â Â .:, Â Â . . . without even the implied warranty of |
19 | ++= -. .` .: | 19 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A |
20 | : = ...= . :.=- You should have received a copy of the GNU | 20 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU |
21 | -. .:....=;==+<; General Public License along with this file; | 21 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 22 | ++= Â -. Â Â .` Â Â .: details. |
23 | -- :-=` Free Software Foundation, Inc., | 23 | : Â Â = Â ...= . :.=- |
24 | 59 Temple Place - Suite 330, | 24 | Â -. Â .:....=;==+<; You should have received a copy of the GNU |
25 | Â -_. . . Â )=. Â = Library General Public License along with | ||
26 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. | ||
27 | If not, write to the Free Software Foundation, | ||
28 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | 29 | Boston, MA 02111-1307, USA. |
26 | |||
27 | */ | 30 | */ |
28 | 31 | ||
29 | #include <qvbox.h> | 32 | #include <qvbox.h> |
30 | #include <qpopupmenu.h> | 33 | #include <qpopupmenu.h> |
31 | #include <qpainter.h> | 34 | #include <qpainter.h> |
32 | #include <qmenubar.h> | 35 | #include <qmenubar.h> |
33 | #include <qcheckbox.h> | 36 | #include <qcheckbox.h> |
34 | #include <qpushbutton.h> | 37 | #include <qpushbutton.h> |
35 | #include <qscrollbar.h> | 38 | #include <qscrollbar.h> |
36 | #include <qlayout.h> | 39 | #include <qlayout.h> |
37 | #include <qwhatsthis.h> | 40 | #include <qwhatsthis.h> |
38 | #include <qpixmapcache.h> | 41 | #include <qpixmapcache.h> |
39 | #include <qtimer.h> | 42 | #include <qtimer.h> |
40 | #include <qobjectlist.h> | 43 | #include <qobjectlist.h> |
41 | #include <qcommonstyle.h> | 44 | #include <qcommonstyle.h> |
42 | 45 | ||
43 | #include "sample.h" | 46 | #include "sample.h" |
44 | 47 | ||
45 | 48 | ||
46 | class SampleText : public QWidget | 49 | class SampleText : public QWidget |
47 | { | 50 | { |
48 | public: | 51 | public: |
49 | SampleText( const QString &t, bool h, QWidget *parent ) | 52 | SampleText( const QString &t, bool h, QWidget *parent ) |
50 | : QWidget( parent ), hl(h), text(t) | 53 | : QWidget( parent ), hl(h), text(t) |
diff --git a/noncore/settings/appearance2/sample.h b/noncore/settings/appearance2/sample.h index 27e6db5..ba18038 100644 --- a/noncore/settings/appearance2/sample.h +++ b/noncore/settings/appearance2/sample.h | |||
@@ -1,50 +1,53 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | =. Copyright (c) 2002 Trolltech AS <info@trolltech.com> | ||
4 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | ||
5 | .>+-= | ||
6 | _;:, .> :=|. This file is free software; you can | ||
7 | .> <`_, > . <= redistribute it and/or modify it under | ||
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | ||
9 | .="- .-=="i, .._ License as published by the Free Software | ||
10 | - . .-<_> .<> Foundation; either version 2 of the License, | ||
11 | ._= =} : or (at your option) any later version. | ||
12 | .%`+i> _;_. | ||
13 | .i_,=:_. -<s. This file is distributed in the hope that | ||
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | ||
15 | : .. .:, . . . without even the implied warranty of | ||
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | ||
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | ||
18 | ..}^=.= = ; Public License for more details. | ||
19 | ++= -. .` .: | ||
20 | : = ...= . :.=- You should have received a copy of the GNU | ||
21 | -. .:....=;==+<; General Public License along with this file; | ||
22 | -_. . . )=. = see the file COPYING. If not, write to the | ||
23 | -- :-=` Free Software Foundation, Inc., | ||
24 | 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | ||
26 | 3 | ||
4 | Copyright (c) 2002 Trolltech AS <info@trolltech.com> | ||
5 | Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | ||
6 | =. | ||
7 | .=l. | ||
8 | Â Â Â Â Â Â .>+-= | ||
9 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can | ||
10 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under | ||
11 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public | ||
12 | .="- .-=="i, Â Â .._ License as published by the Free Software | ||
13 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, | ||
14 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. | ||
15 | Â Â .%`+i> Â Â Â _;_. | ||
16 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that | ||
17 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; | ||
18 | : .. Â Â .:, Â Â . . . without even the implied warranty of | ||
19 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A | ||
20 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU | ||
21 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more | ||
22 | ++= Â -. Â Â .` Â Â .: details. | ||
23 | : Â Â = Â ...= . :.=- | ||
24 | Â -. Â .:....=;==+<; You should have received a copy of the GNU | ||
25 | Â -_. . . Â )=. Â = Library General Public License along with | ||
26 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. | ||
27 | If not, write to the Free Software Foundation, | ||
28 | Inc., 59 Temple Place - Suite 330, | ||
29 | Boston, MA 02111-1307, USA. | ||
27 | */ | 30 | */ |
28 | 31 | ||
29 | #ifndef __PREVIEW_H__ | 32 | #ifndef __PREVIEW_H__ |
30 | #define __PREVIEW_H__ | 33 | #define __PREVIEW_H__ |
31 | 34 | ||
32 | #include <qwidget.h> | 35 | #include <qwidget.h> |
33 | 36 | ||
34 | #include <qpe/windowdecorationinterface.h> | 37 | #include <qpe/windowdecorationinterface.h> |
35 | 38 | ||
36 | class QVBox; | 39 | class QVBox; |
37 | class QPopupMenu; | 40 | class QPopupMenu; |
38 | class SampleText; | 41 | class SampleText; |
39 | 42 | ||
40 | class SampleWindow : public QWidget | 43 | class SampleWindow : public QWidget |
41 | { | 44 | { |
42 | Q_OBJECT | 45 | Q_OBJECT |
43 | public: | 46 | public: |
44 | SampleWindow( QWidget *parent ); | 47 | SampleWindow( QWidget *parent ); |
45 | 48 | ||
46 | QSize sizeHint() const; | 49 | QSize sizeHint() const; |
47 | 50 | ||
48 | virtual void setFont( const QFont &f ); | 51 | virtual void setFont( const QFont &f ); |
49 | 52 | ||
50 | void setStyle2 ( QStyle *sty, const QPalette &p ); | 53 | void setStyle2 ( QStyle *sty, const QPalette &p ); |
diff --git a/noncore/settings/appearance2/stylelistitem.h b/noncore/settings/appearance2/stylelistitem.h index b6c72c3..613fa71 100644 --- a/noncore/settings/appearance2/stylelistitem.h +++ b/noncore/settings/appearance2/stylelistitem.h | |||
@@ -1,49 +1,52 @@ | |||
1 | /* | 1 | /* |
2 | =. This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | ||
4 | .>+-= | ||
5 | _;:, .> :=|. This file is free software; you can | ||
6 | .> <`_, > . <= redistribute it and/or modify it under | ||
7 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | ||
8 | .="- .-=="i, .._ License as published by the Free Software | ||
9 | - . .-<_> .<> Foundation; either version 2 of the License, | ||
10 | ._= =} : or (at your option) any later version. | ||
11 | .%`+i> _;_. | ||
12 | .i_,=:_. -<s. This file is distributed in the hope that | ||
13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | ||
14 | : .. .:, . . . without even the implied warranty of | ||
15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | ||
16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | ||
17 | ..}^=.= = ; Public License for more details. | ||
18 | ++= -. .` .: | ||
19 | : = ...= . :.=- You should have received a copy of the GNU | ||
20 | -. .:....=;==+<; General Public License along with this file; | ||
21 | -_. . . )=. = see the file COPYING. If not, write to the | ||
22 | -- :-=` Free Software Foundation, Inc., | ||
23 | 59 Temple Place - Suite 330, | ||
24 | Boston, MA 02111-1307, USA. | ||
25 | 3 | ||
4 | Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | ||
5 | =. | ||
6 | .=l. | ||
7 | Â Â Â Â Â Â .>+-= | ||
8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can | ||
9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under | ||
10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public | ||
11 | .="- .-=="i, Â Â .._ License as published by the Free Software | ||
12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, | ||
13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. | ||
14 | Â Â .%`+i> Â Â Â _;_. | ||
15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that | ||
16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; | ||
17 | : .. Â Â .:, Â Â . . . without even the implied warranty of | ||
18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A | ||
19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU | ||
20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more | ||
21 | ++= Â -. Â Â .` Â Â .: details. | ||
22 | : Â Â = Â ...= . :.=- | ||
23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU | ||
24 | Â -_. . . Â )=. Â = Library General Public License along with | ||
25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. | ||
26 | If not, write to the Free Software Foundation, | ||
27 | Inc., 59 Temple Place - Suite 330, | ||
28 | Boston, MA 02111-1307, USA. | ||
26 | */ | 29 | */ |
27 | 30 | ||
28 | #ifndef STYLELISTITEM_H | 31 | #ifndef STYLELISTITEM_H |
29 | #define STYLELISTITEM_H | 32 | #define STYLELISTITEM_H |
30 | 33 | ||
31 | /* OPIE */ | 34 | /* OPIE */ |
32 | #include <qpe/styleinterface.h> | 35 | #include <qpe/styleinterface.h> |
33 | #include <qpe/qlibrary.h> | 36 | #include <qpe/qlibrary.h> |
34 | #include <qpe/resource.h> | 37 | #include <qpe/resource.h> |
35 | 38 | ||
36 | /* QT */ | 39 | /* QT */ |
37 | #include <qlistbox.h> | 40 | #include <qlistbox.h> |
38 | #include <qfileinfo.h> | 41 | #include <qfileinfo.h> |
39 | 42 | ||
40 | #include <stdio.h> | 43 | #include <stdio.h> |
41 | 44 | ||
42 | class StyleListItem : public QListBoxText { | 45 | class StyleListItem : public QListBoxText { |
43 | public: | 46 | public: |
44 | StyleListItem ( const QString &t, QStyle *sty ) : QListBoxText ( t ) | 47 | StyleListItem ( const QString &t, QStyle *sty ) : QListBoxText ( t ) |
45 | { | 48 | { |
46 | m_lib = 0; | 49 | m_lib = 0; |
47 | m_style_if = 0; | 50 | m_style_if = 0; |
48 | m_settings_if = 0; | 51 | m_settings_if = 0; |
49 | m_style = sty; | 52 | m_style = sty; |