From 5e07b57b818326da47a46d384415041fa4cea0ba Mon Sep 17 00:00:00 2001 From: Matthew Vogt Date: Thu, 2 Feb 2012 11:44:16 +1000 Subject: Fix spelling errors that refer to non-existent symbols These erors create the appearance of symbols that do not actually exist. Task-number: QTBUG-23737 Change-Id: I249742998524b6156185a6601f36e7691013ddf3 Reviewed-by: Martin Jones --- src/declarative/qml/qdeclarativebinding.cpp | 2 +- src/declarative/qml/qdeclarativeengine.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/declarative/qml') diff --git a/src/declarative/qml/qdeclarativebinding.cpp b/src/declarative/qml/qdeclarativebinding.cpp index 9c317745b9..4c29fcef83 100644 --- a/src/declarative/qml/qdeclarativebinding.cpp +++ b/src/declarative/qml/qdeclarativebinding.cpp @@ -282,7 +282,7 @@ QDeclarativeBinding::QDeclarativeBinding(const QString &str, bool isRewritten, Q To avoid exposing v8 in the public API, functionPtr must be a pointer to a v8::Handle. For example: v8::Handle function; - new QDeclarativeBInding(&function, scope, ctxt); + new QDeclarativeBinding(&function, scope, ctxt); */ QDeclarativeBinding::QDeclarativeBinding(void *functionPtr, QObject *obj, QDeclarativeContextData *ctxt, QObject *parent) diff --git a/src/declarative/qml/qdeclarativeengine.cpp b/src/declarative/qml/qdeclarativeengine.cpp index 335eb756dc..e02cdee45d 100644 --- a/src/declarative/qml/qdeclarativeengine.cpp +++ b/src/declarative/qml/qdeclarativeengine.cpp @@ -891,7 +891,7 @@ void QDeclarativeEngine::setContextForObject(QObject *object, QDeclarativeContex explicitly. QML uses a heuristic to set the default object ownership. By default, an object that is created by QML has JavaScriptOwnership. The exception to this are the root objects - created by calling QDeclarativeCompnent::create() or + created by calling QDeclarativeComponent::create() or QDeclarativeComponent::beginCreate() which have CppOwnership by default. The ownership of these root-level objects is considered to have been transferred to the C++ caller. -- cgit v1.2.3