Home

QtSignalEvent Class Reference
[QtCore module]

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

 #include <QtSignalEvent>

Inherits QEvent.

This class was introduced in qtstatemachine 4.6.

Public Functions

Additional Inherited Members


Detailed Description

The QtSignalEvent class represents a Qt signal event.

A signal event is generated by a QtStateMachine in response to a Qt signal. The QtSignalTransition class provides a transition associated with a signal event. QtSignalEvent 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 QtSignalTransition.


Member Function Documentation

QtSignalEvent::~QtSignalEvent ()

Destroys this QtSignalEvent.

QList<QVariant> QtSignalEvent::arguments () const

Returns the arguments of the signal.

const QObject * QtSignalEvent::sender () const

Returns the object that emitted the signal.

See also QObject::sender().

int QtSignalEvent::signalIndex () const

Returns the index of the signal.

See also QMetaObject::indexOfSignal().


Copyright © 2009 Nokia Trademarks
Qt Solutions