.TH "KTextBrowser" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KTextBrowser \- Extended \fBQTextBrowser\fP.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <ktextbrowser.h>\fP
.PP
Inherits \fBQTextBrowser\fP.
.PP
.SS "Signals"

.in +1c
.ti -1c
.RI "void \fBmailClick\fP (const \fBQString\fP &name, const \fBQString\fP &address)"
.br
.ti -1c
.RI "void \fBurlClick\fP (const \fBQString\fP &url)"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKTextBrowser\fP (\fBQWidget\fP *parent=0, const char *name=0, bool notifyClick=false)"
.br
.ti -1c
.RI "\fB~KTextBrowser\fP (void)"
.br
.ti -1c
.RI "void \fBsetNotifyClick\fP (bool notifyClick)"
.br
.ti -1c
.RI "bool \fBisNotifyClick\fP () const "
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "void \fBsetSource\fP (const \fBQString\fP &name)"
.br
.ti -1c
.RI "virtual void \fBkeyPressEvent\fP (\fBQKeyEvent\fP *e)"
.br
.ti -1c
.RI "virtual void \fBviewportMouseMoveEvent\fP (\fBQMouseEvent\fP *e)"
.br
.ti -1c
.RI "virtual void \fBcontentsWheelEvent\fP (\fBQWheelEvent\fP *e)"
.br
.ti -1c
.RI "virtual \fBQPopupMenu\fP * \fBcreatePopupMenu\fP (const \fBQPoint\fP &pos)"
.br
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SS "Properties"

.in +1c
.ti -1c
.RI "bool \fBnotifyClick\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
Extended \fBQTextBrowser\fP. 

An extended \fBQTextBrowser\fP.
.PP
By default it will invoke the system mailer or the system browser when a link is activated, or it can emit the signal \fBurlClick()\fP or \fBmailClick()\fP when a link is activated.
.PP
KDE Text Browser 
.PP
\fBAuthor:\fP
.RS 4
Espen Sand (espensa@online.no) 
.RE
.PP

.PP
Definition at line 42 of file ktextbrowser.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KTextBrowser::KTextBrowser (\fBQWidget\fP * parent = \fC0\fP, const char * name = \fC0\fP, bool notifyClick = \fCfalse\fP)"
.PP
Constructor. 
.PP
\fBParameters:\fP
.RS 4
\fIparent\fP Parent of the widget. 
.br
\fIname\fP Widget name. 
.br
\fInotifyClick\fP \fCtrue\fP causes signals to be emitted. 
.RE
.PP

.PP
Definition at line 29 of file ktextbrowser.cpp.
.SS "KTextBrowser::~\fBKTextBrowser\fP (void)"
.PP
Destructor. 
.PP
Definition at line 39 of file ktextbrowser.cpp.
.SH "Member Function Documentation"
.PP 
.SS "void KTextBrowser::setNotifyClick (bool notifyClick)"
.PP
Decide whether a click on a link should be handled internally or if a signal should be emitted. 
.PP
\fBParameters:\fP
.RS 4
\fInotifyClick\fP \fCtrue\fP causes signals to be emitted. 
.RE
.PP

.PP
Definition at line 44 of file ktextbrowser.cpp.
.SS "bool KTextBrowser::isNotifyClick () const"
.PP
Returns whether a click on a link should be handled internally or if a signal should be emitted. 
.PP
Definition at line 50 of file ktextbrowser.cpp.
.SS "void KTextBrowser::setSource (const \fBQString\fP & name)\fC [protected]\fP"
.PP
Reimplemented to NOT set the source but to do the special handling. 
.PP
Do not call. 
.PP
Reimplemented from \fBQTextBrowser\fP.
.PP
Definition at line 56 of file ktextbrowser.cpp.
.PP
References QString::find(), QString::isNull(), mailClick(), and urlClick().
.SS "void KTextBrowser::keyPressEvent (\fBQKeyEvent\fP * e)\fC [protected, virtual]\fP"
.PP
Makes sure Key_Escape is ignored. 
.PP
Reimplemented from \fBQTextBrowser\fP.
.PP
Definition at line 88 of file ktextbrowser.cpp.
.PP
References QTextBrowser::keyPressEvent().
.SS "void KTextBrowser::viewportMouseMoveEvent (\fBQMouseEvent\fP * e)\fC [protected, virtual]\fP"
.PP
Make sure we use our own hand cursor. 
.PP
Definition at line 104 of file ktextbrowser.cpp.
.SS "void KTextBrowser::contentsWheelEvent (\fBQWheelEvent\fP * e)\fC [protected, virtual]\fP"
.PP
Reimplemented to support Qt2 behavior (Ctrl-Wheel = fast scroll). 
.PP
Definition at line 113 of file ktextbrowser.cpp.
.PP
References QScrollView::contentsWheelEvent().
.SS "\fBQPopupMenu\fP * KTextBrowser::createPopupMenu (const \fBQPoint\fP & pos)\fC [protected, virtual]\fP"
.PP
Re-implemented for internal reasons. 
.PP
API not affected.
.PP
See \fBQLineEdit::createPopupMenu()\fP. 
.PP
Definition at line 121 of file ktextbrowser.cpp.
.PP
References QPopupMenu::changeItem(), QPopupMenu::idAt(), and QPopupMenu::text().
.SS "void KTextBrowser::mailClick (const \fBQString\fP & name, const \fBQString\fP & address)\fC [signal]\fP"
.PP
Emitted when a mail link has been activated and the widget has been configured to emit the signal. 
.PP
\fBParameters:\fP
.RS 4
\fIname\fP The destination name. It is QString::null at the moment. 
.br
\fIaddress\fP The destination address. 
.RE
.PP

.PP
Referenced by setSource().
.SS "void KTextBrowser::urlClick (const \fBQString\fP & url)\fC [signal]\fP"
.PP
Emitted if \fBmailClick()\fP is not emitted and the widget has been configured to emit the signal. 
.PP
\fBParameters:\fP
.RS 4
\fIurl\fP The destination address. 
.RE
.PP

.PP
Referenced by setSource().

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