Fix kurl
[kdeartwork.git] / kwin-styles / icewm / config / config.h
blobdd87c05b62792e7b0ab56da10ec333c5c72f09f0
1 /*
2 * $Id$
4 * This file contains the IceWM configuration widget
6 * Copyright (c) 2001
7 * Karol Szwed <gallium@kde.org>
8 * http://gallium.n3.net/
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public
12 * License as published by the Free Software Foundation; either
13 * version 2 of the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; see the file COPYING. If not, write to
22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23 * Boston, MA 02110-1301, USA.
27 #ifndef _ICEWMCONFIG_H
28 #define _ICEWMCONFIG_H
30 #include <qwidget.h>
31 #include <qcheckbox.h>
32 #include <q3groupbox.h>
33 #include <q3listbox.h>
34 #include <qlabel.h>
35 #include <kurllabel.h>
36 #include <kconfig.h>
38 class Q3VBox;
40 class IceWMConfig: public QObject
42 Q_OBJECT
44 public:
45 IceWMConfig( KConfig* conf, QWidget* parent );
46 ~IceWMConfig();
48 // These public signals/slots work similar to KCM modules
49 signals:
50 void changed();
52 public slots:
53 void load( KConfig* conf );
54 void save( KConfig* conf );
55 void defaults();
57 protected slots:
58 void slotSelectionChanged(); // Internal use
59 void callURL( const QString& s );
60 void findIceWMThemes();
62 private:
63 KConfig* icewmConfig;
64 QCheckBox* cbThemeTitleTextColors;
65 QCheckBox* cbTitleBarOnTop;
66 QCheckBox* cbShowMenuButtonIcon;
67 Q3ListBox* themeListBox;
68 QLabel* themeLabel;
69 KUrlLabel* urlLabel;
70 QString localThemeString;
71 Q3VBox* mainWidget;
75 #endif
76 // vim: ts=4