summaryrefslogtreecommitdiff
path: root/noncore
authordrw <drw>2005-06-05 22:47:00 (UTC)
committer drw <drw>2005-06-05 22:47:00 (UTC)
commit8ee47cc828388f6f3b44356dbcee5536a9e83e55 (patch) (unidiff)
treecf4c704b08b9ba277e22d0f42cbe45a2b1057a79 /noncore
parent56b8917e2cca3715e9a19941965ddd73e6bba5d4 (diff)
downloadopie-8ee47cc828388f6f3b44356dbcee5536a9e83e55.zip
opie-8ee47cc828388f6f3b44356dbcee5536a9e83e55.tar.gz
opie-8ee47cc828388f6f3b44356dbcee5536a9e83e55.tar.bz2
Fix doc box headers
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/appearance2/appearance.cpp51
-rw-r--r--noncore/settings/appearance2/appearance.h51
-rw-r--r--noncore/settings/appearance2/colorlistitem.h49
-rw-r--r--noncore/settings/appearance2/decolistitem.h49
-rw-r--r--noncore/settings/appearance2/editScheme.cpp51
-rw-r--r--noncore/settings/appearance2/editScheme.h51
-rw-r--r--noncore/settings/appearance2/exceptlistitem.h49
-rw-r--r--noncore/settings/appearance2/main.cpp49
-rw-r--r--noncore/settings/appearance2/sample.cpp51
-rw-r--r--noncore/settings/appearance2/sample.h51
-rw-r--r--noncore/settings/appearance2/stylelistitem.h49
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
38using Opie::Ui::OFontSelector; 41using Opie::Ui::OFontSelector;
39 42
40class QCheckBox; 43class QCheckBox;
41class QComboBox; 44class QComboBox;
42class QLabel; 45class QLabel;
43class QLineEdit; 46class QLineEdit;
44class QListBox; 47class QListBox;
45class QMultiLineEdit; 48class QMultiLineEdit;
46class QPushButton; 49class QPushButton;
47class QRadioButton; 50class QRadioButton;
48class QToolButton; 51class QToolButton;
49class SampleWindow; 52class SampleWindow;
50namespace Opie {namespace Ui {class OFontSelector;}} 53namespace 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
37class Appearance; 40class Appearance;
38 41
39class ColorListItem : public QListBoxText { 42class ColorListItem : public QListBoxText {
40public: 43public:
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
34class DecoListItem : public QListBoxPixmap { 37class DecoListItem : public QListBoxPixmap {
35public: 38public:
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
39using namespace Opie::Ui; 42using namespace Opie::Ui;
40EditScheme::EditScheme ( int cnt, const QString *labels, QColor *colors, QWidget* parent, const char* name, bool modal, WFlags ) 43EditScheme::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
36class QColor; 39class QColor;
37namespace Opie {namespace Ui {class OColor;}} 40namespace Opie {namespace Ui {class OColor;}}
38 41
39class EditScheme : public QDialog { 42class EditScheme : public QDialog {
40 Q_OBJECT 43 Q_OBJECT
41 44
42public: 45public:
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
46protected slots: 49protected slots:
47 virtual void accept ( ); 50 virtual void accept ( );
48 51
49private: 52private:
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
36class ExceptListItem : public QListViewItem { 39class ExceptListItem : public QListViewItem {
37public: 40public:
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
33using namespace Opie::Core; 36using namespace Opie::Core;
34OPIE_EXPORT_APP( OApplicationFactory<Appearance> ) 37OPIE_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
46class SampleText : public QWidget 49class SampleText : public QWidget
47{ 50{
48public: 51public:
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
36class QVBox; 39class QVBox;
37class QPopupMenu; 40class QPopupMenu;
38class SampleText; 41class SampleText;
39 42
40class SampleWindow : public QWidget 43class SampleWindow : public QWidget
41{ 44{
42 Q_OBJECT 45 Q_OBJECT
43public: 46public:
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
42class StyleListItem : public QListBoxText { 45class StyleListItem : public QListBoxText {
43public: 46public:
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;