|  | Home

# QtSignalTransition Class Reference
[QtCore module]

The QtSignalTransition class provides a transition based on a Qt signal. More...

     #include <QtSignalTransition>

Inherits QtTransition.

- List of all members, including inherited members

### Public Functions

- QtSignalTransition ( const QObject * sender, const char * signal )
- ~QtSignalTransition ()

- 3 public functions inherited from QtTransition
- 2 public functions inherited from QtAbstractTransition
- 29 public functions inherited from QObject

### Additional Inherited Members

- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 1 signal inherited from QObject
- 1 public type inherited from QObject
- 4 static public members inherited from QObject
- 2 protected functions inherited from QtAbstractTransition
- 7 protected functions inherited from QObject
- 2 protected variables inherited from QObject

## Detailed Description

The QtSignalTransition class provides a transition based on a Qt signal.

Typically you would use the overload of QtAbstractState::addTransition() that takes a sender and signal as arguments, rather than creating QtSignalTransition objects directly. QtSignalTransition is part of The State Machine Framework.

You can subclass QtSignalTransition and reimplement testCondition() to make a signal transition conditional.

## Member Function Documentation

### QtSignalTransition::QtSignalTransition ( const QObject * sender, const char * signal )

Constructs a new signal transition associated with the given signal of the given sender.

See also QtAbstractStateGroup::addTransition().

### QtSignalTransition::~QtSignalTransition ()

Destroys this signal transition.