Konsole::UrlFilter::HotSpot
#include <Filter.h>
Public Member Functions | |
HotSpot (int startLine, int startColumn, int endLine, int endColumn) | |
QList< QAction * > | actions () override |
void | activate (const QString &action=QString()) override |
FilterObject * | getUrlObject () const |
Public Member Functions inherited from Konsole::RegExpFilter::HotSpot | |
HotSpot (int startLine, int startColumn, int endLine, int endColumn) | |
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) | |
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
Hotspot type created by UrlFilter instances.
The activate() method opens a web browser at the given URL when called.
Constructor & Destructor Documentation
◆ HotSpot()
UrlFilter::HotSpot::HotSpot | ( | int | startLine, |
int | startColumn, | ||
int | endLine, | ||
int | endColumn ) |
Definition at line 389 of file Filter.cpp.
◆ ~HotSpot()
|
overridevirtual |
Reimplemented from Konsole::Filter::HotSpot.
Definition at line 455 of file Filter.cpp.
Member Function Documentation
◆ actions()
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 475 of file Filter.cpp.
◆ activate()
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 408 of file Filter.cpp.
◆ getUrlObject()
FilterObject * UrlFilter::HotSpot::getUrlObject | ( | ) | const |
Definition at line 470 of file Filter.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.