Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KToolBarRadioGroup Class Reference

Class for group of radio butons in toolbar. More...

#include <ktoolbarradiogroup.h>

List of all members.

Public Slots

void slotToggled (int)

Public Methods

 KToolBarRadioGroup (KToolBar *_parent, const char *_name=0)
 ~KToolBarRadioGroup ()
void addButton (int id)
void removeButton (int id)


Detailed Description

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".

Author:
Sven Radej <radej@kde.org>

Definition at line 47 of file ktoolbarradiogroup.h.


Constructor & Destructor Documentation

KToolBarRadioGroup::KToolBarRadioGroup KToolBar   _parent,
const char *    _name = 0
 

Constructor. Parent must be KToolBar .

KToolBarRadioGroup::~KToolBarRadioGroup  
 

Destructor.


Member Function Documentation

void KToolBarRadioGroup::addButton int    id
 

Adds button to group. Button cannot be unset by mouse clicks (you must press some other button tounset this one)

void KToolBarRadioGroup::removeButton int    id
 

Removes button from group, making it again toggle button (i.e. You can unset it with mouse).

void KToolBarRadioGroup::slotToggled int    [slot]
 

Internal - nothing for you here.


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:27 2003 for kdelibs by doxygen1.2.18