summaryrefslogtreecommitdiff
path: root/tests/auto/controls/data/tst_toolbutton.qml
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2013-08-30 12:13:31 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-10 11:20:29 +0200
commit0e4a9eba4052c4ad447b06c4575c30f77b4f3237 (patch)
treec56717ed57ce17ac96cde788b1c92e4879375428 /tests/auto/controls/data/tst_toolbutton.qml
parent37b0b8176537923ec77621c114e8ac2deb307b33 (diff)
downloadqtquickcontrols-0e4a9eba4052c4ad447b06c4575c30f77b4f3237.tar.gz
Update imports to 1.1 and remove version from qmlmodule definition
Change-Id: Icb4c6d78225c072da787e4646a55d8cf71a5db7a Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Diffstat (limited to 'tests/auto/controls/data/tst_toolbutton.qml')
-rw-r--r--tests/auto/controls/data/tst_toolbutton.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/controls/data/tst_toolbutton.qml b/tests/auto/controls/data/tst_toolbutton.qml
index 6af5677c..02ae5ede 100644
--- a/tests/auto/controls/data/tst_toolbutton.qml
+++ b/tests/auto/controls/data/tst_toolbutton.qml
@@ -55,12 +55,12 @@ TestCase {
height:400
function test_createToolButton() {
- var toolButton = Qt.createQmlObject('import QtQuick.Controls 1.0; ToolButton {}', testCase, '');
+ var toolButton = Qt.createQmlObject('import QtQuick.Controls 1.1; ToolButton {}', testCase, '');
toolButton.destroy()
}
function test_activeFocusOnPress(){
- var control = Qt.createQmlObject('import QtQuick.Controls 1.0; ToolButton {x: 20; y: 20; width: 100; height: 50}', container, '')
+ var control = Qt.createQmlObject('import QtQuick.Controls 1.1; ToolButton {x: 20; y: 20; width: 100; height: 50}', container, '')
control.activeFocusOnPress = false
verify(!control.activeFocus)
mouseClick(control, 30, 30)
@@ -77,7 +77,7 @@ TestCase {
skip("This function doesn't support NOT iterating all.")
var test_control = 'import QtQuick 2.1; \
- import QtQuick.Controls 1.0; \
+ import QtQuick.Controls 1.1; \
Item { \
width: 200; \
height: 200; \