From a0d27513f4eff3f76fd85e6442aca443b7c05a53 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 17 Jan 2014 19:33:29 +0100 Subject: whitespace fixes remove trailing spaces & expand tabs Change-Id: Ia088c8cc8a83d068f6e2ec84903b5220cd3411f1 Reviewed-by: Alan Alpert Reviewed-by: Oswald Buddenhagen --- .../qdeclarativetextinput/tst_qdeclarativetextinput.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp') diff --git a/tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp b/tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp index 54b9f892..3ae795cc 100644 --- a/tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp +++ b/tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp @@ -277,7 +277,7 @@ void tst_qdeclarativetextinput::width() void tst_qdeclarativetextinput::font() { //test size, then bold, then italic, then family - { + { QString componentStr = "import QtQuick 1.0\nTextInput { font.pointSize: 40; text: \"Hello World\" }"; QDeclarativeComponent textinputComponent(&engine); textinputComponent.setData(componentStr.toLatin1(), QUrl()); @@ -291,7 +291,7 @@ void tst_qdeclarativetextinput::font() delete textinputObject; } - { + { QString componentStr = "import QtQuick 1.0\nTextInput { font.bold: true; text: \"Hello World\" }"; QDeclarativeComponent textinputComponent(&engine); textinputComponent.setData(componentStr.toLatin1(), QUrl()); @@ -304,7 +304,7 @@ void tst_qdeclarativetextinput::font() delete textinputObject; } - { + { QString componentStr = "import QtQuick 1.0\nTextInput { font.italic: true; text: \"Hello World\" }"; QDeclarativeComponent textinputComponent(&engine); textinputComponent.setData(componentStr.toLatin1(), QUrl()); @@ -316,8 +316,8 @@ void tst_qdeclarativetextinput::font() delete textinputObject; } - - { + + { QString componentStr = "import QtQuick 1.0\nTextInput { font.family: \"Helvetica\"; text: \"Hello World\" }"; QDeclarativeComponent textinputComponent(&engine); textinputComponent.setData(componentStr.toLatin1(), QUrl()); @@ -331,7 +331,7 @@ void tst_qdeclarativetextinput::font() delete textinputObject; } - { + { QString componentStr = "import QtQuick 1.0\nTextInput { font.family: \"\"; text: \"Hello World\" }"; QDeclarativeComponent textinputComponent(&engine); textinputComponent.setData(componentStr.toLatin1(), QUrl()); @@ -348,7 +348,7 @@ void tst_qdeclarativetextinput::color() { //test color for (int i = 0; i < colorStrings.size(); i++) - { + { QString componentStr = "import QtQuick 1.0\nTextInput { color: \"" + colorStrings.at(i) + "\"; text: \"Hello World\" }"; QDeclarativeComponent textinputComponent(&engine); textinputComponent.setData(componentStr.toLatin1(), QUrl()); @@ -374,7 +374,7 @@ void tst_qdeclarativetextinput::color() //test selected text color for (int i = 0; i < colorStrings.size(); i++) - { + { QString componentStr = "import QtQuick 1.0\nTextInput { selectedTextColor: \"" + colorStrings.at(i) + "\"; text: \"Hello World\" }"; QDeclarativeComponent textinputComponent(&engine); textinputComponent.setData(componentStr.toLatin1(), QUrl()); -- cgit v1.2.3