CopperSpice API  1.7.2
QWhatsThisClickedEvent Class Reference

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

Inheritance diagram for QWhatsThisClickedEvent:
QEvent

Public Methods

 QWhatsThisClickedEvent (const QString &href)
 
QString href () const
 
- Public Methods inherited from QEvent
 QEvent (const QEvent &other)
 
 QEvent (Type type)
 
virtual ~QEvent ()
 
void accept ()
 
void ignore ()
 
bool isAccepted () const
 
QEvent & operator= (const QEvent &other)
 
void setAccepted (bool accepted)
 
bool spontaneous () const
 
Type type () const
 

Additional Inherited Members

- Public Types inherited from QEvent
enum  Type
 
- Static Public Methods inherited from QEvent
static int registerEventType (int hint=-1)
 

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

Constructor & Destructor Documentation

QWhatsThisClickedEvent::QWhatsThisClickedEvent ( const QString href)
explicit

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

See also
href()

Method Documentation

QString QWhatsThisClickedEvent::href ( ) const
inline

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