Home · All Classes · Overviews

QSignalEvent Class Reference
[QtCore module]

The QSignalEvent class represents a Qt signal event. More...

 #include <QSignalEvent>

Inherits QEvent.

This class was introduced in Qt 4.6.


Public Functions

~QSignalEvent ()
QList<QVariant> arguments () const
QObject * sender () const
int signalIndex () const

Additional Inherited Members


Detailed Description

The QSignalEvent class represents a Qt signal event.

A signal event is generated by a QStateMachine in response to a Qt signal. The QSignalTransition class provides a transition associated with a signal event. QSignalEvent is part of The State Machine Framework.

The sender() function returns the object that generated the signal. The signalIndex() function returns the index of the signal. The arguments() function returns the arguments of the signal.

See also QSignalTransition.


Member Function Documentation

QSignalEvent::~QSignalEvent ()

Destroys this QSignalEvent.

QList<QVariant> QSignalEvent::arguments () const

Returns the arguments of the signal.

QObject * QSignalEvent::sender () const

Returns the object that emitted the signal.

See also QObject::sender().

int QSignalEvent::signalIndex () const

Returns the index of the signal.

See also QMetaObject::indexOfSignal() and QMetaObject::method().


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.6.0-tp1