• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Konsole

Konsole::RegExpFilter::HotSpot

Konsole::RegExpFilter::HotSpot Class Reference

#include <Filter.h>

Inheritance diagram for Konsole::RegExpFilter::HotSpot:

Inheritance graph
[legend]

List of all members.


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  ) 

Sets the captured texts associated with this hotspot.

Definition at line 334 of file Filter.cpp.


The documentation for this class was generated from the following files:
  • Filter.h
  • Filter.cpp

Konsole

Skip menu "Konsole"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • Konsole
  • Libraries
  •   libkonq
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal