Konsole
Konsole::RegExpFilter::HotSpot Class Reference
#include <Filter.h>
Inheritance diagram for Konsole::RegExpFilter::HotSpot:

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.
Definition at line 199 of file Filter.h.
Public Member Functions | |
virtual void | activate (QObject *object=0) |
QStringList | capturedTexts () const |
HotSpot (int startLine, int startColumn, int endLine, int endColumn) | |
void | setCapturedTexts (const QStringList &texts) |
Constructor & Destructor Documentation
RegExpFilter::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::Filter::HotSpot.
Reimplemented in Konsole::UrlFilter::HotSpot.
Definition at line 324 of file Filter.cpp.
Member Function Documentation
void RegExpFilter::HotSpot::activate | ( | QObject * | object = 0 |
) | [virtual] |
Causes the an 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 330 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 338 of file Filter.cpp.
void RegExpFilter::HotSpot::setCapturedTexts | ( | const QStringList & | texts | ) |
The documentation for this class was generated from the following files: