diff options
Diffstat (limited to 'src/qscxmllib/scxmlstatetable.cpp')
-rw-r--r-- | src/qscxmllib/scxmlstatetable.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/qscxmllib/scxmlstatetable.cpp b/src/qscxmllib/scxmlstatetable.cpp index 69ecde2..e1f8e1b 100644 --- a/src/qscxmllib/scxmlstatetable.cpp +++ b/src/qscxmllib/scxmlstatetable.cpp @@ -438,20 +438,6 @@ bool StateTable::init() return res; } -QJSEngine *StateTable::engine() const -{ - Q_D(const StateTable); - - return d->m_engine; -} - -void StateTable::setEngine(QJSEngine *engine) -{ - Q_D(StateTable); - - d->m_engine = engine; -} - QString StateTable::name() const { Q_D(const StateTable); @@ -938,10 +924,12 @@ void ScxmlState::onEntry(QEvent *event) } QState::onEntry(event); table()->executionEngine()->execute(d->onEntryInstructions); + emit didEnter(); } void ScxmlState::onExit(QEvent *event) { + emit willExit(); QState::onExit(event); table()->executionEngine()->execute(d->onExitInstructions); } |