.TH "KActiveLabel" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KActiveLabel \- Label with support for selection and clickable links.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kactivelabel.h>\fP
.PP
Inherits \fBQTextBrowser\fP.
.PP
.SS "Public Slots"

.in +1c
.ti -1c
.RI "virtual void \fBopenLink\fP (const \fBQString\fP &link)"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKActiveLabel\fP (\fBQWidget\fP *parent, const char *name=0)"
.br
.ti -1c
.RI "\fBKActiveLabel\fP (const \fBQString\fP &text, \fBQWidget\fP *parent, const char *name=0)"
.br
.ti -1c
.RI "\fBQSize\fP \fBminimumSizeHint\fP () const "
.br
.ti -1c
.RI "\fBQSize\fP \fBsizeHint\fP () const "
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.ti -1c
.RI "virtual void \fBfocusInEvent\fP (\fBQFocusEvent\fP *fe)"
.br
.ti -1c
.RI "virtual void \fBfocusOutEvent\fP (\fBQFocusEvent\fP *fe)"
.br
.ti -1c
.RI "virtual void \fBkeyPressEvent\fP (\fBQKeyEvent\fP *e)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Label with support for selection and clickable links. 

\fBopenLink()\fP the actions that will be taken when the user clicks on a link.
.PP
\fBAuthor:\fP
.RS 4
Waldo Bastian (bastian@kde.org) 
.RE
.PP
\fBVersion:\fP
.RS 4
\fBId\fP.RS 4
\fBkactivelabel.h\fP 355245 2004-10-17 11:39:35Z coolo 
.RE
.PP
.RE
.PP

.PP
Definition at line 37 of file kactivelabel.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KActiveLabel::KActiveLabel (\fBQWidget\fP * parent, const char * name = \fC0\fP)"
.PP
Constructor. 
.PP
It connects the 'linkClicked(const QString &)' signal to the 'openLink(const QString &)' slot. You will need to disconnect this if you want to process \fBlinkClicked()\fP yourself. 
.PP
Definition at line 28 of file kactivelabel.cpp.
.SS "KActiveLabel::KActiveLabel (const \fBQString\fP & text, \fBQWidget\fP * parent, const char * name = \fC0\fP)"
.PP
Constructor. 
.PP
It connects the 'linkClicked(const QString &)' signal to the 'openLink(const QString &)' slot. You will need to disconnect this if you want to process \fBlinkClicked()\fP yourself. 
.PP
Definition at line 34 of file kactivelabel.cpp.
.SH "Member Function Documentation"
.PP 
.SS "void KActiveLabel::openLink (const \fBQString\fP & link)\fC [virtual, slot]\fP"
.PP
Opens \fClink\fP in the default browser. 
.PP
If \fClink\fP starts with the text 'whatsthis:' a \fBQWhatsThis\fP box will appear and then display the rest of the text. The WhatsThis functionality is available since \fBKDE\fP 3.2. 
.PP
Definition at line 67 of file kactivelabel.cpp.
.PP
References QRegExp::cap(), QWhatsThis::display(), and QRegExp::exactMatch().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdeui Library from the source code.
