Fix spelling errors that refer to non-existent symbols
authorMatthew Vogt <matthew.vogt@nokia.com>
Thu, 2 Feb 2012 01:44:16 +0000 (11:44 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 2 Feb 2012 22:46:26 +0000 (23:46 +0100)
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>
src/declarative/qml/qdeclarativebinding.cpp
src/declarative/qml/qdeclarativeengine.cpp

index 9c31774..4c29fce 100644 (file)
@@ -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)
index 335eb75..e02cdee 100644 (file)
@@ -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.