|  | Home

# QtStateInvokeMethodAction Class Reference
[QtCore module]

The QtStateInvokeMethodAction class provides an invoke method action for QObjects. More...

     #include <QtStateInvokeMethodAction>

Inherits QtStateAction.

- List of all members, including inherited members

### Public Functions

- QtStateInvokeMethodAction ( QObject * object, const char * method, const QList<QVariant> & args = QList<QVariant> () )
- ~QtStateInvokeMethodAction ()
- QByteArray methodSignature () const
- QObject * targetObject () const

- 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
- 1 protected function inherited from QtStateAction
- 7 protected functions inherited from QObject
- 2 protected variables inherited from QObject

## Detailed Description

The QtStateInvokeMethodAction class provides an invoke method action for QObjects.

The QtStateInvokeMethodAction class provides an action that calls a method of a QObject when a QtState is entered or exited. QtStateInvokeMethodAction is part of The State Machine Framework.

Typically you don't construct QtStateInvokeMethodAction objects directly, but rather call the QtState::invokeMethodOnEntry() function or the QtState::invokeMethodOnExit() function.

## Member Function Documentation

### QtStateInvokeMethodAction::QtStateInvokeMethodAction ( QObject * object, const char * method, const QList<QVariant> & args = QList<QVariant> () )

Constructs a new QtStateInvokeMethodAction object for the given method of the given object, with the given arguments, args.

### QtStateInvokeMethodAction::~QtStateInvokeMethodAction ()

Destroys this QtStateInvokeMethodAction object.

### QByteArray QtStateInvokeMethodAction::methodSignature () const

Returns the signature of the method this action will invoke.

### QObject * QtStateInvokeMethodAction::targetObject () const

Returns the object on which this action invokes a method.