\section{KTool\-Bar\-Radio\-Group Class Reference}
\label{classKToolBarRadioGroup}\index{KToolBarRadioGroup@{KToolBarRadioGroup}}
KTool\-Bar\-Radio\-Group is class for group of radio butons in toolbar. 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=78pt]{classKToolBarRadioGroup__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KTool\-Bar\-Radio\-Group:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=146pt]{classKToolBarRadioGroup__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void {\bf slot\-Toggled} (int)
\begin{CompactList}\small\item\em Internal - nothing for you here. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KTool\-Bar\-Radio\-Group} ({\bf KTool\-Bar} $\ast$\_\-parent, const  char $\ast$\_\-name=0)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
{\bf $\sim$KTool\-Bar\-Radio\-Group} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
void {\bf add\-Button} (int id)
\begin{CompactList}\small\item\em Adds button to group. \item\end{CompactList}\item 
void {\bf remove\-Button} (int id)
\begin{CompactList}\small\item\em Removes button from group, making it again toggle button (i.e. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
KTool\-Bar\-Radio\-Group 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 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 47 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} = 0)}\label{classKToolBarRadioGroup_a0}


Constructor. 

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

Definition at line 35 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 43 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 48 of file ktoolbarradiogroup.cpp.

References KTool\-Bar::get\-Button(), QInt\-Dict$<$ KTool\-Bar\-Button $>$::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 55 of file ktoolbarradiogroup.cpp.

References QInt\-Dict$<$ KTool\-Bar\-Button $>$::find(), and QInt\-Dict$<$ KTool\-Bar\-Button $>$::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 63 of file ktoolbarradiogroup.cpp.

References QInt\-Dict\-Iterator::current(), QInt\-Dict\-Iterator::current\-Key(), and QInt\-Dict$<$ KTool\-Bar\-Button $>$::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}
