Home

QtStateInvokeMethodAction Class Reference
[QtCore module]

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

 #include <QtStateInvokeMethodAction>

Inherits QtStateAction.

Properties

Public Functions

Additional Inherited Members


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.


Property Documentation

arguments : QVariantList

This property holds the arguments to the method this action invokes.

Access functions:

methodName : QByteArray

This property holds the name of the method this action invokes.

Access functions:

target : QObject *

This property holds the object on which this action invokes a method.

Access functions:


Member Function Documentation

QtStateInvokeMethodAction::QtStateInvokeMethodAction ( QObject * target, const QByteArray & methodName, QObject * parent = 0 )

Constructs a new QtStateInvokeMethodAction object for the method named methodName of the given target object, with the given parent.

QtStateInvokeMethodAction::QtStateInvokeMethodAction ( QObject * target, const QByteArray & methodName, const QList<QVariant> & args, QObject * parent = 0 )

Constructs a new QtStateInvokeMethodAction object for the method named methodName of the given target object, with the given arguments, args, and with the given parent.

QtStateInvokeMethodAction::QtStateInvokeMethodAction ( QObject * parent = 0 )

Constructs a new QtStateInvokeMethodAction object with the given parent.

QtStateInvokeMethodAction::~QtStateInvokeMethodAction ()

Destroys this QtStateInvokeMethodAction object.


Copyright © 2009 Nokia Trademarks
Qt Solutions