Home

QtScriptedEvent Class Reference

The QtScriptedEvent class stands for a general named event with a list of parameter names and parameter values. More...

 #include <QtScriptedEvent>

Inherits QEvent.

Public Types

Public Functions

Static Public Members

Additional Inherited Members


Detailed Description

The QtScriptedEvent class stands for a general named event with a list of parameter names and parameter values.

Encapsulates an event that conforms to the SCXML definition of events.


Member Function Documentation

QtScriptedEvent::QtScriptedEvent ( const QString & name, const QStringList & paramNames = QStringList(), const QVariantList & paramValues = QVariantList(), const QScriptValue & content = QScriptValue() )

Creates a QtScriptedEvent named name, with parameter names paramNames, parameter values paramValues, and a QtScript object content as an additional parameter.

QScriptValue QtScriptedEvent::content () const

Return a QtScript object that can be passed as an additional parameter.

QString QtScriptedEvent::eventName () const

Returns the name of the event.

QEvent::Type QtScriptedEvent::eventType ()   [static]

Returns a statically-generated event type to be used by SCXML events.

QVariant QtScriptedEvent::param ( const QString & name ) const

Returns the parameter value equivalent to parameter name.

QStringList QtScriptedEvent::paramNames () const

Return a list containing the parameter names.

QVariantList QtScriptedEvent::paramValues () const

Return a list containing the parameter values.


Copyright © 2009 Nokia Trademarks
Qt Solutions