Back to index

kdeartwork  4.3.2
config.h
Go to the documentation of this file.
00001 /*
00002  *     $Id: config.h 508554 2006-02-12 09:08:48Z mlaurent $
00003  *
00004  *     This file contains the IceWM configuration widget
00005  *
00006  *     Copyright (c) 2001
00007  *            Karol Szwed <gallium@kde.org>
00008  *            http://gallium.n3.net/
00009  *
00010  *  This program is free software; you can redistribute it and/or
00011  *  modify it under the terms of the GNU General Public
00012  *  License as published by the Free Software Foundation; either
00013  *  version 2 of the License, or (at your option) any later version.
00014  *
00015  *  This program is distributed in the hope that it will be useful,
00016  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018  *  General Public License for more details.
00019  *
00020  *  You should have received a copy of the GNU General Public License
00021  *  along with this program; see the file COPYING.  If not, write to
00022  *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00023  *  Boston, MA 02110-1301, USA.
00024  *
00025  */
00026 
00027 #ifndef _ICEWMCONFIG_H
00028 #define _ICEWMCONFIG_H
00029 
00030 #include <qwidget.h>
00031 #include <qcheckbox.h>
00032 #include <q3groupbox.h>
00033 #include <q3listbox.h>
00034 #include <qlabel.h>
00035 #include <kurllabel.h>
00036 #include <kconfig.h>
00037 
00038 class Q3VBox;
00039 
00040 class IceWMConfig: public QObject
00041 {
00042        Q_OBJECT
00043 
00044        public:
00045               IceWMConfig( KConfig* conf, QWidget* parent );
00046               ~IceWMConfig();
00047 
00048        // These public signals/slots work similar to KCM modules
00049        signals:
00050               void changed();
00051 
00052        public slots:
00053               void load( KConfig* conf );
00054               void save( KConfig* conf );
00055               void defaults();
00056 
00057        protected slots:
00058               void slotSelectionChanged();       // Internal use
00059               void callURL( const QString& s );
00060               void findIceWMThemes();
00061 
00062        private:
00063               KConfig*   icewmConfig;
00064               QCheckBox* cbThemeTitleTextColors;
00065               QCheckBox* cbTitleBarOnTop;
00066               QCheckBox* cbShowMenuButtonIcon;
00067               Q3ListBox*  themeListBox;
00068               QLabel*          themeLabel;
00069               KUrlLabel* urlLabel;
00070               QString    localThemeString;
00071               Q3VBox*     mainWidget;
00072 };
00073 
00074 
00075 #endif
00076 // vim: ts=4