\section{KURLLabel Class Reference}
\label{classKURLLabel}\index{KURLLabel@{KURLLabel}}
A label class that supports displaying an active hyperlink. A drop-in replacement for {\bf QLabel} that displays hyperlinks.  


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

Inheritance diagram for KURLLabel:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=54pt]{classKURLLabel__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KURLLabel:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=54pt]{classKURLLabel__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void {\bf set\-Underline} (bool on=true)
\begin{CompactList}\small\item\em Turns on or off the underlining. \item\end{CompactList}\item 
void {\bf set\-URL} (const  {\bf QString} \&url)
\begin{CompactList}\small\item\em Sets the URL for this label to {\tt url}. \item\end{CompactList}\item 
virtual void {\bf set\-Font} (const  {\bf QFont} \&)
\begin{CompactList}\small\item\em Overridden for internal reasons; the API remains unaffected. \item\end{CompactList}\item 
void {\bf set\-Use\-Tips} (bool on=true)
\begin{CompactList}\small\item\em Turns on or off the tool tip feature. \item\end{CompactList}\item 
void {\bf set\-Tip\-Text} (const  {\bf QString} \&tip)
\begin{CompactList}\small\item\em Specifies what text to display when tooltips are turned on. \item\end{CompactList}\item 
void {\bf set\-Highlighted\-Color} (const  {\bf QColor} \&highcolor)
\begin{CompactList}\small\item\em Sets the highlight color. \item\end{CompactList}\item 
void {\bf set\-Highlighted\-Color} (const  {\bf QString} \&highcolor)
\begin{CompactList}\small\item\em This is an overloaded version for convenience. \item\end{CompactList}\item 
void {\bf set\-Selected\-Color} (const  {\bf QColor} \&selcolor)
\begin{CompactList}\small\item\em Sets the selected color. \item\end{CompactList}\item 
void {\bf set\-Selected\-Color} (const  {\bf QString} \&selcolor)
\begin{CompactList}\small\item\em This is an overloaded version for convenience. \item\end{CompactList}\item 
void {\bf set\-Use\-Cursor} (bool on, {\bf QCursor} $\ast$cursor=0L)
\begin{CompactList}\small\item\em Turns the custom cursor feature on or off. \item\end{CompactList}\item 
void {\bf set\-Glow} (bool glow=true)
\begin{CompactList}\small\item\em Turns on or off the \char`\"{}glow\char`\"{} feature. \item\end{CompactList}\item 
void {\bf set\-Float} (bool do\_\-float=true)
\begin{CompactList}\small\item\em Turns on or off the \char`\"{}float\char`\"{} feature. \item\end{CompactList}\item 
void {\bf set\-Alt\-Pixmap} (const  {\bf QPixmap} \&alt\-Pix)
\begin{CompactList}\small\item\em Sets the \char`\"{}alt\char`\"{} pixmap. \item\end{CompactList}\end{CompactItemize}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf entered\-URL} (const  {\bf QString} \&url)
\begin{CompactList}\small\item\em Emitted when the mouse has passed over the label. \item\end{CompactList}\item 
void {\bf entered\-URL} ()
\begin{CompactList}\small\item\em Emitted when the mouse has passed over the label. \item\end{CompactList}\item 
void {\bf left\-URL} (const  {\bf QString} \&url)
\begin{CompactList}\small\item\em Emitted when the mouse is no longer over the label. \item\end{CompactList}\item 
void {\bf left\-URL} ()
\begin{CompactList}\small\item\em Emitted when the mouse is no longer over the label. \item\end{CompactList}\item 
void {\bf left\-Clicked\-URL} (const  {\bf QString} \&url)
\begin{CompactList}\small\item\em Emitted when the user clicked the left mouse button on this label. \item\end{CompactList}\item 
void {\bf left\-Clicked\-URL} ()
\begin{CompactList}\small\item\em Emitted when the user clicked the left mouse button on this label. \item\end{CompactList}\item 
void {\bf right\-Clicked\-URL} (const  {\bf QString} \&url)
\begin{CompactList}\small\item\em Emitted when the user clicked the right mouse button on this label. \item\end{CompactList}\item 
void {\bf right\-Clicked\-URL} ()
\begin{CompactList}\small\item\em Emitted when the user clicked the left mouse button on this label. \item\end{CompactList}\item 
void {\bf middle\-Clicked\-URL} (const  {\bf QString} \&url)
\begin{CompactList}\small\item\em Emitted when the user clicked the middle mouse button on this label. \item\end{CompactList}\item 
void {\bf middle\-Clicked\-URL} ()
\begin{CompactList}\small\item\em Emitted when the user clicked the left mouse button on this label. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KURLLabel} ({\bf QWidget} $\ast$parent=0L, const  char $\ast$name=0L)
\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item 
{\bf KURLLabel} (const  {\bf QString} \&url, const  {\bf QString} \&{\bf text}=QString::null, {\bf QWidget} $\ast$parent=0L, const  char $\ast$name=0L)
\begin{CompactList}\small\item\em Convenience constructor. \item\end{CompactList}\item 
virtual {\bf $\sim$KURLLabel} ()
\begin{CompactList}\small\item\em Destructs the label. \item\end{CompactList}\item 
const  {\bf QString} \& {\bf url} () const 
\begin{CompactList}\small\item\em Returns the URL. \item\end{CompactList}\item 
const  {\bf QString} \& {\bf tip\-Text} () const 
\begin{CompactList}\small\item\em Returns the current tooltip text. \item\end{CompactList}\item 
bool {\bf use\-Tips} () const 
\item 
bool {\bf use\-Cursor} () const 
\item 
bool {\bf is\-Glow\-Enabled} () const 
\begin{CompactList}\small\item\em When this is on, the text will switch to the selected color whenever the mouse passes over it. \item\end{CompactList}\item 
bool {\bf is\-Float\-Enabled} () const 
\begin{CompactList}\small\item\em This feature is very similar to the \char`\"{}glow\char`\"{} feature in that the color of the label switches to the selected color when the cursor passes over it. \item\end{CompactList}\item 
const  {\bf QPixmap} $\ast$ {\bf alt\-Pixmap} () const 
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf mouse\-Release\-Event} ({\bf QMouse\-Event} $\ast$)
\begin{CompactList}\small\item\em Overridden for internal reasons; the API remains unaffected. \item\end{CompactList}\item 
virtual void {\bf enter\-Event} ({\bf QEvent} $\ast$)
\begin{CompactList}\small\item\em Overridden for internal reasons; the API remains unaffected. \item\end{CompactList}\item 
virtual void {\bf leave\-Event} ({\bf QEvent} $\ast$)
\begin{CompactList}\small\item\em Overridden for internal reasons; the API remains unaffected. \item\end{CompactList}\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKURLLabel_b3}

\end{CompactItemize}


\subsection{Detailed Description}
A label class that supports displaying an active hyperlink. A drop-in replacement for {\bf QLabel} that displays hyperlinks. 

KURLLabel is a drop-in replacement for {\bf QLabel} that handles text in a fashion similar to how an HTML widget handles hyperlinks. The text can be underlined (or not) and set to different colors. It can also \char`\"{}glow\char`\"{} (cycle colors) when the mouse passes over it.

KURLLabel also provides signals for several events, including the mouse leaving and entering the text area and all forms of mouse clicking.

A typical usage would be something like so:

\small\begin{alltt}
     KURLLabel *address = new KURLLabel(this);
     address-$>$setText("My homepage");
     address-$>$setURL("http://www.home.com/~me");
     connect(address, SIGNAL({\bf leftClickedURL(const QString&)}{\rm (p.\,\pageref{classKURLLabel_l4})}),
                      SLOT(processMyURL(const QString&)));
 \end{alltt}\normalsize 


In this example, the text \char`\"{}My homepage\char`\"{} would be displayed as blue, underlined text. When the mouse passed over it, it would \char`\"{}glow\char`\"{} red. When the user clicks on the text, the signal {\bf left\-Clicked\-URL}{\rm (p.\,\pageref{classKURLLabel_l4})}() would be emitted with \char`\"{}http://www.home.com/$\sim$me\char`\"{} as its argument.

\begin{Desc}
\item[Author:]Kurt Granroth $<${\tt granroth@kde.org}$>$ (Interface) 

Peter Putzer $<${\tt putzer@kde.org}$>$ (Rewrite) \end{Desc}
\begin{Desc}
\item[Version:]\begin{Desc}
\item[Id]{\bf kurllabel.h}{\rm (p.\,\pageref{kurllabel_8h})},v 1.20 2002/03/04 00:51:52 lunakl Exp \end{Desc}
\end{Desc}




Definition at line 63 of file kurllabel.h.

\subsection{Constructor \& Destructor Documentation}
\index{KURLLabel@{KURLLabel}!KURLLabel@{KURLLabel}}
\index{KURLLabel@{KURLLabel}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KURLLabel::KURLLabel ({\bf QWidget} $\ast$ {\em parent} = 0L, const char $\ast$ {\em name} = 0L)}\label{classKURLLabel_a0}


Default constructor. 

Use {\bf set\-URL}{\rm (p.\,\pageref{classKURLLabel_i1})}() and {\bf set\-Text}() or QList\-View::set\-Pixmap() to set the resp. properties. 

Definition at line 66 of file kurllabel.cpp.

References KCursor::hand\-Cursor(), KStd\-Accel::name(), and set\-Font().\index{KURLLabel@{KURLLabel}!KURLLabel@{KURLLabel}}
\index{KURLLabel@{KURLLabel}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KURLLabel::KURLLabel (const {\bf QString} \& {\em url}, const {\bf QString} \& {\em text} = QString::null, {\bf QWidget} $\ast$ {\em parent} = 0L, const char $\ast$ {\em name} = 0L)}\label{classKURLLabel_a1}


Convenience constructor. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em url}]is the URL emitted when the label is clicked. \item[{\em text}]is the displayed string. If it's equal to QString::null the {\tt url} will be used instead.\end{description}
\end{Desc}
{\tt parent} and {\tt name} are passed to {\bf QLabel}. 

Definition at line 56 of file kurllabel.cpp.

References KCursor::hand\-Cursor(), KStd\-Accel::name(), and set\-Font().\index{KURLLabel@{KURLLabel}!~KURLLabel@{$\sim$KURLLabel}}
\index{~KURLLabel@{$\sim$KURLLabel}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KURLLabel::$\sim${\bf KURLLabel} ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKURLLabel_a2}


Destructs the label. 



Definition at line 75 of file kurllabel.cpp.

\subsection{Member Function Documentation}
\index{KURLLabel@{KURLLabel}!url@{url}}
\index{url@{url}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const  {\bf QString} \& KURLLabel::url () const}\label{classKURLLabel_a3}


Returns the URL. 



Definition at line 151 of file kurllabel.cpp.\index{KURLLabel@{KURLLabel}!tipText@{tipText}}
\index{tipText@{tipText}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const  {\bf QString} \& KURLLabel::tip\-Text () const}\label{classKURLLabel_a4}


Returns the current tooltip text. 



Definition at line 197 of file kurllabel.cpp.\index{KURLLabel@{KURLLabel}!useTips@{useTips}}
\index{useTips@{useTips}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KURLLabel::use\-Tips () const}\label{classKURLLabel_a5}


\begin{Desc}
\item[Returns:]true if a tooltip will be displayed.\end{Desc}
\begin{Desc}
\item[See also:]{\bf set\-Tip\-Text()}{\rm (p.\,\pageref{classKURLLabel_i4})} \end{Desc}


Definition at line 192 of file kurllabel.cpp.\index{KURLLabel@{KURLLabel}!useCursor@{useCursor}}
\index{useCursor@{useCursor}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KURLLabel::use\-Cursor () const}\label{classKURLLabel_a6}


\begin{Desc}
\item[Returns:]true if the cursor will change while over the URL.\end{Desc}
\begin{Desc}
\item[See also:]{\bf set\-Use\-Cursor}{\rm (p.\,\pageref{classKURLLabel_i9})} () \end{Desc}


Definition at line 170 of file kurllabel.cpp.\index{KURLLabel@{KURLLabel}!isGlowEnabled@{isGlowEnabled}}
\index{isGlowEnabled@{isGlowEnabled}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KURLLabel::is\-Glow\-Enabled () const}\label{classKURLLabel_a7}


When this is on, the text will switch to the selected color whenever the mouse passes over it. 



Definition at line 238 of file kurllabel.cpp.\index{KURLLabel@{KURLLabel}!isFloatEnabled@{isFloatEnabled}}
\index{isFloatEnabled@{isFloatEnabled}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KURLLabel::is\-Float\-Enabled () const}\label{classKURLLabel_a8}


This feature is very similar to the \char`\"{}glow\char`\"{} feature in that the color of the label switches to the selected color when the cursor passes over it. 

In addition, underlining is turned on for as long as the mouse is overhead. Note that if \char`\"{}glow\char`\"{} and underlining are both already turned on, this feature will have no visible effect. 

Definition at line 243 of file kurllabel.cpp.\index{KURLLabel@{KURLLabel}!altPixmap@{altPixmap}}
\index{altPixmap@{altPixmap}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const  {\bf QPixmap} $\ast$ KURLLabel::alt\-Pixmap () const}\label{classKURLLabel_a9}


\begin{Desc}
\item[Returns:]the alternate pixmap (may be 0L if none was set). \end{Desc}


Definition at line 253 of file kurllabel.cpp.\index{KURLLabel@{KURLLabel}!setUnderline@{setUnderline}}
\index{setUnderline@{setUnderline}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::set\-Underline (bool {\em on} = true)\hspace{0.3cm}{\tt  [slot]}}\label{classKURLLabel_i0}


Turns on or off the underlining. 

When this is on, the text will be underlined. By default, it is {\tt true}. 

Definition at line 117 of file kurllabel.cpp.

References set\-Font().

Referenced by KDialog\-Base::enable\-Linked\-Help(), enter\-Event(), and leave\-Event().\index{KURLLabel@{KURLLabel}!setURL@{setURL}}
\index{setURL@{setURL}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::set\-URL (const {\bf QString} \& {\em url})\hspace{0.3cm}{\tt  [slot]}}\label{classKURLLabel_i1}


Sets the URL for this label to {\tt url}. 

\begin{Desc}
\item[See also:]{\bf url}{\rm (p.\,\pageref{classKURLLabel_a3})} \end{Desc}


Definition at line 141 of file kurllabel.cpp.

References set\-Use\-Tips().\index{KURLLabel@{KURLLabel}!setFont@{setFont}}
\index{setFont@{setFont}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::set\-Font (const {\bf QFont} \&)\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKURLLabel_i2}


Overridden for internal reasons; the API remains unaffected. 



Reimplemented from {\bf QLabel}.

Definition at line 109 of file kurllabel.cpp.

References QLabel::set\-Font(), and QFont::set\-Underline().

Referenced by KURLLabel(), and set\-Underline().\index{KURLLabel@{KURLLabel}!setUseTips@{setUseTips}}
\index{setUseTips@{setUseTips}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::set\-Use\-Tips (bool {\em on} = true)\hspace{0.3cm}{\tt  [slot]}}\label{classKURLLabel_i3}


Turns on or off the tool tip feature. 

When this is on, the URL will be displayed as a tooltip whenever the mouse passes passes over it. By default, it is {\tt false}. 

Definition at line 175 of file kurllabel.cpp.

References QTool\-Tip::add(), and QTool\-Tip::remove().

Referenced by set\-Tip\-Text(), and set\-URL().\index{KURLLabel@{KURLLabel}!setTipText@{setTipText}}
\index{setTipText@{setTipText}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::set\-Tip\-Text (const {\bf QString} \& {\em tip})\hspace{0.3cm}{\tt  [slot]}}\label{classKURLLabel_i4}


Specifies what text to display when tooltips are turned on. 

If this is not used, the tip will default to the URL.

\begin{Desc}
\item[See also:]{\bf set\-Use\-Tips()}{\rm (p.\,\pageref{classKURLLabel_i3})} \end{Desc}


Definition at line 185 of file kurllabel.cpp.

References set\-Use\-Tips().\index{KURLLabel@{KURLLabel}!setHighlightedColor@{setHighlightedColor}}
\index{setHighlightedColor@{setHighlightedColor}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::set\-Highlighted\-Color (const {\bf QColor} \& {\em highcolor})\hspace{0.3cm}{\tt  [slot]}}\label{classKURLLabel_i5}


Sets the highlight color. 

This is the default foreground color (non-selected). By default, it is {\tt blue}. 

Definition at line 202 of file kurllabel.cpp.

Referenced by set\-Highlighted\-Color().\index{KURLLabel@{KURLLabel}!setHighlightedColor@{setHighlightedColor}}
\index{setHighlightedColor@{setHighlightedColor}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::set\-Highlighted\-Color (const {\bf QString} \& {\em highcolor})\hspace{0.3cm}{\tt  [slot]}}\label{classKURLLabel_i6}


This is an overloaded version for convenience. 

\begin{Desc}
\item[See also:]{\bf set\-Highlighted\-Color()}{\rm (p.\,\pageref{classKURLLabel_i5})} \end{Desc}


Definition at line 210 of file kurllabel.cpp.

References set\-Highlighted\-Color().\index{KURLLabel@{KURLLabel}!setSelectedColor@{setSelectedColor}}
\index{setSelectedColor@{setSelectedColor}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::set\-Selected\-Color (const {\bf QColor} \& {\em selcolor})\hspace{0.3cm}{\tt  [slot]}}\label{classKURLLabel_i7}


Sets the selected color. 

This is the color the text will change to when either a mouse passes over it and \char`\"{}glow\char`\"{} mode is on or when it is selected (clicked). By default, it is {\tt red}. 

Definition at line 215 of file kurllabel.cpp.

Referenced by set\-Selected\-Color().\index{KURLLabel@{KURLLabel}!setSelectedColor@{setSelectedColor}}
\index{setSelectedColor@{setSelectedColor}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::set\-Selected\-Color (const {\bf QString} \& {\em selcolor})\hspace{0.3cm}{\tt  [slot]}}\label{classKURLLabel_i8}


This is an overloaded version for convenience. 

\begin{Desc}
\item[See also:]{\bf set\-Selected\-Color()}{\rm (p.\,\pageref{classKURLLabel_i7})} \end{Desc}


Definition at line 223 of file kurllabel.cpp.

References set\-Selected\-Color().\index{KURLLabel@{KURLLabel}!setUseCursor@{setUseCursor}}
\index{setUseCursor@{setUseCursor}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::set\-Use\-Cursor (bool {\em on}, {\bf QCursor} $\ast$ {\em cursor} = 0L)\hspace{0.3cm}{\tt  [slot]}}\label{classKURLLabel_i9}


Turns the custom cursor feature on or off. 

When this is on, the cursor will change to a custom cursor (default is a \char`\"{}pointing hand\char`\"{}) whenever the cursor passes over the label. By default, it is on.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em on}]whether a custom cursor should be displayed. \item[{\em cursor}]is the custom cursor. {\tt 0L} indicates the default \char`\"{}hand cursor\char`\"{}. \end{description}
\end{Desc}


Definition at line 156 of file kurllabel.cpp.

References KCursor::hand\-Cursor().\index{KURLLabel@{KURLLabel}!setGlow@{setGlow}}
\index{setGlow@{setGlow}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::set\-Glow (bool {\em glow} = true)\hspace{0.3cm}{\tt  [slot]}}\label{classKURLLabel_i10}


Turns on or off the \char`\"{}glow\char`\"{} feature. 

When this is on, the text will switch to the selected color whenever the mouse passes over it. By default, it is {\tt true}. 

Definition at line 228 of file kurllabel.cpp.\index{KURLLabel@{KURLLabel}!setFloat@{setFloat}}
\index{setFloat@{setFloat}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::set\-Float (bool {\em do\_\-float} = true)\hspace{0.3cm}{\tt  [slot]}}\label{classKURLLabel_i11}


Turns on or off the \char`\"{}float\char`\"{} feature. 

This feature is very similar to the \char`\"{}glow\char`\"{} feature in that the color of the label switches to the selected color when the cursor passes over it. In addition, underlining is turned on for as long as the mouse is overhead. Note that if \char`\"{}glow\char`\"{} and underlining are both already turned on, this feature will have no visible effect. By default, it is {\tt false}. 

Definition at line 233 of file kurllabel.cpp.

Referenced by KDialog\-Base::enable\-Linked\-Help().\index{KURLLabel@{KURLLabel}!setAltPixmap@{setAltPixmap}}
\index{setAltPixmap@{setAltPixmap}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::set\-Alt\-Pixmap (const {\bf QPixmap} \& {\em alt\-Pix})\hspace{0.3cm}{\tt  [slot]}}\label{classKURLLabel_i12}


Sets the \char`\"{}alt\char`\"{} pixmap. 

This pixmap will be displayed when the cursor passes over the label. The effect is similar to the trick done with 'on\-Mouse\-Over' in javascript.

\begin{Desc}
\item[See also:]{\bf alt\-Pixmap()}{\rm (p.\,\pageref{classKURLLabel_a9})} \end{Desc}


Definition at line 248 of file kurllabel.cpp.\index{KURLLabel@{KURLLabel}!enteredURL@{enteredURL}}
\index{enteredURL@{enteredURL}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::entered\-URL (const {\bf QString} \& {\em url})\hspace{0.3cm}{\tt  [signal]}}\label{classKURLLabel_l0}


Emitted when the mouse has passed over the label. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em url}]The URL for this label. \end{description}
\end{Desc}
\index{KURLLabel@{KURLLabel}!enteredURL@{enteredURL}}
\index{enteredURL@{enteredURL}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::entered\-URL ()\hspace{0.3cm}{\tt  [signal]}}\label{classKURLLabel_l1}


Emitted when the mouse has passed over the label. 



Referenced by enter\-Event().\index{KURLLabel@{KURLLabel}!leftURL@{leftURL}}
\index{leftURL@{leftURL}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::left\-URL (const {\bf QString} \& {\em url})\hspace{0.3cm}{\tt  [signal]}}\label{classKURLLabel_l2}


Emitted when the mouse is no longer over the label. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em url}]The URL for this label. \end{description}
\end{Desc}
\index{KURLLabel@{KURLLabel}!leftURL@{leftURL}}
\index{leftURL@{leftURL}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::left\-URL ()\hspace{0.3cm}{\tt  [signal]}}\label{classKURLLabel_l3}


Emitted when the mouse is no longer over the label. 



Referenced by leave\-Event().\index{KURLLabel@{KURLLabel}!leftClickedURL@{leftClickedURL}}
\index{leftClickedURL@{leftClickedURL}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::left\-Clicked\-URL (const {\bf QString} \& {\em url})\hspace{0.3cm}{\tt  [signal]}}\label{classKURLLabel_l4}


Emitted when the user clicked the left mouse button on this label. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em url}]The URL for this label. \end{description}
\end{Desc}
\index{KURLLabel@{KURLLabel}!leftClickedURL@{leftClickedURL}}
\index{leftClickedURL@{leftClickedURL}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::left\-Clicked\-URL ()\hspace{0.3cm}{\tt  [signal]}}\label{classKURLLabel_l5}


Emitted when the user clicked the left mouse button on this label. 



Referenced by mouse\-Release\-Event().\index{KURLLabel@{KURLLabel}!rightClickedURL@{rightClickedURL}}
\index{rightClickedURL@{rightClickedURL}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::right\-Clicked\-URL (const {\bf QString} \& {\em url})\hspace{0.3cm}{\tt  [signal]}}\label{classKURLLabel_l6}


Emitted when the user clicked the right mouse button on this label. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em url}]The URL for this label. \end{description}
\end{Desc}
\index{KURLLabel@{KURLLabel}!rightClickedURL@{rightClickedURL}}
\index{rightClickedURL@{rightClickedURL}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::right\-Clicked\-URL ()\hspace{0.3cm}{\tt  [signal]}}\label{classKURLLabel_l7}


Emitted when the user clicked the left mouse button on this label. 



Referenced by mouse\-Release\-Event().\index{KURLLabel@{KURLLabel}!middleClickedURL@{middleClickedURL}}
\index{middleClickedURL@{middleClickedURL}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::middle\-Clicked\-URL (const {\bf QString} \& {\em url})\hspace{0.3cm}{\tt  [signal]}}\label{classKURLLabel_l8}


Emitted when the user clicked the middle mouse button on this label. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em url}]The URL for this label. \end{description}
\end{Desc}
\index{KURLLabel@{KURLLabel}!middleClickedURL@{middleClickedURL}}
\index{middleClickedURL@{middleClickedURL}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::middle\-Clicked\-URL ()\hspace{0.3cm}{\tt  [signal]}}\label{classKURLLabel_l9}


Emitted when the user clicked the left mouse button on this label. 



Referenced by mouse\-Release\-Event().\index{KURLLabel@{KURLLabel}!mouseReleaseEvent@{mouseReleaseEvent}}
\index{mouseReleaseEvent@{mouseReleaseEvent}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::mouse\-Release\-Event ({\bf QMouse\-Event} $\ast$)\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKURLLabel_b0}


Overridden for internal reasons; the API remains unaffected. 



Definition at line 80 of file kurllabel.cpp.

References QMouse\-Event::button(), left\-Clicked\-URL(), middle\-Clicked\-URL(), and right\-Clicked\-URL().\index{KURLLabel@{KURLLabel}!enterEvent@{enterEvent}}
\index{enterEvent@{enterEvent}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::enter\-Event ({\bf QEvent} $\ast$)\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKURLLabel_b1}


Overridden for internal reasons; the API remains unaffected. 



Definition at line 258 of file kurllabel.cpp.

References entered\-URL(), QLabel::pixmap(), QLabel::set\-Pixmap(), and set\-Underline().\index{KURLLabel@{KURLLabel}!leaveEvent@{leaveEvent}}
\index{leaveEvent@{leaveEvent}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::leave\-Event ({\bf QEvent} $\ast$)\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKURLLabel_b2}


Overridden for internal reasons; the API remains unaffected. 



Definition at line 284 of file kurllabel.cpp.

References left\-URL(), QLabel::pixmap(), QLabel::set\-Pixmap(), and set\-Underline().

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