From 1578f745bf94f9522f0805019becf10c146a67de Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Thu, 6 Sep 2012 23:44:08 +0200 Subject: doc: fix some typos in .cpp files Change-Id: Ica7685aefde84ec80d8af7a67541af454de4adce Reviewed-by: Jerome Pasion --- tests/auto/qml/qqmlecmascript/testtypes.cpp | 2 +- tests/auto/quick/qquicktextedit/tst_qquicktextedit.cpp | 2 +- tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/auto/qml/qqmlecmascript/testtypes.cpp b/tests/auto/qml/qqmlecmascript/testtypes.cpp index a2ccb3a0b8..5c1a242a00 100644 --- a/tests/auto/qml/qqmlecmascript/testtypes.cpp +++ b/tests/auto/qml/qqmlecmascript/testtypes.cpp @@ -266,7 +266,7 @@ void registerTypes() qmlRegisterType("Qt.test",1,1,"MyRevisionedClass"); qmlRegisterType("Qt.test", 1,0, "MyWorkerObject"); - // test scarce resource property binding post-evaluation optimisation + // test scarce resource property binding post-evaluation optimization // and for testing memory usage in property var circular reference test qmlRegisterType("Qt.test", 1,0, "MyScarceResourceObject"); diff --git a/tests/auto/quick/qquicktextedit/tst_qquicktextedit.cpp b/tests/auto/quick/qquicktextedit/tst_qquicktextedit.cpp index 4953874809..b93d9f0bda 100644 --- a/tests/auto/quick/qquicktextedit/tst_qquicktextedit.cpp +++ b/tests/auto/quick/qquicktextedit/tst_qquicktextedit.cpp @@ -2268,7 +2268,7 @@ void tst_qquicktextedit::cursorDelegate() view.requestActivateWindow(); QQuickTextEdit *textEditObject = view.rootObject()->findChild("textEditObject"); QVERIFY(textEditObject != 0); - // Delegate creation is deferred until focus in or cursor visiblity is forced. + // Delegate creation is deferred until focus in or cursor visibility is forced. QVERIFY(!textEditObject->findChild("cursorInstance")); QVERIFY(!textEditObject->isCursorVisible()); //Test Delegate gets created diff --git a/tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp b/tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp index 60f7469aa5..5f280d152c 100644 --- a/tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp +++ b/tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp @@ -1533,7 +1533,7 @@ void tst_qquicktextinput::horizontalAlignment_RightToLeft() QTest::qWaitForWindowActive(&window); QVERIFY(textInput->hasActiveFocus()); - // If there is no commited text, the preedit text should determine the alignment. + // If there is no committed text, the preedit text should determine the alignment. textInput->setText(QString()); { QInputMethodEvent ev(rtlText, QList()); QGuiApplication::sendEvent(textInput, &ev); } QCOMPARE(textInput->hAlign(), QQuickTextInput::AlignRight); -- cgit v1.2.3