\section{KURLLabel Class Reference}
\label{classKURLLabel}\index{KURLLabel@{KURLLabel}}
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=51pt]{classKURLLabel__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KURLLabel:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=51pt]{classKURLLabel__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void {\bf set\-Underline} (bool on=true)
\item 
void {\bf set\-URL} (const {\bf QString} \&url)
\item 
virtual void {\bf set\-Font} (const {\bf QFont} \&)
\item 
void {\bf set\-Use\-Tips} (bool on=true)
\item 
void {\bf set\-Tip\-Text} (const {\bf QString} \&tip)
\item 
void {\bf set\-Highlighted\-Color} (const {\bf QColor} \&highcolor)
\item 
void {\bf set\-Highlighted\-Color} (const {\bf QString} \&highcolor)
\item 
void {\bf set\-Selected\-Color} (const {\bf QColor} \&selcolor)
\item 
void {\bf set\-Selected\-Color} (const {\bf QString} \&selcolor)
\item 
void {\bf set\-Use\-Cursor} (bool on, {\bf QCursor} $\ast$cursor=0L)
\item 
void {\bf set\-Glow} (bool glow=true)
\item 
void {\bf set\-Float} (bool do\_\-float=true)
\item 
void {\bf set\-Alt\-Pixmap} (const {\bf QPixmap} \&alt\-Pix)
\end{CompactItemize}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf entered\-URL} (const {\bf QString} \&url)
\item 
void {\bf entered\-URL} ()
\item 
void {\bf left\-URL} (const {\bf QString} \&url)
\item 
void {\bf left\-URL} ()
\item 
void {\bf left\-Clicked\-URL} (const {\bf QString} \&url)
\item 
void {\bf left\-Clicked\-URL} ()
\item 
void {\bf right\-Clicked\-URL} (const {\bf QString} \&url)
\item 
void {\bf right\-Clicked\-URL} ()
\item 
void {\bf middle\-Clicked\-URL} (const {\bf QString} \&url)
\item 
void {\bf middle\-Clicked\-URL} ()
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KURLLabel} ({\bf QWidget} $\ast$parent=0L, const char $\ast$name=0L)
\item 
{\bf KURLLabel} (const {\bf QString} \&url, const {\bf QString} \&{\bf text}=QString::null, {\bf QWidget} $\ast$parent=0L, const char $\ast$name=0L)
\item 
virtual {\bf $\sim$KURLLabel} ()
\item 
const {\bf QString} \& {\bf url} () const 
\item 
const {\bf QString} \& {\bf tip\-Text} () const 
\item 
bool {\bf use\-Tips} () const 
\item 
bool {\bf use\-Cursor} () const 
\item 
bool {\bf is\-Glow\-Enabled} () const 
\item 
bool {\bf is\-Float\-Enabled} () const 
\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$)
\item 
virtual void {\bf enter\-Event} ({\bf QEvent} $\ast$)
\item 
virtual void {\bf leave\-Event} ({\bf QEvent} $\ast$)
\item 
virtual bool {\bf event} ({\bf QEvent} $\ast$e)
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKURLLabel_b4}

\end{CompactItemize}
\subsection*{Properties}
\begin{CompactItemize}
\item 
{\bf QString} {\bf url}\label{classKURLLabel_00}

\item 
{\bf QString} {\bf tip\-Text}\label{classKURLLabel_01}

\item 
{\bf QPixmap} {\bf alt\-Pixmap}\label{classKURLLabel_02}

\item 
bool {\bf glow\-Enabled}\label{classKURLLabel_03}

\item 
bool {\bf float\-Enabled}\label{classKURLLabel_04}

\item 
bool {\bf use\-Tips}\label{classKURLLabel_05}

\item 
bool {\bf use\-Cursor}\label{classKURLLabel_06}

\end{CompactItemize}


\subsection{Detailed Description}
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:



\footnotesize\begin{verbatim} KURLLabel *address = new KURLLabel(this);
 address->setText("My homepage");
 address->setURL("http://www.home.com/~me");
 connect(address, SIGNAL(leftClickedURL(const QString&)),
                  SLOT(processMyURL(const QString&)));
\end{verbatim}
\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_l5})} 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})} 345236 2004-09-09 15:23:55Z dfaure \end{Desc}
\end{Desc}




Definition at line 66 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} = {\tt 0L}, const char $\ast$ {\em name} = {\tt 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 84 of file kurllabel.cpp.

References 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} = {\tt QString::null}, {\bf QWidget} $\ast$ {\em parent} = {\tt 0L}, const char $\ast$ {\em name} = {\tt 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. \item[{\em parent}]Passed to lower level constructor \item[{\em name}]Passed to lower level constructor\end{description}
\end{Desc}
{\tt parent} and {\tt name} are passed to {\bf QLabel}, which in turn passes them further down 

Definition at line 74 of file kurllabel.cpp.

References 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 93 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. 

\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. 

\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}
\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}
\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 258 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 263 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}
\index{KURLLabel@{KURLLabel}!setUnderline@{setUnderline}}
\index{setUnderline@{setUnderline}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::set\-Underline (bool {\em on} = {\tt 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 135 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 159 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 127 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} = {\tt 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 195 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 205 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 222 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 230 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 235 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 243 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} = {\tt 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 174 of file kurllabel.cpp.\index{KURLLabel@{KURLLabel}!setGlow@{setGlow}}
\index{setGlow@{setGlow}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLLabel::set\-Glow (bool {\em glow} = {\tt 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 248 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} = {\tt 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 253 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 268 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 right 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 98 of file kurllabel.cpp.

References 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 278 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 304 of file kurllabel.cpp.

References left\-URL(), QLabel::pixmap(), QLabel::set\-Pixmap(), and set\-Underline().\index{KURLLabel@{KURLLabel}!event@{event}}
\index{event@{event}!KURLLabel@{KURLLabel}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KURLLabel::event ({\bf QEvent} $\ast$ {\em e})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKURLLabel_b3}


Catch parent palette changes. 



Definition at line 320 of file kurllabel.cpp.

References QPalette::brush(), KGlobal\-Settings::link\-Color(), QPalette::set\-Brush(), and QPalette::set\-Color().

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