Home

QtStateSetPropertyAction Class Reference
[QtCore module]

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

 #include <QtStateSetPropertyAction>

Inherits QtStateAction.

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.


Member Function Documentation

QtStateSetPropertyAction::QtStateSetPropertyAction ( QObject * object, const char * name, const QVariant & value )

Constructs a new QtStateSetPropertyAction object for the property named name of the given object, with the given value.

QtStateSetPropertyAction::~QtStateSetPropertyAction ()

Destroys this QtStateAbstractSetPropertyAction object.

QByteArray QtStateSetPropertyAction::propertyName () const

Returns the name of the property set by this action.

QObject * QtStateSetPropertyAction::targetObject () const

Returns the object for which this action sets a property.

QVariant QtStateSetPropertyAction::value () const

Returns the value set by this action.


Copyright © 2009 Nokia Trademarks
Qt Solutions