kdeui Library API Documentation

ktoolbarradiogroup.h

00001 /* This file is part of the KDE libraries 00002 Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org) 00003 (C) 1997, 1998 Sven Radej (radej@kde.org) 00004 (C) 1997, 1998 Mark Donohoe (donohoe@kde.org) 00005 (C) 1997, 1998 Matthias Ettrich (ettrich@kde.org) 00006 00007 This library is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU Library General Public 00009 License version 2 as published by the Free Software Foundation. 00010 00011 This library is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 Library General Public License for more details. 00015 00016 You should have received a copy of the GNU Library General Public License 00017 along with this library; see the file COPYING.LIB. If not, write to 00018 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00019 Boston, MA 02111-1307, USA. 00020 */ 00021 00022 #ifndef _KTOOLBARRADIOGROUP_H 00023 #define _KTOOLBARRADIOGROUP_H 00024 00025 #include <qobject.h> 00026 00027 class KToolBar; 00028 class KToolBarButtonList; 00029 class KToolBarRadioGroupPrivate; 00030 00031 /************************************************************************* 00032 * KToolBarRadioGroup * 00033 *************************************************************************/ 00046 class KToolBarRadioGroup : public QObject 00047 { 00048 Q_OBJECT 00049 00050 public: 00054 KToolBarRadioGroup (KToolBar *_parent, const char *_name=0); 00058 ~KToolBarRadioGroup (); 00059 00064 void addButton (int id); 00065 00070 void removeButton (int id); 00071 00072 public slots: 00076 void slotToggled (int); 00077 00078 private: 00079 KToolBarButtonList *buttons; 00080 KToolBar *tb; 00081 00082 KToolBarRadioGroupPrivate *d; 00083 }; 00084 00085 #endif
KDE Logo
This file is part of the documentation for kdeui Library Version 3.3.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Oct 17 11:27:32 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003