summaryrefslogtreecommitdiff
path: root/noncore
authorsandman <sandman>2002-09-26 01:14:30 (UTC)
committer sandman <sandman>2002-09-26 01:14:30 (UTC)
commit056f01ffc3b32de4dbf4fca79917198951e59d60 (patch) (unidiff)
tree7c3331a038a85480c120b92dddb6277d97fe81da /noncore
parent8c831e3a8cc9cf7ee120a3a227b6698aa797f740 (diff)
downloadopie-056f01ffc3b32de4dbf4fca79917198951e59d60.zip
opie-056f01ffc3b32de4dbf4fca79917198951e59d60.tar.gz
opie-056f01ffc3b32de4dbf4fca79917198951e59d60.tar.bz2
Corrected the copyright headers (LGPL -> GPL)
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/appearance2/appearance.cpp31
-rw-r--r--noncore/settings/appearance2/appearance.h30
-rw-r--r--noncore/settings/appearance2/colorlistitem.h27
-rw-r--r--noncore/settings/appearance2/decolistitem.h28
-rw-r--r--noncore/settings/appearance2/editScheme.cpp30
-rw-r--r--noncore/settings/appearance2/editScheme.h30
-rw-r--r--noncore/settings/appearance2/main.cpp27
-rw-r--r--noncore/settings/appearance2/sample.cpp27
-rw-r--r--noncore/settings/appearance2/sample.h27
-rw-r--r--noncore/settings/appearance2/stylelistitem.h27
10 files changed, 140 insertions, 144 deletions
diff --git a/noncore/settings/appearance2/appearance.cpp b/noncore/settings/appearance2/appearance.cpp
index 66cf2c3..a5d216c 100644
--- a/noncore/settings/appearance2/appearance.cpp
+++ b/noncore/settings/appearance2/appearance.cpp
@@ -1,48 +1,49 @@
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 =. Copyright (c) 2002 Dan Williams <williamsdr@acm.org>
3             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> 5             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org>
4           .>+-= 6           .>+-=
5 _;:,     .>    :=|. This library is free software; you can 7 _;:,     .>    :=|. This file is free software; you can
6.> <`_,   >  .   <= redistribute it and/or modify it under 8.> <`_,   >  .   <= redistribute it and/or modify it under
7:`=1 )Y*s>-.--   : the terms of the GNU Library General Public 9:`=1 )Y*s>-.--   : the terms of the GNU General Public
8.="- .-=="i,     .._ License as published by the Free Software 10.="- .-=="i,     .._ License as published by the Free Software
9 - .   .-<_>     .<> Foundation; either version 2 of the License, 11 - .   .-<_>     .<> Foundation; either version 2 of the License,
10     ._= =}       : or (at your option) any later version. 12     ._= =}       : or (at your option) any later version.
11    .%`+i>       _;_. 13    .%`+i>       _;_.
12    .i_,=:_.      -<s. This library is distributed in the hope that 14    .i_,=:_.      -<s. This file is distributed in the hope that
13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY; 15     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
14    : ..    .:,     . . . without even the implied warranty of 16    : ..    .:,     . . . without even the implied warranty of
15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A 17    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU 18  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General
17..}^=.=       =       ; Library General Public License for more 19..}^=.=       =       ; Public License for more details.
18++=   -.     .`     .: details. 20++=   -.     .`     .:
19 :     =  ...= . :.=- 21 :     =  ...= . :.=- You should have received a copy of the GNU
20 -.   .:....=;==+<; You should have received a copy of the GNU 22 -.   .:....=;==+<; General Public License along with this file;
21  -_. . .   )=.  = Library General Public License along with 23  -_. . .   )=.  = see the file COPYING. If not, write to the
22    --        :-=` this library; see the file COPYING.LIB. 24    --        :-=` Free Software Foundation, Inc.,
23 If not, write to the Free Software Foundation, 25 59 Temple Place - Suite 330,
24 Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA. 26 Boston, MA 02111-1307, USA.
26 27
27*/ 28*/
28 29
29#include "appearance.h" 30#include "appearance.h"
30#include "editScheme.h" 31#include "editScheme.h"
31 32
32#include <opie/ofiledialog.h> 33#include <opie/ofiledialog.h>
33#include <opie/otabwidget.h> 34#include <opie/otabwidget.h>
34 35
35#include <qpe/applnk.h> 36#include <qpe/applnk.h>
36#include <qpe/config.h> 37#include <qpe/config.h>
37#include <qpe/global.h> 38#include <qpe/global.h>
38#include <qpe/resource.h> 39#include <qpe/resource.h>
39#include <qpe/qpeapplication.h> 40#include <qpe/qpeapplication.h>
40#if defined(Q_WS_QWS) && !defined(QT_NO_COP) 41#if defined(Q_WS_QWS) && !defined(QT_NO_COP)
41#include <qpe/qcopenvelope_qws.h> 42#include <qpe/qcopenvelope_qws.h>
42#endif 43#endif
43 44
44#include <qaction.h> 45#include <qaction.h>
45#include <qbuttongroup.h> 46#include <qbuttongroup.h>
46#include <qcheckbox.h> 47#include <qcheckbox.h>
47#include <qcombobox.h> 48#include <qcombobox.h>
48#include <qdialog.h> 49#include <qdialog.h>
diff --git a/noncore/settings/appearance2/appearance.h b/noncore/settings/appearance2/appearance.h
index ddf94f2..a392aa7 100644
--- a/noncore/settings/appearance2/appearance.h
+++ b/noncore/settings/appearance2/appearance.h
@@ -1,48 +1,48 @@
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             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> 4             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org>
4           .>+-= 5           .>+-=
5 _;:,     .>    :=|. This library is free software; you can 6 _;:,     .>    :=|. This file is free software; you can
6.> <`_,   >  .   <= redistribute it and/or modify it under 7.> <`_,   >  .   <= redistribute it and/or modify it under
7:`=1 )Y*s>-.--   : the terms of the GNU Library General Public 8:`=1 )Y*s>-.--   : the terms of the GNU General Public
8.="- .-=="i,     .._ License as published by the Free Software 9.="- .-=="i,     .._ License as published by the Free Software
9 - .   .-<_>     .<> Foundation; either version 2 of the License, 10 - .   .-<_>     .<> Foundation; either version 2 of the License,
10     ._= =}       : or (at your option) any later version. 11     ._= =}       : or (at your option) any later version.
11    .%`+i>       _;_. 12    .%`+i>       _;_.
12    .i_,=:_.      -<s. This library is distributed in the hope that 13    .i_,=:_.      -<s. This file is distributed in the hope that
13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY; 14     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
14    : ..    .:,     . . . without even the implied warranty of 15    : ..    .:,     . . . without even the implied warranty of
15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A 16    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU 17  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General
17..}^=.=       =       ; Library General Public License for more 18..}^=.=       =       ; Public License for more details.
18++=   -.     .`     .: 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  -_. . .   )=.  = Library General Public License along with 22  -_. . .   )=.  = see the file COPYING. If not, write to the
22    --        :-=` this library; see the file COPYING.LIB. 23    --        :-=` Free Software Foundation, Inc.,
23 If not, write to the Free Software Foundation, 24 59 Temple Place - Suite 330,
24 Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA. 25 Boston, MA 02111-1307, USA.
26 26
27*/ 27*/
28 28
29#ifndef APPEARANCESETTINGS_H 29#ifndef APPEARANCESETTINGS_H
30#define APPEARANCESETTINGS_H 30#define APPEARANCESETTINGS_H
31 31
32#include <qpe/fontdatabase.h> 32#include <qpe/fontdatabase.h>
33 33
34#include <qmainwindow.h> 34#include <qmainwindow.h>
35#include <qdialog.h> 35#include <qdialog.h>
36 36
37class QCheckBox; 37class QCheckBox;
38class QComboBox; 38class QComboBox;
39class QLabel; 39class QLabel;
40class QLineEdit; 40class QLineEdit;
41class QListBox; 41class QListBox;
42class QMultiLineEdit; 42class QMultiLineEdit;
43class QPushButton; 43class QPushButton;
44class QRadioButton; 44class QRadioButton;
45class QToolButton; 45class QToolButton;
46class SampleWindow; 46class SampleWindow;
47class OFontSelector; 47class OFontSelector;
48 48
diff --git a/noncore/settings/appearance2/colorlistitem.h b/noncore/settings/appearance2/colorlistitem.h
index 1df541b..10e4468 100644
--- a/noncore/settings/appearance2/colorlistitem.h
+++ b/noncore/settings/appearance2/colorlistitem.h
@@ -1,48 +1,47 @@
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             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org>
4           .>+-= 4           .>+-=
5 _;:,     .>    :=|. This library is free software; you can 5 _;:,     .>    :=|. This file is free software; you can
6.> <`_,   >  .   <= redistribute it and/or modify it under 6.> <`_,   >  .   <= redistribute it and/or modify it under
7:`=1 )Y*s>-.--   : the terms of the GNU Library General Public 7:`=1 )Y*s>-.--   : the terms of the GNU General Public
8.="- .-=="i,     .._ License as published by the Free Software 8.="- .-=="i,     .._ License as published by the Free Software
9 - .   .-<_>     .<> Foundation; either version 2 of the License, 9 - .   .-<_>     .<> Foundation; either version 2 of the License,
10     ._= =}       : or (at your option) any later version. 10     ._= =}       : or (at your option) any later version.
11    .%`+i>       _;_. 11    .%`+i>       _;_.
12    .i_,=:_.      -<s. This library is distributed in the hope that 12    .i_,=:_.      -<s. This file is distributed in the hope that
13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY; 13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
14    : ..    .:,     . . . without even the implied warranty of 14    : ..    .:,     . . . without even the implied warranty of
15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A 15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU 16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General
17..}^=.=       =       ; Library General Public License for more 17..}^=.=       =       ; Public License for more details.
18++=   -.     .`     .: details. 18++=   -.     .`     .:
19 :     =  ...= . :.=- 19 :     =  ...= . :.=- You should have received a copy of the GNU
20 -.   .:....=;==+<; You should have received a copy of the GNU 20 -.   .:....=;==+<; General Public License along with this file;
21  -_. . .   )=.  = Library General Public License along with 21  -_. . .   )=.  = see the file COPYING. If not, write to the
22    --        :-=` this library; see the file COPYING.LIB. 22    --        :-=` Free Software Foundation, Inc.,
23 If not, write to the Free Software Foundation, 23 59 Temple Place - Suite 330,
24 Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA. 24 Boston, MA 02111-1307, USA.
26 25
27*/ 26*/
28 27
29#ifndef COLORLISTITEM_H 28#ifndef COLORLISTITEM_H
30#define COLORLISTITEM_H 29#define COLORLISTITEM_H
31 30
32#include <qlistbox.h> 31#include <qlistbox.h>
33#include <qpalette.h> 32#include <qpalette.h>
34#include <qapplication.h> 33#include <qapplication.h>
35 34
36#include <qpe/config.h> 35#include <qpe/config.h>
37 36
38class Appearance; 37class Appearance;
39 38
40class ColorListItem : public QListBoxText { 39class ColorListItem : public QListBoxText {
41public: 40public:
42 ColorListItem ( const QString &t, Config &cfg ) : QListBoxText ( t ) 41 ColorListItem ( const QString &t, Config &cfg ) : QListBoxText ( t )
43 { 42 {
44 m_colors = new QColor [s_colorcount]; 43 m_colors = new QColor [s_colorcount];
45 load ( cfg ); 44 load ( cfg );
46 } 45 }
47 46
48 virtual ~ColorListItem ( ) 47 virtual ~ColorListItem ( )
diff --git a/noncore/settings/appearance2/decolistitem.h b/noncore/settings/appearance2/decolistitem.h
index 953a939..23261b1 100644
--- a/noncore/settings/appearance2/decolistitem.h
+++ b/noncore/settings/appearance2/decolistitem.h
@@ -1,51 +1,51 @@
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             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org>
4           .>+-= 4           .>+-=
5 _;:,     .>    :=|. This library is free software; you can 5 _;:,     .>    :=|. This file is free software; you can
6.> <`_,   >  .   <= redistribute it and/or modify it under 6.> <`_,   >  .   <= redistribute it and/or modify it under
7:`=1 )Y*s>-.--   : the terms of the GNU Library General Public 7:`=1 )Y*s>-.--   : the terms of the GNU General Public
8.="- .-=="i,     .._ License as published by the Free Software 8.="- .-=="i,     .._ License as published by the Free Software
9 - .   .-<_>     .<> Foundation; either version 2 of the License, 9 - .   .-<_>     .<> Foundation; either version 2 of the License,
10     ._= =}       : or (at your option) any later version. 10     ._= =}       : or (at your option) any later version.
11    .%`+i>       _;_. 11    .%`+i>       _;_.
12    .i_,=:_.      -<s. This library is distributed in the hope that 12    .i_,=:_.      -<s. This file is distributed in the hope that
13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY; 13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
14    : ..    .:,     . . . without even the implied warranty of 14    : ..    .:,     . . . without even the implied warranty of
15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A 15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU 16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General
17..}^=.=       =       ; Library General Public License for more 17..}^=.=       =       ; Public License for more details.
18++=   -.     .`     .: details. 18++=   -.     .`     .:
19 :     =  ...= . :.=- 19 :     =  ...= . :.=- You should have received a copy of the GNU
20 -.   .:....=;==+<; You should have received a copy of the GNU 20 -.   .:....=;==+<; General Public License along with this file;
21  -_. . .   )=.  = Library General Public License along with 21  -_. . .   )=.  = see the file COPYING. If not, write to the
22    --        :-=` this library; see the file COPYING.LIB. 22    --        :-=` Free Software Foundation, Inc.,
23 If not, write to the Free Software Foundation, 23 59 Temple Place - Suite 330,
24 Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA. 24 Boston, MA 02111-1307, USA.
26 25
27*/ 26*/
27
28#ifndef DECOLISTITEM_H 28#ifndef DECOLISTITEM_H
29#define DECOLISTITEM_H 29#define DECOLISTITEM_H
30 30
31#include <qpe/windowdecorationinterface.h> 31#include <qpe/windowdecorationinterface.h>
32#include <qlistbox.h> 32#include <qlistbox.h>
33 33
34class DecoListItem : public QListBoxText { 34class DecoListItem : public QListBoxText {
35public: 35public:
36 DecoListItem ( const QString &t ) : QListBoxText ( t ) 36 DecoListItem ( const QString &t ) : QListBoxText ( t )
37 { 37 {
38 m_lib = 0; 38 m_lib = 0;
39 m_window_if = 0; 39 m_window_if = 0;
40 // m_settings_if = 0; 40 // m_settings_if = 0;
41 } 41 }
42 42
43 DecoListItem ( QLibrary *lib, WindowDecorationInterface *iface ) : QListBoxText ( iface-> name ( )) 43 DecoListItem ( QLibrary *lib, WindowDecorationInterface *iface ) : QListBoxText ( iface-> name ( ))
44 { 44 {
45 m_lib = lib; 45 m_lib = lib;
46 m_window_if = iface; 46 m_window_if = iface;
47 47
48 // iface-> queryInterface ( IID_WindowDecoration, (QUnknownInterface **) &m_settings_if ); 48 // iface-> queryInterface ( IID_WindowDecoration, (QUnknownInterface **) &m_settings_if );
49 } 49 }
50 50
51 virtual ~DecoListItem ( ) 51 virtual ~DecoListItem ( )
diff --git a/noncore/settings/appearance2/editScheme.cpp b/noncore/settings/appearance2/editScheme.cpp
index 8cb0f1c..c2e5355 100644
--- a/noncore/settings/appearance2/editScheme.cpp
+++ b/noncore/settings/appearance2/editScheme.cpp
@@ -1,48 +1,48 @@
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             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> 4             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org>
4           .>+-= 5           .>+-=
5 _;:,     .>    :=|. This library is free software; you can 6 _;:,     .>    :=|. This file is free software; you can
6.> <`_,   >  .   <= redistribute it and/or modify it under 7.> <`_,   >  .   <= redistribute it and/or modify it under
7:`=1 )Y*s>-.--   : the terms of the GNU Library General Public 8:`=1 )Y*s>-.--   : the terms of the GNU General Public
8.="- .-=="i,     .._ License as published by the Free Software 9.="- .-=="i,     .._ License as published by the Free Software
9 - .   .-<_>     .<> Foundation; either version 2 of the License, 10 - .   .-<_>     .<> Foundation; either version 2 of the License,
10     ._= =}       : or (at your option) any later version. 11     ._= =}       : or (at your option) any later version.
11    .%`+i>       _;_. 12    .%`+i>       _;_.
12    .i_,=:_.      -<s. This library is distributed in the hope that 13    .i_,=:_.      -<s. This file is distributed in the hope that
13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY; 14     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
14    : ..    .:,     . . . without even the implied warranty of 15    : ..    .:,     . . . without even the implied warranty of
15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A 16    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU 17  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General
17..}^=.=       =       ; Library General Public License for more 18..}^=.=       =       ; Public License for more details.
18++=   -.     .`     .: 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  -_. . .   )=.  = Library General Public License along with 22  -_. . .   )=.  = see the file COPYING. If not, write to the
22    --        :-=` this library; see the file COPYING.LIB. 23    --        :-=` Free Software Foundation, Inc.,
23 If not, write to the Free Software Foundation, 24 59 Temple Place - Suite 330,
24 Inc., 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 "editScheme.h" 29#include "editScheme.h"
30 30
31#include <opie/ocolorbutton.h> 31#include <opie/ocolorbutton.h>
32 32
33#include <qaction.h> 33#include <qaction.h>
34#include <qlabel.h> 34#include <qlabel.h>
35#include <qlayout.h> 35#include <qlayout.h>
36#include <qpopupmenu.h> 36#include <qpopupmenu.h>
37#include <qscrollview.h> 37#include <qscrollview.h>
38#include <qtoolbutton.h> 38#include <qtoolbutton.h>
39 39
40EditScheme::EditScheme ( int cnt, const QString *labels, QColor *colors, QWidget* parent, const char* name, bool modal, WFlags fl ) 40EditScheme::EditScheme ( int cnt, const QString *labels, QColor *colors, QWidget* parent, const char* name, bool modal, WFlags fl )
41 : QDialog ( parent, name, modal, fl ) 41 : QDialog ( parent, name, modal, fl )
42{ 42{
43 setCaption ( tr( "Edit scheme" ) ); 43 setCaption ( tr( "Edit scheme" ) );
44 QGridLayout *layout = new QGridLayout ( this, 0, 0, 4, 4 ); 44 QGridLayout *layout = new QGridLayout ( this, 0, 0, 4, 4 );
45 45
46 m_count = cnt; 46 m_count = cnt;
47 m_buttons = new OColorButton * [cnt]; 47 m_buttons = new OColorButton * [cnt];
48 m_colors = colors; 48 m_colors = colors;
diff --git a/noncore/settings/appearance2/editScheme.h b/noncore/settings/appearance2/editScheme.h
index 0a025bd..93dc50d 100644
--- a/noncore/settings/appearance2/editScheme.h
+++ b/noncore/settings/appearance2/editScheme.h
@@ -1,48 +1,48 @@
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             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> 4             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org>
4           .>+-= 5           .>+-=
5 _;:,     .>    :=|. This library is free software; you can 6 _;:,     .>    :=|. This file is free software; you can
6.> <`_,   >  .   <= redistribute it and/or modify it under 7.> <`_,   >  .   <= redistribute it and/or modify it under
7:`=1 )Y*s>-.--   : the terms of the GNU Library General Public 8:`=1 )Y*s>-.--   : the terms of the GNU General Public
8.="- .-=="i,     .._ License as published by the Free Software 9.="- .-=="i,     .._ License as published by the Free Software
9 - .   .-<_>     .<> Foundation; either version 2 of the License, 10 - .   .-<_>     .<> Foundation; either version 2 of the License,
10     ._= =}       : or (at your option) any later version. 11     ._= =}       : or (at your option) any later version.
11    .%`+i>       _;_. 12    .%`+i>       _;_.
12    .i_,=:_.      -<s. This library is distributed in the hope that 13    .i_,=:_.      -<s. This file is distributed in the hope that
13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY; 14     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
14    : ..    .:,     . . . without even the implied warranty of 15    : ..    .:,     . . . without even the implied warranty of
15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A 16    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU 17  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General
17..}^=.=       =       ; Library General Public License for more 18..}^=.=       =       ; Public License for more details.
18++=   -.     .`     .: 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  -_. . .   )=.  = Library General Public License along with 22  -_. . .   )=.  = see the file COPYING. If not, write to the
22    --        :-=` this library; see the file COPYING.LIB. 23    --        :-=` Free Software Foundation, Inc.,
23 If not, write to the Free Software Foundation, 24 59 Temple Place - Suite 330,
24 Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA. 25 Boston, MA 02111-1307, USA.
26 26
27*/ 27*/
28 28
29#ifndef EDITSCHEME_H 29#ifndef EDITSCHEME_H
30#define EDITSCHEME_H 30#define EDITSCHEME_H
31 31
32#include <qdialog.h> 32#include <qdialog.h>
33 33
34class QColor; 34class QColor;
35class OColorButton; 35class OColorButton;
36 36
37class EditScheme : public QDialog { 37class EditScheme : public QDialog {
38 Q_OBJECT 38 Q_OBJECT
39 39
40public: 40public:
41 EditScheme ( int cnt, const QString *labels, QColor *colors, 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 );
42 virtual ~EditScheme ( ); 42 virtual ~EditScheme ( );
43 43
44protected slots: 44protected slots:
45 virtual void accept ( ); 45 virtual void accept ( );
46 46
47private: 47private:
48 int m_count; 48 int m_count;
diff --git a/noncore/settings/appearance2/main.cpp b/noncore/settings/appearance2/main.cpp
index 3afec46..ad24cf3 100644
--- a/noncore/settings/appearance2/main.cpp
+++ b/noncore/settings/appearance2/main.cpp
@@ -1,43 +1,42 @@
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             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org>
4           .>+-= 4           .>+-=
5 _;:,     .>    :=|. This library is free software; you can 5 _;:,     .>    :=|. This file is free software; you can
6.> <`_,   >  .   <= redistribute it and/or modify it under 6.> <`_,   >  .   <= redistribute it and/or modify it under
7:`=1 )Y*s>-.--   : the terms of the GNU Library General Public 7:`=1 )Y*s>-.--   : the terms of the GNU General Public
8.="- .-=="i,     .._ License as published by the Free Software 8.="- .-=="i,     .._ License as published by the Free Software
9 - .   .-<_>     .<> Foundation; either version 2 of the License, 9 - .   .-<_>     .<> Foundation; either version 2 of the License,
10     ._= =}       : or (at your option) any later version. 10     ._= =}       : or (at your option) any later version.
11    .%`+i>       _;_. 11    .%`+i>       _;_.
12    .i_,=:_.      -<s. This library is distributed in the hope that 12    .i_,=:_.      -<s. This file is distributed in the hope that
13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY; 13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
14    : ..    .:,     . . . without even the implied warranty of 14    : ..    .:,     . . . without even the implied warranty of
15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A 15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU 16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General
17..}^=.=       =       ; Library General Public License for more 17..}^=.=       =       ; Public License for more details.
18++=   -.     .`     .: details. 18++=   -.     .`     .:
19 :     =  ...= . :.=- 19 :     =  ...= . :.=- You should have received a copy of the GNU
20 -.   .:....=;==+<; You should have received a copy of the GNU 20 -.   .:....=;==+<; General Public License along with this file;
21  -_. . .   )=.  = Library General Public License along with 21  -_. . .   )=.  = see the file COPYING. If not, write to the
22    --        :-=` this library; see the file COPYING.LIB. 22    --        :-=` Free Software Foundation, Inc.,
23 If not, write to the Free Software Foundation, 23 59 Temple Place - Suite 330,
24 Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA. 24 Boston, MA 02111-1307, USA.
26 25
27*/ 26*/
28 27
29#include "appearance.h" 28#include "appearance.h"
30 29
31#include <qpe/qpeapplication.h> 30#include <qpe/qpeapplication.h>
32 31
33 32
34int main ( int argc, char **argv ) 33int main ( int argc, char **argv )
35{ 34{
36 QPEApplication app ( argc, argv ); 35 QPEApplication app ( argc, argv );
37 36
38 Appearance m; 37 Appearance m;
39 app. showMainDocumentWidget ( &m ); 38 app. showMainDocumentWidget ( &m );
40 39
41 return app. exec ( ); 40 return app. exec ( );
42} 41}
43 42
diff --git a/noncore/settings/appearance2/sample.cpp b/noncore/settings/appearance2/sample.cpp
index 0d8b003..6bbed4b 100644
--- a/noncore/settings/appearance2/sample.cpp
+++ b/noncore/settings/appearance2/sample.cpp
@@ -1,49 +1,48 @@
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 =. Copyright (c) 2002 Trolltech AS <info@trolltech.com>
4             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> 4             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org>
5           .>+-= 5           .>+-=
6 _;:,     .>    :=|. This library is free software; you can 6 _;:,     .>    :=|. This file is free software; you can
7.> <`_,   >  .   <= redistribute it and/or modify it under 7.> <`_,   >  .   <= redistribute it and/or modify it under
8:`=1 )Y*s>-.--   : the terms of the GNU Library 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 library 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 17  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General
18..}^=.=       =       ; Library General Public License for more 18..}^=.=       =       ; Public License for more details.
19++=   -.     .`     .: details. 19++=   -.     .`     .:
20 :     =  ...= . :.=- 20 :     =  ...= . :.=- You should have received a copy of the GNU
21 -.   .:....=;==+<; You should have received a copy of the GNU 21 -.   .:....=;==+<; General Public License along with this file;
22  -_. . .   )=.  = Library General Public License along with 22  -_. . .   )=.  = see the file COPYING. If not, write to the
23    --        :-=` this library; see the file COPYING.LIB. 23    --        :-=` Free Software Foundation, Inc.,
24 If not, write to the Free Software Foundation, 24 59 Temple Place - Suite 330,
25 Inc., 59 Temple Place - Suite 330,
26 Boston, MA 02111-1307, USA. 25 Boston, MA 02111-1307, USA.
27 26
28*/ 27*/
29 28
30#include <qvbox.h> 29#include <qvbox.h>
31#include <qpopupmenu.h> 30#include <qpopupmenu.h>
32#include <qpainter.h> 31#include <qpainter.h>
33#include <qmenubar.h> 32#include <qmenubar.h>
34#include <qcheckbox.h> 33#include <qcheckbox.h>
35#include <qpushbutton.h> 34#include <qpushbutton.h>
36#include <qscrollbar.h> 35#include <qscrollbar.h>
37#include <qlayout.h> 36#include <qlayout.h>
38#include <qwhatsthis.h> 37#include <qwhatsthis.h>
39#include <qpixmapcache.h> 38#include <qpixmapcache.h>
40#include <qtimer.h> 39#include <qtimer.h>
41#include <qobjectlist.h> 40#include <qobjectlist.h>
42#include <qcommonstyle.h> 41#include <qcommonstyle.h>
43 42
44#include "sample.h" 43#include "sample.h"
45 44
46 45
47class SampleText : public QWidget 46class SampleText : public QWidget
48{ 47{
49public: 48public:
diff --git a/noncore/settings/appearance2/sample.h b/noncore/settings/appearance2/sample.h
index a189f69..c861228 100644
--- a/noncore/settings/appearance2/sample.h
+++ b/noncore/settings/appearance2/sample.h
@@ -1,49 +1,48 @@
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 =. Copyright (c) 2002 Trolltech AS <info@trolltech.com>
4             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> 4             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org>
5           .>+-= 5           .>+-=
6 _;:,     .>    :=|. This library is free software; you can 6 _;:,     .>    :=|. This file is free software; you can
7.> <`_,   >  .   <= redistribute it and/or modify it under 7.> <`_,   >  .   <= redistribute it and/or modify it under
8:`=1 )Y*s>-.--   : the terms of the GNU Library 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 library 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 17  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General
18..}^=.=       =       ; Library General Public License for more 18..}^=.=       =       ; Public License for more details.
19++=   -.     .`     .: details. 19++=   -.     .`     .:
20 :     =  ...= . :.=- 20 :     =  ...= . :.=- You should have received a copy of the GNU
21 -.   .:....=;==+<; You should have received a copy of the GNU 21 -.   .:....=;==+<; General Public License along with this file;
22  -_. . .   )=.  = Library General Public License along with 22  -_. . .   )=.  = see the file COPYING. If not, write to the
23    --        :-=` this library; see the file COPYING.LIB. 23    --        :-=` Free Software Foundation, Inc.,
24 If not, write to the Free Software Foundation, 24 59 Temple Place - Suite 330,
25 Inc., 59 Temple Place - Suite 330,
26 Boston, MA 02111-1307, USA. 25 Boston, MA 02111-1307, USA.
27 26
28*/ 27*/
29 28
30#ifndef __PREVIEW_H__ 29#ifndef __PREVIEW_H__
31#define __PREVIEW_H__ 30#define __PREVIEW_H__
32 31
33#include <qwidget.h> 32#include <qwidget.h>
34 33
35#include <qpe/windowdecorationinterface.h> 34#include <qpe/windowdecorationinterface.h>
36 35
37class QVBox; 36class QVBox;
38class QPopupMenu; 37class QPopupMenu;
39class SampleText; 38class SampleText;
40 39
41class SampleWindow : public QWidget 40class SampleWindow : public QWidget
42{ 41{
43 Q_OBJECT 42 Q_OBJECT
44public: 43public:
45 SampleWindow( QWidget *parent ); 44 SampleWindow( QWidget *parent );
46 45
47 QSize sizeHint() const; 46 QSize sizeHint() const;
48 47
49 virtual void setFont( const QFont &f ); 48 virtual void setFont( const QFont &f );
diff --git a/noncore/settings/appearance2/stylelistitem.h b/noncore/settings/appearance2/stylelistitem.h
index bbfbd41..c0258e0 100644
--- a/noncore/settings/appearance2/stylelistitem.h
+++ b/noncore/settings/appearance2/stylelistitem.h
@@ -1,48 +1,47 @@
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             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org>
4           .>+-= 4           .>+-=
5 _;:,     .>    :=|. This library is free software; you can 5 _;:,     .>    :=|. This file is free software; you can
6.> <`_,   >  .   <= redistribute it and/or modify it under 6.> <`_,   >  .   <= redistribute it and/or modify it under
7:`=1 )Y*s>-.--   : the terms of the GNU Library General Public 7:`=1 )Y*s>-.--   : the terms of the GNU General Public
8.="- .-=="i,     .._ License as published by the Free Software 8.="- .-=="i,     .._ License as published by the Free Software
9 - .   .-<_>     .<> Foundation; either version 2 of the License, 9 - .   .-<_>     .<> Foundation; either version 2 of the License,
10     ._= =}       : or (at your option) any later version. 10     ._= =}       : or (at your option) any later version.
11    .%`+i>       _;_. 11    .%`+i>       _;_.
12    .i_,=:_.      -<s. This library is distributed in the hope that 12    .i_,=:_.      -<s. This file is distributed in the hope that
13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY; 13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
14    : ..    .:,     . . . without even the implied warranty of 14    : ..    .:,     . . . without even the implied warranty of
15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A 15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU 16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General
17..}^=.=       =       ; Library General Public License for more 17..}^=.=       =       ; Public License for more details.
18++=   -.     .`     .: details. 18++=   -.     .`     .:
19 :     =  ...= . :.=- 19 :     =  ...= . :.=- You should have received a copy of the GNU
20 -.   .:....=;==+<; You should have received a copy of the GNU 20 -.   .:....=;==+<; General Public License along with this file;
21  -_. . .   )=.  = Library General Public License along with 21  -_. . .   )=.  = see the file COPYING. If not, write to the
22    --        :-=` this library; see the file COPYING.LIB. 22    --        :-=` Free Software Foundation, Inc.,
23 If not, write to the Free Software Foundation, 23 59 Temple Place - Suite 330,
24 Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA. 24 Boston, MA 02111-1307, USA.
26 25
27*/ 26*/
28 27
29#ifndef STYLELISTITEM_H 28#ifndef STYLELISTITEM_H
30#define STYLELISTITEM_H 29#define STYLELISTITEM_H
31 30
32#include <qlistbox.h> 31#include <qlistbox.h>
33#include <qpe/styleinterface.h> 32#include <qpe/styleinterface.h>
34 33
35#include <stdio.h> 34#include <stdio.h>
36 35
37class StyleListItem : public QListBoxText { 36class StyleListItem : public QListBoxText {
38public: 37public:
39 StyleListItem ( const QString &t, QStyle *sty ) : QListBoxText ( t ) 38 StyleListItem ( const QString &t, QStyle *sty ) : QListBoxText ( t )
40 { 39 {
41 m_lib = 0; 40 m_lib = 0;
42 m_style_if = 0; 41 m_style_if = 0;
43 m_settings_if = 0; 42 m_settings_if = 0;
44 m_style = sty; 43 m_style = sty;
45 } 44 }
46 45
47 StyleListItem ( QLibrary *lib, StyleInterface *iface ) : QListBoxText ( iface-> name ( )) 46 StyleListItem ( QLibrary *lib, StyleInterface *iface ) : QListBoxText ( iface-> name ( ))
48 { 47 {