class KTextBrowser
|
Extended QTextBrowser.
More... |
|
|
Public Methods
Signals
- void mailClick ( const QString &name, const QString &address )
- void urlClick ( const QString &url )
Protected Methods
Detailed Description
An extended QTextBrowser.
By default it will
invoke the system mailer or the system browser when a link is
activated, or it can emit the signal urlClick() or mailClick()
when a link is activated.
KTextBrowser ( QWidget *parent=0, const char *name=0, bool notifyClick=false )
|
Constructor.
Parameters:
parent | Parent of the widget.
|
name | Widget name.
|
notifyClick | true causes signals to be emitted.
|
Destructor.
void setNotifyClick ( bool notifyClick )
|
Decide whether a click on a link should be handled internally
or if a signal should be emitted.
Parameters:
notifyClick | true causes signals to be emitted.
|
void setSource (const QString& name)
|
[protected]
Reimplemented to NOT set the source but to do the special handling.
Do not call.
[protected virtual]
Makes sure Key_Escape is ignored
[signal]
Emitted when a mail link has been activated and the widget has
been configured to emit the signal.
Parameters:
name | The destination name. It is QString::null at the moment.
|
address | The destination address.
|
void urlClick ( const QString &url )
|
[signal]
Emitted if mailClick() is not emitted and the widget has been
configured to emit the signal.
Parameters:
url | The destination address.
|
- Version: $Id: ktextbrowser.h,v 1.6 2000/01/11 13:50:02 dsweet Exp $
- Author: Espen Sand (espensa@online.no)
- Generated: root@tantive.terraplex.com on Sun Feb 27 17:39:25 2000, using kdoc 2.0a33.