summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2016-03-30 15:56:57 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2016-03-31 08:42:59 +0000
commit875c370750106be6d264679fc46942e7ee3279ed (patch)
tree45b00d4a8a19721d50901ac46f72db684d23747b /src
parentcf8402e1ea5e09ef13676331a320846edfdc6dbe (diff)
Register metatype for QScxmlEvent, so that we can use it from QML
Change-Id: Id5103a84ae25ff1c6e05af077e2ccd4213080102 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/scxml/qscxmlevent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scxml/qscxmlevent.h b/src/scxml/qscxmlevent.h
index b12893f..82efc57 100644
--- a/src/scxml/qscxmlevent.h
+++ b/src/scxml/qscxmlevent.h
@@ -125,4 +125,6 @@ private:
QT_END_NAMESPACE
+Q_DECLARE_METATYPE(QScxmlEvent)
+
#endif // SCXMLEVENT_H