Doc: Fix module name format
authorSze Howe Koh <szehowe.koh@gmail.com>
Tue, 23 Apr 2013 14:15:47 +0000 (22:15 +0800)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 23 Apr 2013 16:29:25 +0000 (18:29 +0200)
Follow the conventions at
http://qt-project.org/wiki/Spelling_Module_Names_in_Qt_Documentation

Qt3D       -> Qt 3D
QtLocation -> Qt Location
QtScript   -> Qt Script

Change-Id: Id59cb209e0e0407d564de0bfaab73990e64a02e6
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
src/imports/testlib/TestCase.qml
src/qmltest/quicktest.cpp
src/quick/items/qquickevents_p_p.h
src/quick/items/qquickmousearea_p.h
tests/auto/qml/qjsengine/tst_qjsengine.cpp
tests/auto/qml/qquickworkerscript/tst_qquickworkerscript.cpp

index 5484d5a..7584241 100644 (file)
@@ -143,7 +143,7 @@ Item {
             if ("mapFromItem" in o && "mapToItem" in o) {
                 return "declarativeitem";  // @todo improve detection of declarative items
             } else if ("x" in o && "y" in o && "z" in o) {
-                return "vector3d"; // Qt3D vector
+                return "vector3d"; // Qt 3D vector
             }
             return "object";
         } else if (o instanceof Function) {
index 1dc0e3f..2db68ba 100644 (file)
@@ -344,7 +344,7 @@ int quick_test_main(int argc, char **argv, const char *name, const char *sourceD
                 rootobj.setWindowShown(true);
             if (!rootobj.hasQuit && rootobj.hasTestCase())
                 eventLoop.exec();
-            // view->hide(); Causes a crash in Qt3D due to deletion of the GL context, see QTBUG-27696
+            // view->hide(); Causes a crash in Qt 3D due to deletion of the GL context, see QTBUG-27696
         }
     }
 
index 469ae9d..6f1b152 100644 (file)
@@ -93,7 +93,7 @@ private:
     QKeyEvent event;
 };
 
-// used in QtLocation
+// used in Qt Location
 class Q_QUICK_PRIVATE_EXPORT QQuickMouseEvent : public QObject
 {
     Q_OBJECT
index ad15167..fa32f32 100644 (file)
@@ -123,7 +123,7 @@ private:
 
 class QQuickMouseAreaPrivate;
 class QQuickWheelEvent;
-// used in QtLocation
+// used in Qt Location
 class Q_QUICK_PRIVATE_EXPORT QQuickMouseArea : public QQuickItem
 {
     Q_OBJECT
index 89289f3..23c32c1 100644 (file)
@@ -1917,7 +1917,7 @@ void tst_QJSEngine::jsFunctionDeclarationAsStatement()
     // at the beginning of chapter 12 in ECMA-262 5th edition, where it's
     // recommended that implementations either disallow this usage or issue
     // a warning.
-    // Since we had a bug report long ago about QtScript not supporting this
+    // Since we had a bug report long ago about Qt Script not supporting this
     // "feature" (and thus deviating from other implementations), we still
     // check this behavior.
 
@@ -2625,7 +2625,7 @@ void tst_QJSEngine::qRegExpInport()
 }
 
 // QScriptValue::toDateTime() returns a local time, whereas JS dates
-// are always stored as UTC. QtScript must respect the current time
+// are always stored as UTC. Qt Script must respect the current time
 // zone, and correctly adjust for daylight saving time that may be in
 // effect at a given date (QTBUG-9770).
 void tst_QJSEngine::dateRoundtripJSQtJS()
index a2bf06c..ed8fb9f 100644 (file)
@@ -138,7 +138,7 @@ void tst_QQuickWorkerScript::messaging_data()
     QTest::newRow("variant list") << qVariantFromValue((QVariantList() << "a" << "b" << "c"));
     QTest::newRow("date time") << qVariantFromValue(QDateTime::currentDateTime());
 #ifndef QT_NO_REGEXP
-    // QtScript's QScriptValue -> QRegExp uses RegExp2 pattern syntax
+    // Qt Script's QScriptValue -> QRegExp uses RegExp2 pattern syntax
     QTest::newRow("regexp") << qVariantFromValue(QRegExp("^\\d\\d?$", Qt::CaseInsensitive, QRegExp::RegExp2));
 #endif
 }