aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2012-09-08 17:39:02 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-10 12:26:28 +0200
commit5b4c2f5910052159443f707de2071f63e83b5a5d (patch)
treefc561f8bdebea3c941610b9addcfb9d3666c64ae /src
parent4ec2d5a489b922beb16fcd1cdf8199a862244ebb (diff)
doc: fix some more typos
Change-Id: I7fa055049b9e5900d597754c6004febb153de12b Reviewed-by: Jerome Pasion <jerome.pasion@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/qml/qml/qqmlengine_p.h2
-rw-r--r--src/qml/qml/qqmlscript_p.h2
-rw-r--r--src/qml/qml/v8/qjsvalue_impl_p.h2
-rw-r--r--src/quick/items/qquickwindow.cpp2
-rw-r--r--src/quick/scenegraph/coreapi/qsgmaterial.cpp2
-rw-r--r--src/quick/util/qquicklistcompositor.cpp2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/qml/qml/qqmlengine_p.h b/src/qml/qml/qqmlengine_p.h
index e014cfffc4..9598b96420 100644
--- a/src/qml/qml/qqmlengine_p.h
+++ b/src/qml/qml/qqmlengine_p.h
@@ -275,7 +275,7 @@ private:
// either idle, or is running with the main thread blocked, no locking is necessary. This way
// we only pay for locking when we have to.
// Consequently, this class should only be used to protect simple accesses or modifications of the
- // QQmlEnginePrivate structures or operations that can be guarenteed not to start activity
+ // QQmlEnginePrivate structures or operations that can be guaranteed not to start activity
// on the loader thread.
// The Locker API is identical to QMutexLocker. Locker reuses the QQmlEnginePrivate::mutex
// QMutex instance and multiple Lockers are recursive in the same thread.
diff --git a/src/qml/qml/qqmlscript_p.h b/src/qml/qml/qqmlscript_p.h
index f2e108e3d7..834abd7217 100644
--- a/src/qml/qml/qqmlscript_p.h
+++ b/src/qml/qml/qqmlscript_p.h
@@ -328,7 +328,7 @@ public:
QQmlPropertyCache *synthCache; // Generated by compiler
Property *getDefaultProperty();
- // name ptr must be guarenteed to remain valid
+ // name ptr must be guaranteed to remain valid
Property *getProperty(const QHashedStringRef &name, bool create=true);
Property *getProperty(const QStringRef &name, bool create=true);
Property *getProperty(const QString &name, bool create=true);
diff --git a/src/qml/qml/v8/qjsvalue_impl_p.h b/src/qml/qml/v8/qjsvalue_impl_p.h
index d9f78c2560..fd973427c2 100644
--- a/src/qml/qml/v8/qjsvalue_impl_p.h
+++ b/src/qml/qml/v8/qjsvalue_impl_p.h
@@ -605,7 +605,7 @@ inline void QJSValuePrivate::setProperty(quint32 index, QJSValuePrivate* value,
return;
if (attribs) {
- // FIXME we dont need to convert index to a string.
+ // FIXME we don't need to convert index to a string.
//Object::Set(int,value) do not take attributes.
setProperty(QString::number(index), value, attribs);
return;
diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp
index 88aff07f9d..3b97750899 100644
--- a/src/quick/items/qquickwindow.cpp
+++ b/src/quick/items/qquickwindow.cpp
@@ -1468,7 +1468,7 @@ void QQuickWindow::wheelEvent(QWheelEvent *event)
qWarning() << "QQuickWindow::wheelEvent()" << event->pixelDelta() << event->angleDelta();
#endif
- //if the actual wheel event was accepted, accept the compatability wheel event and return early
+ //if the actual wheel event was accepted, accept the compatibility wheel event and return early
if (d->lastWheelEventAccepted && event->angleDelta().isNull())
return;
diff --git a/src/quick/scenegraph/coreapi/qsgmaterial.cpp b/src/quick/scenegraph/coreapi/qsgmaterial.cpp
index 8d37992928..78c9c80ce1 100644
--- a/src/quick/scenegraph/coreapi/qsgmaterial.cpp
+++ b/src/quick/scenegraph/coreapi/qsgmaterial.cpp
@@ -85,7 +85,7 @@ QT_BEGIN_NAMESPACE
The attributeNames() returns the name of the attributes used in the
vertexShader(). These are used in the default implementation of
- activate() and deactive() to decide whice vertex registers are enabled.
+ activate() and deactivate() to decide whice vertex registers are enabled.
The initialize() function is called during program creation to allow
subclasses to prepare for use, such as resolve uniform names in the
diff --git a/src/quick/util/qquicklistcompositor.cpp b/src/quick/util/qquicklistcompositor.cpp
index b728874270..4266ddd6e0 100644
--- a/src/quick/util/qquicklistcompositor.cpp
+++ b/src/quick/util/qquicklistcompositor.cpp
@@ -75,7 +75,7 @@ QT_BEGIN_NAMESPACE
membership can be changed with the setFlags() and clearFlags() functions, and the position
of items in the compositor can be changed with the move() function. Each of these functions
optionally returns a list of the changes made to indexes within each group which can then
- be propogated to view so that it can correctly refresh its contents; e.g. 3 items
+ be propagated to view so that it can correctly refresh its contents; e.g. 3 items
removed at index 6, and 5 items inserted at index 1. The notification changes are always
ordered from the start of the list to the end and accumulate, so if 5 items are removed at
index 4, one is skipped and then 3 move are removed, the changes returned are 5 items removed