QWhatsThisClickedEvent Class Reference

#include <qevent.h>

Inheritance diagram for QWhatsThisClickedEvent:

Inheritance graph
[legend]
Collaboration diagram for QWhatsThisClickedEvent:

Collaboration graph
[legend]
List of all members.

Detailed Description

The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a "What's This?" text.

See also:
QWhatsThis, QHelpEvent, QStatusTipEvent

Definition at line 577 of file qevent.h.

Public Member Functions

 QWhatsThisClickedEvent (const QString &href)
 ~QWhatsThisClickedEvent ()
QString href () const

Private Attributes

QString s


Constructor & Destructor Documentation

QWhatsThisClickedEvent::QWhatsThisClickedEvent ( const QString href  ) 

Constructs an event containing a URL specified by href when a link is clicked in a "What's This?" message.

See also:
href()

Definition at line 2695 of file qevent.cpp.

02696     : QEvent(WhatsThisClicked), s(href)
02697 {}

QWhatsThisClickedEvent::~QWhatsThisClickedEvent (  ) 

Definition at line 2701 of file qevent.cpp.

02702 {
02703 }


Member Function Documentation

QString QWhatsThisClickedEvent::href (  )  const [inline]

Returns the URL that was clicked by the user in the "What's This?" text.

Definition at line 583 of file qevent.h.

References s.

00583 { return s; }


Member Data Documentation

QString QWhatsThisClickedEvent::s [private]

Definition at line 585 of file qevent.h.


The documentation for this class was generated from the following files:
Generated on Thu Mar 15 19:47:32 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1