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/qdeclarativeparserstatus.cpp | |
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/qdeclarativeparserstatus.cpp')
-rw-r--r-- | src/declarative/qml/qdeclarativeparserstatus.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/declarative/qml/qdeclarativeparserstatus.cpp b/src/declarative/qml/qdeclarativeparserstatus.cpp index 978bfb4..4c4e429 100644 --- a/src/declarative/qml/qdeclarativeparserstatus.cpp +++ b/src/declarative/qml/qdeclarativeparserstatus.cpp @@ -91,19 +91,17 @@ QDeclarativeParserStatus::~QDeclarativeParserStatus() } /*! + \fn void QDeclarativeParserStatus::classBegin() + Invoked after class creation, but before any properties have been set. */ -void QDeclarativeParserStatus::classBegin() -{ -} /*! + \fn void QDeclarativeParserStatus::componentComplete() + Invoked after the root component that caused this instantiation has completed construction. At this point all static values and binding values have been assigned to the class. */ -void QDeclarativeParserStatus::componentComplete() -{ -} QT_END_NAMESPACE |