.TH "KToolBarRadioGroup" 3 "28 Jan 2004" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KToolBarRadioGroup \- KToolBarRadioGroup is class for group of radio butons in toolbar. 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
.RI "\fIInternal - nothing for you here. \fP"
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKToolBarRadioGroup\fP (\fBKToolBar\fP *_parent, const  char *_name=0)"
.br
.RI "\fIConstructor. \fP"
.ti -1c
.RI "\fB~KToolBarRadioGroup\fP ()"
.br
.RI "\fIDestructor. \fP"
.ti -1c
.RI "void \fBaddButton\fP (int id)"
.br
.RI "\fIAdds button to group. \fP"
.ti -1c
.RI "void \fBremoveButton\fP (int id)"
.br
.RI "\fIRemoves button from group, making it again toggle button (i.e. \fP"
.in -1c
.SH "Detailed Description"
.PP 
KToolBarRadioGroup is class for group of radio butons in toolbar. 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 \fBtoggled\fP (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 47 of file ktoolbarradiogroup.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KToolBarRadioGroup::KToolBarRadioGroup (\fBKToolBar\fP * _parent, const char * _name = 0)"
.PP
Constructor. Parent must be \fBKToolBar\fP . Definition at line 35 of file ktoolbarradiogroup.cpp.
.PP
References QObject::connect(), and slotToggled().
.SS "KToolBarRadioGroup::~\fBKToolBarRadioGroup\fP ()"
.PP
Destructor. Definition at line 43 of file ktoolbarradiogroup.cpp.
.SH "Member Function Documentation"
.PP 
.SS "void KToolBarRadioGroup::addButton (int id)"
.PP
Adds button to group. Button cannot be unset by mouse clicks (you must press some other button tounset this one) Definition at line 48 of file ktoolbarradiogroup.cpp.
.PP
References KToolBar::getButton(), QIntDict< KToolBarButton >::insert(), and KToolBarButton::setRadio().
.SS "void KToolBarRadioGroup::removeButton (int id)"
.PP
Removes button from group, making it again toggle button (i.e. You can unset it with mouse). Definition at line 55 of file ktoolbarradiogroup.cpp.
.PP
References QIntDict< KToolBarButton >::find(), and QIntDict< KToolBarButton >::remove().
.SS "void KToolBarRadioGroup::slotToggled (int)\fC [slot]\fP"
.PP
Internal - nothing for you here. Definition at line 63 of file ktoolbarradiogroup.cpp.
.PP
References QIntDictIterator::current(), QIntDictIterator::currentKey(), and QIntDict< KToolBarButton >::find().
.PP
Referenced by KToolBarRadioGroup().

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