\section{KActive\-Label Class Reference}
\label{classKActiveLabel}\index{KActiveLabel@{KActiveLabel}}
Label with support for selection and clickable links.  


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

Inheritance diagram for KActive\-Label:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=58pt]{classKActiveLabel__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KActive\-Label:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=58pt]{classKActiveLabel__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
virtual void {\bf open\-Link} (const {\bf QString} \&link)
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KActive\-Label} ({\bf QWidget} $\ast$parent, const char $\ast$name=0)
\item 
{\bf KActive\-Label} (const {\bf QString} \&text, {\bf QWidget} $\ast$parent, const char $\ast$name=0)
\item 
{\bf QSize} {\bf minimum\-Size\-Hint} () const \label{classKActiveLabel_a2}

\item 
{\bf QSize} {\bf size\-Hint} () const \label{classKActiveLabel_a3}

\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKActiveLabel_b0}

\item 
virtual void {\bf focus\-In\-Event} ({\bf QFocus\-Event} $\ast$fe)\label{classKActiveLabel_b1}

\item 
virtual void {\bf focus\-Out\-Event} ({\bf QFocus\-Event} $\ast$fe)\label{classKActiveLabel_b2}

\item 
virtual void {\bf key\-Press\-Event} ({\bf QKey\-Event} $\ast$e)\label{classKActiveLabel_b3}

\end{CompactItemize}


\subsection{Detailed Description}
Label with support for selection and clickable links. 

{\bf open\-Link()}{\rm (p.\,\pageref{classKActiveLabel_i0})} the actions that will be taken when the user clicks on a link.

\begin{Desc}
\item[Author:]Waldo Bastian ({\tt bastian@kde.org}) \end{Desc}
\begin{Desc}
\item[Version:]\begin{Desc}
\item[Id]{\bf kactivelabel.h}{\rm (p.\,\pageref{kactivelabel_8h})} 355245 2004-10-17 11:39:35Z coolo \end{Desc}
\end{Desc}




Definition at line 37 of file kactivelabel.h.

\subsection{Constructor \& Destructor Documentation}
\index{KActiveLabel@{KActive\-Label}!KActiveLabel@{KActiveLabel}}
\index{KActiveLabel@{KActiveLabel}!KActiveLabel@{KActive\-Label}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KActive\-Label::KActive\-Label ({\bf QWidget} $\ast$ {\em parent}, const char $\ast$ {\em name} = {\tt 0})}\label{classKActiveLabel_a0}


Constructor. 

It connects the \char`\"{}link\-Clicked(const QString \&)\char`\"{} signal to the \char`\"{}open\-Link(const QString \&)\char`\"{} slot. You will need to disconnect this if you want to process {\bf link\-Clicked()} yourself. 

Definition at line 28 of file kactivelabel.cpp.\index{KActiveLabel@{KActive\-Label}!KActiveLabel@{KActiveLabel}}
\index{KActiveLabel@{KActiveLabel}!KActiveLabel@{KActive\-Label}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KActive\-Label::KActive\-Label (const {\bf QString} \& {\em text}, {\bf QWidget} $\ast$ {\em parent}, const char $\ast$ {\em name} = {\tt 0})}\label{classKActiveLabel_a1}


Constructor. 

It connects the \char`\"{}link\-Clicked(const QString \&)\char`\"{} signal to the \char`\"{}open\-Link(const QString \&)\char`\"{} slot. You will need to disconnect this if you want to process {\bf link\-Clicked()} yourself. 

Definition at line 34 of file kactivelabel.cpp.

\subsection{Member Function Documentation}
\index{KActiveLabel@{KActive\-Label}!openLink@{openLink}}
\index{openLink@{openLink}!KActiveLabel@{KActive\-Label}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KActive\-Label::open\-Link (const {\bf QString} \& {\em link})\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKActiveLabel_i0}


Opens {\tt link} in the default browser. 

If {\tt link} starts with the text \char`\"{}whatsthis:\char`\"{} a {\bf QWhats\-This} box will appear and then display the rest of the text. The Whats\-This functionality is available since {\bf KDE} 3.2. 

Definition at line 67 of file kactivelabel.cpp.

References QReg\-Exp::cap(), QWhats\-This::display(), and QReg\-Exp::exact\-Match().

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