misc: Fix some random typos and grammar while reading code.
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>
Wed, 7 Mar 2012 08:57:39 +0000 (09:57 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 9 Mar 2012 06:18:34 +0000 (07:18 +0100)
Typos:
recieve   -> receive
descrived -> describe

Grammar:
this types -> these types

Change-Id: Iedacc51a6322996f423ac9472af0a597424a4fed
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
dist/changes-4.5.0-garden
src/corelib/global/qprocessordetection.h
src/corelib/kernel/qvariant.cpp
src/plugins/platforms/kms/qkmsdevice.cpp

index ce258e7..c0946a1 100644 (file)
@@ -118,7 +118,7 @@ Optimizations
       SystemGc from the CCoeControl we are currently painting on instead.
 
 - qeventdispatcher_s60.cpp
-    * Stopped using Active Objects to recieve events, we get them from
+    * Stopped using Active Objects to receive events, we get them from
       C*AppUi and CCoeControl instead.
 
 - QWidget
index 1f16f09..fcd7c69 100644 (file)
 /*
     SuperH family, optional revision: SH-4A
 
-    SuperH is bi-endian, use endianness auto-detection descrived above.
+    SuperH is bi-endian, use endianness auto-detection described above.
 */
 // #elif defined(__sh__)
 // #  define Q_PROCESSOR_SH
index c845619..e630b5b 100644 (file)
@@ -1676,12 +1676,12 @@ void QVariant::load(QDataStream &s)
             // by moving all ids down by 97.
             typeId -= 97;
         } else if (typeId == 69 /* QIcon */) {
-            // In Qt5 after modularization project this types where moved to a separate module (and ids were downgraded)
+            // In Qt5 after modularization project these types where moved to a separate module (and ids were downgraded)
             typeId = QMetaType::QIcon;
         } else if (typeId == 75 /* QSizePolicy */) {
             typeId = QMetaType::QSizePolicy;
         } else if (typeId >= 70) {
-            // and as a result this types recieved lower ids too
+            // and as a result these types received lower ids too
             if (typeId <= 74) { // QImage QPolygon QRegion QBitmap QCursor
                 typeId -=1;
             } else if (typeId <= 86) { // QKeySequence QPen QTextLength QTextFormat QMatrix QTransform QMatrix4x4 QVector2D QVector3D QVector4D QQuaternion
@@ -1749,12 +1749,12 @@ void QVariant::save(QDataStream &s) const
             // by moving all ids down by 97.
             typeId += 97;
         } else if (typeId == QMetaType::QIcon) {
-            // In Qt5 after modularization project this types where moved to a separate module (and ids were downgraded)
+            // In Qt5 after modularization project these types where moved to a separate module (and ids were downgraded)
             typeId = 69;
         } else if (typeId == QMetaType::QSizePolicy) {
             typeId = 75;
         } else if (typeId >= QMetaType::QImage) {
-            // and as a result this types recieved lower ids too
+            // and as a result these types received lower ids too
             if (typeId <= QMetaType::QCursor) {
                 typeId +=1;
             } else if (typeId <= QMetaType::QQuaternion) {
index 01bf1d1..8d42871 100644 (file)
@@ -127,7 +127,7 @@ void QKmsDevice::createScreens()
 
 void QKmsDevice::handlePageFlipCompleted()
 {
-    //qDebug() << "Display signal recieved";
+    //qDebug() << "Display signal received";
     drmEventContext eventContext;
 
     memset(&eventContext, 0, sizeof eventContext);