aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.