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

Konsole

Konsole::UrlFilter::HotSpot

Konsole::UrlFilter::HotSpot Class Reference

#include <Filter.h>

Inheritance diagram for Konsole::UrlFilter::HotSpot:

Inheritance graph
[legend]

List of all members.


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.


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 ()

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 408 of file Filter.cpp.

UrlFilter::HotSpot::~HotSpot (  )  [virtual]

Reimplemented from Konsole::Filter::HotSpot.

Definition at line 494 of file Filter.cpp.


Member Function Documentation

QList< QAction * > UrlFilter::HotSpot::actions (  )  [virtual]

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 502 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 439 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 414 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