diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-04-30 05:32:43 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-04-30 05:32:43 (GMT) |
commit | 85db980578cb9f1b95be160a4386d9822c6ec6d0 (patch) | |
tree | 94db73d854dd559a355207f21aa49c903bcce28a /src/declarative/qml/qdeclarativeworkerscript_p.h | |
parent | 77cddec6ea642b073d1d9c017c865e740c0c60bc (diff) | |
download | Qt-85db980578cb9f1b95be160a4386d9822c6ec6d0.zip Qt-85db980578cb9f1b95be160a4386d9822c6ec6d0.tar.gz Qt-85db980578cb9f1b95be160a4386d9822c6ec6d0.tar.bz2 |
Make QDeclarativeParserStatus method pure virtual to encourage right code.
Fix all code to be right, except multimedia. Currently, it's not *required*
that types work without componentComplete, so not vital.
Diffstat (limited to 'src/declarative/qml/qdeclarativeworkerscript_p.h')
-rw-r--r-- | src/declarative/qml/qdeclarativeworkerscript_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativeworkerscript_p.h b/src/declarative/qml/qdeclarativeworkerscript_p.h index 6cce799..80ef5f3 100644 --- a/src/declarative/qml/qdeclarativeworkerscript_p.h +++ b/src/declarative/qml/qdeclarativeworkerscript_p.h @@ -108,13 +108,16 @@ signals: void message(const QScriptValue &messageObject); protected: + virtual void classBegin(); virtual void componentComplete(); virtual bool event(QEvent *); private: + QDeclarativeWorkerScriptEngine *engine(); QDeclarativeWorkerScriptEngine *m_engine; int m_scriptId; QUrl m_source; + bool m_componentComplete; }; QT_END_NAMESPACE |