ktoolbarradiogroup.h
/* This file is part of the KDE libraries
Copyright (C) 1997, 1998 Stephan Kulow (coolo@kde.org)
(C) 1997, 1998 Sven Radej (radej@kde.org)
(C) 1997, 1998 Mark Donohoe (donohoe@kde.org)
(C) 1997, 1998 Matthias Ettrich (ettrich@kde.org)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2 as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef _KTOOLBARRADIOGROUP_H
#define _KTOOLBARRADIOGROUP_H
#include <qobject.h>
#include <kdelibs_export.h>
class KToolBar;
class KToolBarButtonList;
class KToolBarRadioGroupPrivate;
/*************************************************************************
* KToolBarRadioGroup *
*************************************************************************/
class KDEUI_EXPORT KToolBarRadioGroup : public QObject
{
Q_OBJECT
public:
KToolBarRadioGroup (KToolBar *_parent, const char *_name=0);
~KToolBarRadioGroup ();
void addButton (int id);
void removeButton (int id);
public slots:
void slotToggled (int);
private:
KToolBarButtonList *buttons;
KToolBar *tb;
KToolBarRadioGroupPrivate *d;
};
#endif
KToolBarRadioGroup
Class for group of radio butons in toolbar.
Definition: ktoolbarradiogroup.h:49
KToolBarButtonList
List of KToolBarButton objects.
Definition: ktoolbarbutton.h:323
KToolBar
Floatable toolbar with auto resize.
Definition: ktoolbar.h:103

KDE Home | KDE Accessibility Home | Description of Access Keys