Home

QtStateSetPropertyAction Class Reference
[QtCore module]

The QtStateSetPropertyAction class provides a set property action for QObjects. More...

 #include <QtStateSetPropertyAction>

Inherits QtStateAction.

Properties

Public Functions

Additional Inherited Members


Detailed Description

The QtStateSetPropertyAction class provides a set property action for QObjects.

The QtStateSetPropertyAction class provides an action that sets a property of a QObject to a pre-defined value when a QtState is entered or exited. QtStateSetPropertyAction is part of The State Machine Framework.

Typically you don't construct QtStateSetPropertyAction objects directly, but rather call the QtState::setPropertyOnEntry() function or the QtState::setPropertyOnExit() function.


Property Documentation

propertyName : QByteArray

This property holds the name of the property set by this action.

Access functions:

target : QObject *

This property holds the object for which this action sets a property.

Access functions:

value : QVariant

This property holds the value set by this action.

Access functions:


Member Function Documentation

QtStateSetPropertyAction::QtStateSetPropertyAction ( QObject * target, const QByteArray & propertyName, const QVariant & value, QObject * parent = 0 )

Constructs a new QtStateSetPropertyAction object for the property named propertyName of the given target object, with the given value, and with the given parent.

QtStateSetPropertyAction::QtStateSetPropertyAction ( QObject * parent = 0 )

Constructs a new QtStateSetPropertyAction object with the given parent.

QtStateSetPropertyAction::~QtStateSetPropertyAction ()

Destroys this QtStateAbstractSetPropertyAction object.


Copyright © 2009 Nokia Trademarks
Qt Solutions