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 // $Id: ktoolbarradiogroup.h,v 1.2 2000/03/01 20:56:21 granroth Exp $
00023 #ifndef _KTOOLBARRADIOGROUP_H
00024 #define _KTOOLBARRADIOGROUP_H
00025 
00026 #include <qobject.h>
00027 
00028 class KToolBar;
00029 class KToolBarButtonList;
00030 class KToolBarRadioGroupPrivate;
00031 
00032 /*************************************************************************
00033  *                          KToolBarRadioGroup                                  *
00034  *************************************************************************/
00047 class KToolBarRadioGroup : public QObject
00048 {
00049   Q_OBJECT
00050 
00051 public:
00055   KToolBarRadioGroup (KToolBar *_parent, const char *_name=0);
00059   ~KToolBarRadioGroup ();
00060 
00065   void addButton (int id);
00066 
00071   void removeButton (int id);
00072 
00073 public slots:
00077   void slotToggled (int);
00078 
00079 private:
00080   KToolBarButtonList *buttons;
00081   KToolBar *tb;
00082 
00083   KToolBarRadioGroupPrivate *d;
00084 };
00085 
00086 #endif
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.4.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sun Feb 27 22:15:05 2005 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001