Main Page Modules Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members Related Pages
KTextBrowser Class Reference
Extended QTextBrowser.
More...
#include <ktextbrowser.h>
List of all members.
Detailed Description
Extended QTextBrowser.
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.
- Author:
-
Espen Sand (espensa@online.no)
- Version:
-
- Id:
-
ktextbrowser.h,v 1.13 2002/03/04 00:51:51 lunakl Exp
Definition at line 38 of file ktextbrowser.h.
Constructor & Destructor Documentation
| KTextBrowser::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. |
|
| KTextBrowser::~KTextBrowser |
( |
void |
|
) |
|
|
Member Function Documentation
| virtual void KTextBrowser::contentsWheelEvent |
( |
QWheelEvent * |
e |
) |
[protected, virtual] |
|
|
|
Reimplemented to support Qt2 behavior (Ctrl-Wheel = fast scroll) |
| bool KTextBrowser::isNotifyClick |
( |
|
) |
|
|
|
|
Returns whether a click on a link should be handled internally or if a signal should be emitted. |
| virtual void KTextBrowser::keyPressEvent |
( |
QKeyEvent * |
e |
) |
[protected, virtual] |
|
|
|
Makes sure Key_Escape is ignored |
| void KTextBrowser::mailClick |
( |
const QString & |
name, |
|
|
const QString & |
address |
|
) |
[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 KTextBrowser::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 KTextBrowser::setSource |
( |
const QString & |
name |
) |
[protected] |
|
|
|
Reimplemented to NOT set the source but to do the special handling. Do not call. |
| void KTextBrowser::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. |
|
| virtual void KTextBrowser::viewportMouseMoveEvent |
( |
QMouseEvent * |
e |
) |
[protected, virtual] |
|
|
|
Make sure we use our own hand cursor |
The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:26 2003 for kdelibs by
1.2.18