.TH "KToolBarRadioGroup" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KToolBarRadioGroup \- Class for group of radio butons in toolbar.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <ktoolbarradiogroup.h>\fP
.PP
Inherits \fBQObject\fP.
.PP
.SS "Public Slots"

.in +1c
.ti -1c
.RI "void \fBslotToggled\fP (int)"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKToolBarRadioGroup\fP (\fBKToolBar\fP *_parent, const char *_name=0)"
.br
.ti -1c
.RI "\fB~KToolBarRadioGroup\fP ()"
.br
.ti -1c
.RI "void \fBaddButton\fP (int id)"
.br
.ti -1c
.RI "void \fBremoveButton\fP (int id)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Class for group of radio butons in toolbar. 

KToolBarRadioGroup is class for group of radio butons in toolbar. Take toggle buttons which you already inserted into toolbar, create KToolBarRadioGroup instance and add them here. All buttons will emit signals toggled (bool) (or you can use sitgnal toggled (int id) from toolbar). When one button is set down, all others are unset. All buttons emit signals - those who 'go down' and those who 'go up'.
.PP
\fBAuthor:\fP
.RS 4
Sven Radej <radej@kde.org> 
.RE
.PP

.PP
Definition at line 49 of file ktoolbarradiogroup.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KToolBarRadioGroup::KToolBarRadioGroup (\fBKToolBar\fP * _parent, const char * _name = \fC0\fP)"
.PP
Constructor. 
.PP
Parent must be \fBKToolBar\fP . 
.PP
Definition at line 34 of file ktoolbarradiogroup.cpp.
.PP
References QObject::connect(), and slotToggled().
.SS "KToolBarRadioGroup::~\fBKToolBarRadioGroup\fP ()"
.PP
Destructor. 
.PP
Definition at line 42 of file ktoolbarradiogroup.cpp.
.SH "Member Function Documentation"
.PP 
.SS "void KToolBarRadioGroup::addButton (int id)"
.PP
Adds button to group. 
.PP
Button cannot be unset by mouse clicks (you must press some other button tounset this one) 
.PP
Definition at line 47 of file ktoolbarradiogroup.cpp.
.PP
References KToolBar::getButton(), QIntDict::insert(), and KToolBarButton::setRadio().
.SS "void KToolBarRadioGroup::removeButton (int id)"
.PP
Removes button from group, making it again toggle button (i.e. 
.PP
You can unset it with mouse). 
.PP
Definition at line 54 of file ktoolbarradiogroup.cpp.
.PP
References QIntDict::find(), and QIntDict::remove().
.SS "void KToolBarRadioGroup::slotToggled (int)\fC [slot]\fP"
.PP
Internal - nothing for you here. 
.PP
Definition at line 62 of file ktoolbarradiogroup.cpp.
.PP
References QIntDictIterator::current(), QIntDictIterator::currentKey(), and QIntDict::find().
.PP
Referenced by KToolBarRadioGroup().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdeui Library from the source code.
