\section{KTool\-Bar\-Radio\-Group Class Reference}
\label{classKToolBarRadioGroup}\index{KToolBarRadioGroup@{KToolBarRadioGroup}}
Class for group of radio butons in toolbar.  


{\tt \#include $<$ktoolbarradiogroup.h$>$}

Inheritance diagram for KTool\-Bar\-Radio\-Group:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=74pt]{classKToolBarRadioGroup__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KTool\-Bar\-Radio\-Group:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=142pt]{classKToolBarRadioGroup__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void {\bf slot\-Toggled} (int)
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KTool\-Bar\-Radio\-Group} ({\bf KTool\-Bar} $\ast$\_\-parent, const char $\ast$\_\-name=0)
\item 
{\bf $\sim$KTool\-Bar\-Radio\-Group} ()
\item 
void {\bf add\-Button} (int id)
\item 
void {\bf remove\-Button} (int id)
\end{CompactItemize}


\subsection{Detailed Description}
Class for group of radio butons in toolbar. 

KTool\-Bar\-Radio\-Group is class for group of radio butons in toolbar. Take toggle buttons which you already inserted into toolbar, create KTool\-Bar\-Radio\-Group 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 \char`\"{}go down\char`\"{} and those who \char`\"{}go up\char`\"{}.

\begin{Desc}
\item[Author:]Sven Radej $<${\tt radej@kde.org}$>$ \end{Desc}




Definition at line 49 of file ktoolbarradiogroup.h.

\subsection{Constructor \& Destructor Documentation}
\index{KToolBarRadioGroup@{KTool\-Bar\-Radio\-Group}!KToolBarRadioGroup@{KToolBarRadioGroup}}
\index{KToolBarRadioGroup@{KToolBarRadioGroup}!KToolBarRadioGroup@{KTool\-Bar\-Radio\-Group}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KTool\-Bar\-Radio\-Group::KTool\-Bar\-Radio\-Group ({\bf KTool\-Bar} $\ast$ {\em \_\-parent}, const char $\ast$ {\em \_\-name} = {\tt 0})}\label{classKToolBarRadioGroup_a0}


Constructor. 

Parent must be {\bf KTool\-Bar}{\rm (p.\,\pageref{classKToolBar})} . 

Definition at line 34 of file ktoolbarradiogroup.cpp.

References QObject::connect(), and slot\-Toggled().\index{KToolBarRadioGroup@{KTool\-Bar\-Radio\-Group}!~KToolBarRadioGroup@{$\sim$KToolBarRadioGroup}}
\index{~KToolBarRadioGroup@{$\sim$KToolBarRadioGroup}!KToolBarRadioGroup@{KTool\-Bar\-Radio\-Group}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KTool\-Bar\-Radio\-Group::$\sim${\bf KTool\-Bar\-Radio\-Group} ()}\label{classKToolBarRadioGroup_a1}


Destructor. 



Definition at line 42 of file ktoolbarradiogroup.cpp.

\subsection{Member Function Documentation}
\index{KToolBarRadioGroup@{KTool\-Bar\-Radio\-Group}!addButton@{addButton}}
\index{addButton@{addButton}!KToolBarRadioGroup@{KTool\-Bar\-Radio\-Group}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KTool\-Bar\-Radio\-Group::add\-Button (int {\em id})}\label{classKToolBarRadioGroup_a2}


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.

References KTool\-Bar::get\-Button(), QInt\-Dict::insert(), and KTool\-Bar\-Button::set\-Radio().\index{KToolBarRadioGroup@{KTool\-Bar\-Radio\-Group}!removeButton@{removeButton}}
\index{removeButton@{removeButton}!KToolBarRadioGroup@{KTool\-Bar\-Radio\-Group}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KTool\-Bar\-Radio\-Group::remove\-Button (int {\em id})}\label{classKToolBarRadioGroup_a3}


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.

References QInt\-Dict::find(), and QInt\-Dict::remove().\index{KToolBarRadioGroup@{KTool\-Bar\-Radio\-Group}!slotToggled@{slotToggled}}
\index{slotToggled@{slotToggled}!KToolBarRadioGroup@{KTool\-Bar\-Radio\-Group}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KTool\-Bar\-Radio\-Group::slot\-Toggled (int)\hspace{0.3cm}{\tt  [slot]}}\label{classKToolBarRadioGroup_i0}


Internal - nothing for you here. 



Definition at line 62 of file ktoolbarradiogroup.cpp.

References QInt\-Dict\-Iterator::current(), QInt\-Dict\-Iterator::current\-Key(), and QInt\-Dict::find().

Referenced by KTool\-Bar\-Radio\-Group().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
ktoolbarradiogroup.h\item 
ktoolbarradiogroup.cpp\end{CompactItemize}
