aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Vogt <matthew.vogt@nokia.com>2012-02-02 11:44:16 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-02 23:46:26 +0100
commit5e07b57b818326da47a46d384415041fa4cea0ba (patch)
treebffbe1dad49d9246b1a1fa962a97912228aaa293
parent20d641a4eb1a3ffe1cff41491b64b6b857982847 (diff)
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 <martin.jones@nokia.com>
-rw-r--r--src/declarative/qml/qdeclarativebinding.cpp2
-rw-r--r--src/declarative/qml/qdeclarativeengine.cpp2
2 files changed, 2 insertions, 2 deletions
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<v8::Function>.
For example:
v8::Handle<v8::Function> 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.