Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

YQRadioButtonGroup.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                                                                      |
00003 |                      __   __    ____ _____ ____                      |
00004 |                      \ \ / /_ _/ ___|_   _|___ \                     |
00005 |                       \ V / _` \___ \ | |   __) |                    |
00006 |                        | | (_| |___) || |  / __/                     |
00007 |                        |_|\__,_|____/ |_| |_____|                    |
00008 |                                                                      |
00009 |                               core system                            |
00010 |                                                        (C) SuSE GmbH |
00011 \----------------------------------------------------------------------/
00012 
00013   File:       YQRadioButtonGroup.h
00014 
00015   Author:     Mathias Kettner <kettner@suse.de>
00016   Maintainer: Stefan Hundhammer <sh@suse.de>
00017 
00018 /-*/
00019 
00020 #ifndef YQRadioButtonGroup_h
00021 #define YQRadioButtonGroup_h
00022 
00023 #include <qwidget.h>
00024 #include "YRadioButtonGroup.h"
00025 
00026 class QButtonGroup;
00027 
00028 class YQRadioButtonGroup : public QWidget, public YRadioButtonGroup
00029 {
00030     Q_OBJECT
00031 
00032 public:
00036     YQRadioButtonGroup( QWidget * parent, const YWidgetOpt & opt );
00037 
00041     ~YQRadioButtonGroup();
00042 
00049     void addRadioButton( YRadioButton * button );
00050 
00057     void removeRadioButton( YRadioButton * button );
00058 
00064     void setEnabling( bool enabled );
00065 
00069     void setSize( long newWidth, long newHeight );
00070 
00071 
00072 private slots:
00078     void radioButtonClicked( bool newState );
00079 
00080 
00081 private:
00082 
00086     int _recursionCounter;
00087 };
00088 
00089 
00090 #endif // YQRadioButtonGroup_h

Generated on Wed Sep 14 10:59:02 2005 for yast2-qt by  doxygen 1.4.4