• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kdeui

KToolBarRadioGroup Class Reference

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

#include <ktoolbarradiogroup.h>

Inheritance diagram for KToolBarRadioGroup:

Inheritance graph
[legend]

List of all members.


Public Slots

void slotToggled (int)

Public Member Functions

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

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 49 of file ktoolbarradiogroup.h.


Constructor & Destructor Documentation

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

Constructor.

Parent must be KToolBar .

Definition at line 34 of file ktoolbarradiogroup.cpp.

KToolBarRadioGroup::~KToolBarRadioGroup (  ) 

Destructor.

Definition at line 42 of file ktoolbarradiogroup.cpp.


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)

Definition at line 47 of file ktoolbarradiogroup.cpp.

void KToolBarRadioGroup::removeButton ( int  id  ) 

Removes button from group, making it again toggle button (i.e.

You can unset it with mouse).

Definition at line 54 of file ktoolbarradiogroup.cpp.

void KToolBarRadioGroup::slotToggled ( int  id  )  [slot]

Internal - nothing for you here.

Definition at line 62 of file ktoolbarradiogroup.cpp.


The documentation for this class was generated from the following files:
  • ktoolbarradiogroup.h
  • ktoolbarradiogroup.cpp

kdeui

Skip menu "kdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal