Konsole
#include <Filter.h>
Public Member Functions | |
HotSpot (int startLine, int startColumn, int endLine, int endColumn) | |
virtual void | activate (QObject *object=0) |
QStringList | capturedTexts () const |
void | setCapturedTexts (const QStringList &texts) |
Public Member Functions inherited from Konsole::Filter::HotSpot | |
HotSpot (int startLine, int startColumn, int endLine, int endColumn) | |
virtual | ~HotSpot () |
virtual QList< QAction * > | actions () |
int | endColumn () const |
int | endLine () const |
int | startColumn () const |
int | startLine () const |
Type | type () const |
Additional Inherited Members | |
Public Types inherited from Konsole::Filter::HotSpot | |
enum | Type { NotSpecified, Link, Marker } |
Protected Member Functions inherited from Konsole::Filter::HotSpot | |
void | setType (Type type) |
Detailed Description
Type of hotspot created by RegExpFilter.
The capturedTexts() method can be used to find the text matched by the filter's regular expression.
Constructor & Destructor Documentation
RegExpFilter::HotSpot::HotSpot | ( | int | startLine, |
int | startColumn, | ||
int | endLine, | ||
int | endColumn | ||
) |
Definition at line 297 of file Filter.cpp.
Member Function Documentation
|
virtual |
Causes the action associated with a hotspot to be triggered.
- Parameters
-
object The object which caused the hotspot to be triggered. This is typically null ( in which case the default action should be performed ) or one of the objects from the actions() list. In which case the associated action should be performed.
Implements Konsole::Filter::HotSpot.
Reimplemented in Konsole::UrlFilter::HotSpot.
Definition at line 303 of file Filter.cpp.
QStringList RegExpFilter::HotSpot::capturedTexts | ( | ) | const |
Returns the texts found by the filter when matching the filter's regular expression.
Definition at line 311 of file Filter.cpp.
void RegExpFilter::HotSpot::setCapturedTexts | ( | const QStringList & | texts | ) |
Sets the captured texts associated with this hotspot.
Definition at line 307 of file Filter.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.