Back to index

kdeartwork  4.3.2
config.h
Go to the documentation of this file.
00001 /*
00002  *     Distributed under the terms of the BSD license.
00003  */
00004 
00005 #ifndef __KDE_CDECONFIG_H
00006 #define __KDE_CDECONFIG_H
00007 
00008 #include <qcheckbox.h>
00009 #include <q3groupbox.h>
00010 #include <q3buttongroup.h>
00011 #include <qlabel.h>
00012 #include <qradiobutton.h>
00013 #include <q3hbox.h>
00014 #include <kconfig.h>
00015 
00016 class QCheckBox;
00017 class Q3GroupBox;
00018 class KVBox;
00019 class QLabel;
00020 class QRadioButton;
00021 
00022 class CdeConfig: public QObject
00023 {
00024        Q_OBJECT
00025 
00026        public:
00027               CdeConfig( KConfig* conf, QWidget* parent );
00028               ~CdeConfig();
00029 
00030        // These public signals/slots work similar to KCM modules
00031        signals:
00032               void changed();
00033 
00034        public slots:
00035               void load( KConfig* conf ); 
00036               void save( KConfig* conf );
00037               void defaults();
00038 
00039        protected slots:
00040               void slotSelectionChanged();       // Internal use
00041               void slotSelectionChanged( int );
00042               
00043        private:
00044               KConfig*      cdeConfig;
00045               QCheckBox*    cbColorBorder;
00046 //            QCheckBox*    cbTitlebarButton;
00047               KHBox*                groupBox;
00048               Q3GroupBox*   gbSlider;
00049               Q3ButtonGroup*       bgAlign;
00050 };
00051 
00052 
00053 #endif
00054 
00055 // vim: ts=4