author | sandman <sandman> | 2002-09-24 23:53:23 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-09-24 23:53:23 (UTC) |
commit | 5ae62a1def1d21c4827560607b208033d6054ed0 (patch) (unidiff) | |
tree | 445b34a539ec9f377d36ba9fb1587c72dafa46b0 /noncore/settings | |
parent | a390040768072b4b2b931ec0bcdaaa55daae0b4c (diff) | |
download | opie-5ae62a1def1d21c4827560607b208033d6054ed0.zip opie-5ae62a1def1d21c4827560607b208033d6054ed0.tar.gz opie-5ae62a1def1d21c4827560607b208033d6054ed0.tar.bz2 |
- updated all copyright headers
- use new OColorButton
- rearranged editScheme a bit
-rw-r--r-- | noncore/settings/appearance2/appearance.cpp | 62 | ||||
-rw-r--r-- | noncore/settings/appearance2/appearance.h | 50 | ||||
-rw-r--r-- | noncore/settings/appearance2/colorlistitem.h | 28 | ||||
-rw-r--r-- | noncore/settings/appearance2/decolistitem.h | 27 | ||||
-rw-r--r-- | noncore/settings/appearance2/editScheme.cpp | 104 | ||||
-rw-r--r-- | noncore/settings/appearance2/editScheme.h | 71 | ||||
-rw-r--r-- | noncore/settings/appearance2/main.cpp | 46 | ||||
-rw-r--r-- | noncore/settings/appearance2/sample.cpp | 29 | ||||
-rw-r--r-- | noncore/settings/appearance2/sample.h | 29 | ||||
-rw-r--r-- | noncore/settings/appearance2/stylelistitem.h | 28 |
10 files changed, 311 insertions, 163 deletions
diff --git a/noncore/settings/appearance2/appearance.cpp b/noncore/settings/appearance2/appearance.cpp index 23630c5..66cf2c3 100644 --- a/noncore/settings/appearance2/appearance.cpp +++ b/noncore/settings/appearance2/appearance.cpp | |||
@@ -1,24 +1,28 @@ | |||
1 | /********************************************************************** | 1 | /* |
2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. | 2 | =. This file is part of the OPIE Project |
3 | ** | 3 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> |
4 | ** This file is part of the Qtopia Environment. | 4 | .>+-= |
5 | ** | 5 | _;:, .> :=|. This library is free software; you can |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | .> <`_, > . <= redistribute it and/or modify it under |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | .="- .-=="i, .._ License as published by the Free Software |
9 | ** packaging of this file. | 9 | - . .-<_> .<> Foundation; either version 2 of the License, |
10 | ** | 10 | ._= =} : or (at your option) any later version. |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | .%`+i> _;_. |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | .i_,=:_. -<s. This library is distributed in the hope that |
13 | ** | 13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | : .. .:, . . . without even the implied warranty of |
15 | ** | 15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
17 | ** not clear to you. | 17 | ..}^=.= = ; Library General Public License for more |
18 | ** | 18 | ++= -. .` .: details. |
19 | *********************************************************************** | 19 | : = ...= . :.=- |
20 | ** | 20 | -. .:....=;==+<; You should have received a copy of the GNU |
21 | ** Enhancements by: Dan Williams, <williamsdr@acm.org> | 21 | -_. . . )=. = Library General Public License along with |
22 | ** | 22 | -- :-=` this library; see the file COPYING.LIB. |
23 | **********************************************************************/ | 23 | If not, write to the Free Software Foundation, |
24 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | ||
26 | |||
27 | */ | ||
24 | 28 | ||
@@ -492,4 +496,4 @@ void Appearance::editSchemeClicked ( ) | |||
492 | int cnt = 0; | 496 | int cnt = 0; |
493 | QString controlLabel [QColorGroup::NColorRoles]; | 497 | QString labels [QColorGroup::NColorRoles]; |
494 | QString controlColor [QColorGroup::NColorRoles]; | 498 | QColor colors [QColorGroup::NColorRoles]; |
495 | 499 | ||
@@ -499,4 +503,4 @@ void Appearance::editSchemeClicked ( ) | |||
499 | if ( col. isValid ( )) { | 503 | if ( col. isValid ( )) { |
500 | controlLabel [cnt] = item-> label ( role ); | 504 | labels [cnt] = item-> label ( role ); |
501 | controlColor [cnt] = col. name ( ); | 505 | colors [cnt] = col; |
502 | 506 | ||
@@ -506,3 +510,3 @@ void Appearance::editSchemeClicked ( ) | |||
506 | 510 | ||
507 | EditScheme* editdlg = new EditScheme( this, "editScheme", true, 0, cnt, controlLabel, controlColor ); | 511 | EditScheme* editdlg = new EditScheme( cnt, labels, colors, this, "editScheme", true ); |
508 | editdlg-> showMaximized ( ); | 512 | editdlg-> showMaximized ( ); |
@@ -514,3 +518,3 @@ void Appearance::editSchemeClicked ( ) | |||
514 | if ( item-> color ( role ). isValid ( )) { | 518 | if ( item-> color ( role ). isValid ( )) { |
515 | citem-> setColor ( role, QColor ( controlColor [cnt] )); | 519 | citem-> setColor ( role, colors [cnt] ); |
516 | cnt++; | 520 | cnt++; |
diff --git a/noncore/settings/appearance2/appearance.h b/noncore/settings/appearance2/appearance.h index 4a86e57..ddf94f2 100644 --- a/noncore/settings/appearance2/appearance.h +++ b/noncore/settings/appearance2/appearance.h | |||
@@ -1,24 +1,28 @@ | |||
1 | /********************************************************************** | 1 | /* |
2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. | 2 | =. This file is part of the OPIE Project |
3 | ** | 3 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> |
4 | ** This file is part of the Qtopia Environment. | 4 | .>+-= |
5 | ** | 5 | _;:, .> :=|. This library is free software; you can |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | .> <`_, > . <= redistribute it and/or modify it under |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | .="- .-=="i, .._ License as published by the Free Software |
9 | ** packaging of this file. | 9 | - . .-<_> .<> Foundation; either version 2 of the License, |
10 | ** | 10 | ._= =} : or (at your option) any later version. |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | .%`+i> _;_. |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | .i_,=:_. -<s. This library is distributed in the hope that |
13 | ** | 13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | : .. .:, . . . without even the implied warranty of |
15 | ** | 15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
17 | ** not clear to you. | 17 | ..}^=.= = ; Library General Public License for more |
18 | ** | 18 | ++= -. .` .: details. |
19 | *********************************************************************** | 19 | : = ...= . :.=- |
20 | ** | 20 | -. .:....=;==+<; You should have received a copy of the GNU |
21 | ** Enhancements by: Dan Williams, <williamsdr@acm.org> | 21 | -_. . . )=. = Library General Public License along with |
22 | ** | 22 | -- :-=` this library; see the file COPYING.LIB. |
23 | **********************************************************************/ | 23 | If not, write to the Free Software Foundation, |
24 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | ||
26 | |||
27 | */ | ||
24 | 28 | ||
diff --git a/noncore/settings/appearance2/colorlistitem.h b/noncore/settings/appearance2/colorlistitem.h index 1ff6ecc..1df541b 100644 --- a/noncore/settings/appearance2/colorlistitem.h +++ b/noncore/settings/appearance2/colorlistitem.h | |||
@@ -1 +1,29 @@ | |||
1 | /* | ||
2 | =. This file is part of the OPIE Project | ||
3 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | ||
4 | .>+-= | ||
5 | _;:, .> :=|. This library is free software; you can | ||
6 | .> <`_, > . <= redistribute it and/or modify it under | ||
7 | :`=1 )Y*s>-.-- : the terms of the GNU Library 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 library 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 | ||
17 | ..}^=.= = ; Library General Public License for more | ||
18 | ++= -. .` .: details. | ||
19 | : = ...= . :.=- | ||
20 | -. .:....=;==+<; You should have received a copy of the GNU | ||
21 | -_. . . )=. = Library General Public License along with | ||
22 | -- :-=` this library; see the file COPYING.LIB. | ||
23 | If not, write to the Free Software Foundation, | ||
24 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | ||
26 | |||
27 | */ | ||
28 | |||
1 | #ifndef COLORLISTITEM_H | 29 | #ifndef COLORLISTITEM_H |
diff --git a/noncore/settings/appearance2/decolistitem.h b/noncore/settings/appearance2/decolistitem.h index dfdce47..953a939 100644 --- a/noncore/settings/appearance2/decolistitem.h +++ b/noncore/settings/appearance2/decolistitem.h | |||
@@ -1 +1,28 @@ | |||
1 | /* | ||
2 | =. This file is part of the OPIE Project | ||
3 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | ||
4 | .>+-= | ||
5 | _;:, .> :=|. This library is free software; you can | ||
6 | .> <`_, > . <= redistribute it and/or modify it under | ||
7 | :`=1 )Y*s>-.-- : the terms of the GNU Library 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 library 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 | ||
17 | ..}^=.= = ; Library General Public License for more | ||
18 | ++= -. .` .: details. | ||
19 | : = ...= . :.=- | ||
20 | -. .:....=;==+<; You should have received a copy of the GNU | ||
21 | -_. . . )=. = Library General Public License along with | ||
22 | -- :-=` this library; see the file COPYING.LIB. | ||
23 | If not, write to the Free Software Foundation, | ||
24 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | ||
26 | |||
27 | */ | ||
1 | #ifndef DECOLISTITEM_H | 28 | #ifndef DECOLISTITEM_H |
diff --git a/noncore/settings/appearance2/editScheme.cpp b/noncore/settings/appearance2/editScheme.cpp index 4f2ac2c..8cb0f1c 100644 --- a/noncore/settings/appearance2/editScheme.cpp +++ b/noncore/settings/appearance2/editScheme.cpp | |||
@@ -1,19 +1,28 @@ | |||
1 | /********************************************************************** | 1 | /* |
2 | ** EditScheme | 2 | =. This file is part of the OPIE Project |
3 | ** | 3 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> |
4 | ** Dialog for editing color scheme | 4 | .>+-= |
5 | ** | 5 | _;:, .> :=|. This library is free software; you can |
6 | ** Copyright (C) 2002, Dan Williams | 6 | .> <`_, > . <= redistribute it and/or modify it under |
7 | ** williamsdr@acm.org | 7 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public |
8 | ** http://draknor.net | 8 | .="- .-=="i, .._ License as published by the Free Software |
9 | ** | 9 | - . .-<_> .<> Foundation; either version 2 of the License, |
10 | ** This file may be distributed and/or modified under the terms of the | 10 | ._= =} : or (at your option) any later version. |
11 | ** GNU General Public License version 2 as published by the Free Software | 11 | .%`+i> _;_. |
12 | ** Foundation and appearing in the file LICENSE.GPL included in the | 12 | .i_,=:_. -<s. This library is distributed in the hope that |
13 | ** packaging of this file. | 13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
14 | ** | 14 | : .. .:, . . . without even the implied warranty of |
15 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
16 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
17 | ** | 17 | ..}^=.= = ; Library General Public License for more |
18 | **********************************************************************/ | 18 | ++= -. .` .: details. |
19 | : = ...= . :.=- | ||
20 | -. .:....=;==+<; You should have received a copy of the GNU | ||
21 | -_. . . )=. = Library General Public License along with | ||
22 | -- :-=` this library; see the file COPYING.LIB. | ||
23 | If not, write to the Free Software Foundation, | ||
24 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | ||
26 | |||
27 | */ | ||
19 | 28 | ||
@@ -21,3 +30,3 @@ | |||
21 | 30 | ||
22 | #include "opie/colorpopupmenu.h" | 31 | #include <opie/ocolorbutton.h> |
23 | 32 | ||
@@ -30,4 +39,3 @@ | |||
30 | 39 | ||
31 | EditScheme::EditScheme( QWidget* parent, const char* name, bool modal, WFlags fl, | 40 | EditScheme::EditScheme ( int cnt, const QString *labels, QColor *colors, QWidget* parent, const char* name, bool modal, WFlags fl ) |
32 | int max, QString *list, QString *colors ) | ||
33 | : QDialog( parent, name, modal, fl ) | 41 | : QDialog( parent, name, modal, fl ) |
@@ -35,28 +43,16 @@ EditScheme::EditScheme( QWidget* parent, const char* name, bool modal, WFlags f | |||
35 | setCaption( tr( "Edit scheme" ) ); | 43 | setCaption( tr( "Edit scheme" ) ); |
36 | QGridLayout* layout = new QGridLayout( this ); | 44 | QGridLayout *layout = new QGridLayout ( this, 0, 0, 4, 4 ); |
37 | layout->setSpacing( 4 ); | ||
38 | layout->setMargin( 4 ); | ||
39 | 45 | ||
46 | m_count = cnt; | ||
47 | m_buttons = new OColorButton * [cnt]; | ||
48 | m_colors = colors; | ||
40 | 49 | ||
41 | maxCount = max; | 50 | for ( int i = 0; i < cnt; i++ ) |
42 | colorList = colors; | ||
43 | surfaceList = list; | ||
44 | colorButtons = new QToolButton * [max]; | ||
45 | int i; | ||
46 | QLabel* label; | ||
47 | ColorPopupMenu* colorPopupMenu; | ||
48 | for ( i = 0; i < max; i++ ) | ||
49 | { | 51 | { |
50 | // colorList[i] = colors[i]; | 52 | QLabel *l = new QLabel ( labels [i], this ); |
51 | // surfaceList[i] = list[i]; | 53 | layout-> addWidget ( l, i, 0 ); |
52 | label = new QLabel( tr( surfaceList[i] ), this ); | ||
53 | layout->addWidget( label, i, 0 ); | ||
54 | colorButtons[i] = new QToolButton( this, list[i] ); | ||
55 | colorButtons[i]->setPalette( QPalette( QColor( colors[i] ) ) ); | ||
56 | layout->addWidget( colorButtons[i], i, 1 ); | ||
57 | 54 | ||
58 | colorPopupMenu = new ColorPopupMenu( colors[i], 0, list[i] ); | 55 | m_buttons [i] = new OColorButton ( this ); |
59 | colorButtons[i]->setPopup( colorPopupMenu ); | 56 | m_buttons [i]-> setColor ( colors [i] ); |
60 | colorButtons[i]->setPopupDelay( 0 ); | 57 | layout-> addWidget ( m_buttons [i], i, 1 ); |
61 | connect( colorPopupMenu, SIGNAL( colorSelected( const QColor& ) ), this, SLOT( changeColor( const QColor& ) ) ); | ||
62 | } | 58 | } |
@@ -66,22 +62,12 @@ EditScheme::~EditScheme() | |||
66 | { | 62 | { |
67 | delete [] colorButtons; | 63 | delete [] m_buttons; |
68 | } | 64 | } |
69 | 65 | ||
70 | void EditScheme::changeColor( const QColor& color ) | 66 | void EditScheme::accept ( ) |
71 | { | 67 | { |
72 | QString name( sender()->name() ); | 68 | for ( int i = 0; i < m_count; i++ ) |
73 | int i; | 69 | m_colors [i] = m_buttons [i]-> color ( ); |
74 | 70 | ||
75 | for ( i = 0; i < maxCount; i++ ) | 71 | QDialog::accept ( ); |
76 | { | ||
77 | if ( name == colorButtons[i]->name() ) | ||
78 | { | ||
79 | break; | ||
80 | } | ||
81 | } | ||
82 | if ( i < maxCount && name == colorButtons[i]->name() ) | ||
83 | { | ||
84 | colorList[i] = color.name(); | ||
85 | colorButtons[i]->setPalette( QPalette( QColor( colorList[i] ) ) ); | ||
86 | } | ||
87 | } | 72 | } |
73 | |||
diff --git a/noncore/settings/appearance2/editScheme.h b/noncore/settings/appearance2/editScheme.h index 583050f..0a025bd 100644 --- a/noncore/settings/appearance2/editScheme.h +++ b/noncore/settings/appearance2/editScheme.h | |||
@@ -1,19 +1,28 @@ | |||
1 | /********************************************************************** | 1 | /* |
2 | ** EditScheme | 2 | =. This file is part of the OPIE Project |
3 | ** | 3 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> |
4 | ** Dialog for editing color scheme | 4 | .>+-= |
5 | ** | 5 | _;:, .> :=|. This library is free software; you can |
6 | ** Copyright (C) 2002, Dan Williams | 6 | .> <`_, > . <= redistribute it and/or modify it under |
7 | ** williamsdr@acm.org | 7 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public |
8 | ** http://draknor.net | 8 | .="- .-=="i, .._ License as published by the Free Software |
9 | ** | 9 | - . .-<_> .<> Foundation; either version 2 of the License, |
10 | ** This file may be distributed and/or modified under the terms of the | 10 | ._= =} : or (at your option) any later version. |
11 | ** GNU General Public License version 2 as published by the Free Software | 11 | .%`+i> _;_. |
12 | ** Foundation and appearing in the file LICENSE.GPL included in the | 12 | .i_,=:_. -<s. This library is distributed in the hope that |
13 | ** packaging of this file. | 13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
14 | ** | 14 | : .. .:, . . . without even the implied warranty of |
15 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
16 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
17 | ** | 17 | ..}^=.= = ; Library General Public License for more |
18 | **********************************************************************/ | 18 | ++= -. .` .: details. |
19 | : = ...= . :.=- | ||
20 | -. .:....=;==+<; You should have received a copy of the GNU | ||
21 | -_. . . )=. = Library General Public License along with | ||
22 | -- :-=` this library; see the file COPYING.LIB. | ||
23 | If not, write to the Free Software Foundation, | ||
24 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | ||
26 | |||
27 | */ | ||
19 | 28 | ||
@@ -23,8 +32,7 @@ | |||
23 | #include <qdialog.h> | 32 | #include <qdialog.h> |
24 | #include <qtoolbutton.h> | ||
25 | 33 | ||
26 | class QColor; | 34 | class QColor; |
35 | class OColorButton; | ||
27 | 36 | ||
28 | class EditScheme : public QDialog | 37 | class EditScheme : public QDialog { |
29 | { | ||
30 | Q_OBJECT | 38 | Q_OBJECT |
@@ -32,17 +40,14 @@ class EditScheme : public QDialog | |||
32 | public: | 40 | public: |
33 | EditScheme( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0, | 41 | EditScheme ( int cnt, const QString *labels, QColor *colors, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); |
34 | int = 0, QString * = 0, QString * = 0 ); | 42 | virtual ~EditScheme ( ); |
35 | ~EditScheme(); | ||
36 | |||
37 | int maxCount; | ||
38 | QString * surfaceList; | ||
39 | QString * colorList; | ||
40 | |||
41 | |||
42 | QToolButton** colorButtons; | ||
43 | 43 | ||
44 | protected slots: | 44 | protected slots: |
45 | void changeColor( const QColor& ); | 45 | virtual void accept ( ); |
46 | |||
47 | private: | ||
48 | int m_count; | ||
49 | QColor *m_colors; | ||
50 | OColorButton **m_buttons; | ||
46 | }; | 51 | }; |
47 | 52 | ||
48 | #endif // EDITSCHEME_H | 53 | #endif |
diff --git a/noncore/settings/appearance2/main.cpp b/noncore/settings/appearance2/main.cpp index cfbab0b..3afec46 100644 --- a/noncore/settings/appearance2/main.cpp +++ b/noncore/settings/appearance2/main.cpp | |||
@@ -1,20 +1,28 @@ | |||
1 | /********************************************************************** | 1 | /* |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | =. This file is part of the OPIE Project |
3 | ** | 3 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> |
4 | ** This file is part of Qtopia Environment. | 4 | .>+-= |
5 | ** | 5 | _;:, .> :=|. This library is free software; you can |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | .> <`_, > . <= redistribute it and/or modify it under |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | .="- .-=="i, .._ License as published by the Free Software |
9 | ** packaging of this file. | 9 | - . .-<_> .<> Foundation; either version 2 of the License, |
10 | ** | 10 | ._= =} : or (at your option) any later version. |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | .%`+i> _;_. |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | .i_,=:_. -<s. This library is distributed in the hope that |
13 | ** | 13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | : .. .:, . . . without even the implied warranty of |
15 | ** | 15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
17 | ** not clear to you. | 17 | ..}^=.= = ; Library General Public License for more |
18 | ** | 18 | ++= -. .` .: details. |
19 | **********************************************************************/ | 19 | : = ...= . :.=- |
20 | -. .:....=;==+<; You should have received a copy of the GNU | ||
21 | -_. . . )=. = Library General Public License along with | ||
22 | -- :-=` this library; see the file COPYING.LIB. | ||
23 | If not, write to the Free Software Foundation, | ||
24 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | ||
26 | |||
27 | */ | ||
20 | 28 | ||
diff --git a/noncore/settings/appearance2/sample.cpp b/noncore/settings/appearance2/sample.cpp index e447002..0d8b003 100644 --- a/noncore/settings/appearance2/sample.cpp +++ b/noncore/settings/appearance2/sample.cpp | |||
@@ -1 +1,30 @@ | |||
1 | /* | ||
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 library is free software; you can | ||
7 | .> <`_, > . <= redistribute it and/or modify it under | ||
8 | :`=1 )Y*s>-.-- : the terms of the GNU Library 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 library 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 | ||
18 | ..}^=.= = ; Library General Public License for more | ||
19 | ++= -. .` .: details. | ||
20 | : = ...= . :.=- | ||
21 | -. .:....=;==+<; You should have received a copy of the GNU | ||
22 | -_. . . )=. = Library General Public License along with | ||
23 | -- :-=` this library; see the file COPYING.LIB. | ||
24 | If not, write to the Free Software Foundation, | ||
25 | Inc., 59 Temple Place - Suite 330, | ||
26 | Boston, MA 02111-1307, USA. | ||
27 | |||
28 | */ | ||
29 | |||
1 | #include <qvbox.h> | 30 | #include <qvbox.h> |
diff --git a/noncore/settings/appearance2/sample.h b/noncore/settings/appearance2/sample.h index c6f9b5a..a189f69 100644 --- a/noncore/settings/appearance2/sample.h +++ b/noncore/settings/appearance2/sample.h | |||
@@ -1 +1,30 @@ | |||
1 | /* | ||
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 library is free software; you can | ||
7 | .> <`_, > . <= redistribute it and/or modify it under | ||
8 | :`=1 )Y*s>-.-- : the terms of the GNU Library 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 library 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 | ||
18 | ..}^=.= = ; Library General Public License for more | ||
19 | ++= -. .` .: details. | ||
20 | : = ...= . :.=- | ||
21 | -. .:....=;==+<; You should have received a copy of the GNU | ||
22 | -_. . . )=. = Library General Public License along with | ||
23 | -- :-=` this library; see the file COPYING.LIB. | ||
24 | If not, write to the Free Software Foundation, | ||
25 | Inc., 59 Temple Place - Suite 330, | ||
26 | Boston, MA 02111-1307, USA. | ||
27 | |||
28 | */ | ||
29 | |||
1 | #ifndef __PREVIEW_H__ | 30 | #ifndef __PREVIEW_H__ |
diff --git a/noncore/settings/appearance2/stylelistitem.h b/noncore/settings/appearance2/stylelistitem.h index 3cc63dc..bbfbd41 100644 --- a/noncore/settings/appearance2/stylelistitem.h +++ b/noncore/settings/appearance2/stylelistitem.h | |||
@@ -1 +1,29 @@ | |||
1 | /* | ||
2 | =. This file is part of the OPIE Project | ||
3 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | ||
4 | .>+-= | ||
5 | _;:, .> :=|. This library is free software; you can | ||
6 | .> <`_, > . <= redistribute it and/or modify it under | ||
7 | :`=1 )Y*s>-.-- : the terms of the GNU Library 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 library 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 | ||
17 | ..}^=.= = ; Library General Public License for more | ||
18 | ++= -. .` .: details. | ||
19 | : = ...= . :.=- | ||
20 | -. .:....=;==+<; You should have received a copy of the GNU | ||
21 | -_. . . )=. = Library General Public License along with | ||
22 | -- :-=` this library; see the file COPYING.LIB. | ||
23 | If not, write to the Free Software Foundation, | ||
24 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | ||
26 | |||
27 | */ | ||
28 | |||
1 | #ifndef STYLELISTITEM_H | 29 | #ifndef STYLELISTITEM_H |