summaryrefslogtreecommitdiffstats
path: root/src/scxml/qscxmlinvokableservice.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scxml/qscxmlinvokableservice.h')
-rw-r--r--src/scxml/qscxmlinvokableservice.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/scxml/qscxmlinvokableservice.h b/src/scxml/qscxmlinvokableservice.h
index 8323fe2..a17fdde 100644
--- a/src/scxml/qscxmlinvokableservice.h
+++ b/src/scxml/qscxmlinvokableservice.h
@@ -51,8 +51,14 @@ class QScxmlEvent;
class QScxmlStateMachine;
class QScxmlInvokableServiceFactory;
-class Q_SCXML_EXPORT QScxmlInvokableService
+class Q_SCXML_EXPORT QScxmlInvokableService : public QObject
{
+ Q_OBJECT
+ Q_PROPERTY(QScxmlStateMachine *parentStateMachine READ parentStateMachine CONSTANT)
+ Q_PROPERTY(bool autoforward READ autoforward CONSTANT)
+ Q_PROPERTY(QString id READ id CONSTANT)
+ Q_PROPERTY(QString name READ name CONSTANT)
+
public:
QScxmlInvokableService(QScxmlInvokableServiceFactory *service, QScxmlStateMachine *parentStateMachine);
virtual ~QScxmlInvokableService();
@@ -105,6 +111,8 @@ private:
class Q_SCXML_EXPORT QScxmlInvokableScxml: public QScxmlInvokableService
{
+ Q_OBJECT
+ Q_PROPERTY(QScxmlStateMachine *stateMachine READ stateMachine CONSTANT)
public:
QScxmlInvokableScxml(QScxmlInvokableServiceFactory *service,
QScxmlStateMachine *stateMachine,