Konsole
Konsole::UrlFilter::HotSpot Class Reference
Hotspot type created by UrlFilter instances. More...
#include <Filter.h>

Public Member Functions | |
virtual QList< QAction * > | actions () |
virtual void | activate (QObject *object=0) |
HotSpot (int startLine, int startColumn, int endLine, int endColumn) | |
virtual QString | tooltip () const |
virtual | ~HotSpot () |
Detailed Description
Hotspot type created by UrlFilter instances.The activate() method opens a web browser at the given URL when called.
Definition at line 256 of file Filter.h.
Constructor & Destructor Documentation
UrlFilter::HotSpot::HotSpot | ( | int | startLine, | |
int | startColumn, | |||
int | endLine, | |||
int | endColumn | |||
) |
Constructs a new hotspot which covers the area from (startLine
,startColumn
) to (endLine
,endColumn
) in a block of text.
Reimplemented from Konsole::RegExpFilter::HotSpot.
Definition at line 409 of file Filter.cpp.
UrlFilter::HotSpot::~HotSpot | ( | ) | [virtual] |
Member Function Documentation
Returns a list of actions associated with the hotspot which can be used in a menu or toolbar.
Reimplemented from Konsole::Filter::HotSpot.
Definition at line 503 of file Filter.cpp.
void UrlFilter::HotSpot::activate | ( | QObject * | object = 0 |
) | [virtual] |
Open a web browser at the current URL.
The url itself can be determined using the capturedTexts() method.
Reimplemented from Konsole::RegExpFilter::HotSpot.
Definition at line 440 of file Filter.cpp.
QString UrlFilter::HotSpot::tooltip | ( | ) | const [virtual] |
Returns the text of a tooltip to be shown when the mouse moves over the hotspot, or an empty string if there is no tooltip associated with this hotspot.
The default implementation returns an empty string.
Reimplemented from Konsole::Filter::HotSpot.
Definition at line 415 of file Filter.cpp.
The documentation for this class was generated from the following files: