KTextBrowser Class Reference
An extended QTextBrowser. Extended QTextBrowser. More...
#include <ktextbrowser.h>
Inheritance diagram for KTextBrowser:


| Signals | |
| void | mailClick (const QString &name, const QString &address) | 
| void | urlClick (const QString &url) | 
| Public Member Functions | |
| KTextBrowser (QWidget *parent=0, const char *name=0, bool notifyClick=false) | |
| ~KTextBrowser (void) | |
| void | setNotifyClick (bool notifyClick) | 
| bool | isNotifyClick () const | 
| Protected Member Functions | |
| void | setSource (const QString &name) | 
| virtual void | keyPressEvent (QKeyEvent *e) | 
| virtual void | viewportMouseMoveEvent (QMouseEvent *e) | 
| virtual void | contentsWheelEvent (QWheelEvent *e) | 
| virtual void | virtual_hook (int id, void *data) | 
Detailed Description
An extended QTextBrowser. 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.
 
KDE Text Browser
- Author:
- Espen Sand (espensa@online.no)
- Version:
- Id
- ktextbrowser.h,v 1.15 2003/08/16 19:45:03 coolo Exp
 
Definition at line 40 of file ktextbrowser.h.
Constructor & Destructor Documentation
| 
 | ||||||||||||||||
| Constructor. 
 
 Definition at line 27 of file ktextbrowser.cpp. | 
| 
 | 
| Destructor. 
 Definition at line 37 of file ktextbrowser.cpp. | 
Member Function Documentation
| 
 | 
| Decide whether a click on a link should be handled internally or if a signal should be emitted. 
 
 Definition at line 42 of file ktextbrowser.cpp. | 
| 
 | 
| Returns whether a click on a link should be handled internally or if a signal should be emitted. 
 Definition at line 48 of file ktextbrowser.cpp. | 
| 
 | 
| Reimplemented to NOT set the source but to do the special handling. Do not call. Reimplemented from QTextBrowser. Definition at line 54 of file ktextbrowser.cpp. References QString::contains(), QString::isNull(), mailClick(), and urlClick(). | 
| 
 | 
| Makes sure Key_Escape is ignored. 
 Reimplemented from QTextBrowser. Definition at line 86 of file ktextbrowser.cpp. References QKeyEvent::ignore(), QKeyEvent::key(), and QTextBrowser::keyPressEvent(). | 
| 
 | 
| Make sure we use our own hand cursor. 
 Definition at line 102 of file ktextbrowser.cpp. | 
| 
 | 
| Reimplemented to support Qt2 behavior (Ctrl-Wheel = fast scroll). 
 Definition at line 111 of file ktextbrowser.cpp. References QScrollView::contentsWheelEvent(), and KGlobalSettings::wheelMouseZooms(). | 
| 
 | ||||||||||||
| Emitted when a mail link has been activated and the widget has been configured to emit the signal. 
 
 Referenced by setSource(). | 
| 
 | 
| Emitted if mailClick() is not emitted and the widget has been configured to emit the signal. 
 
 Referenced by setSource(). | 
The documentation for this class was generated from the following files:

