From cd5d2f596c3fe70f012dd0bcc58e7a8ac81448f2 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Tue, 12 Feb 2019 15:39:23 +0100 Subject: Fix calls to TableModel functions in manual test The functions were renamed. Change-Id: I0fc77bc537412d99f2605aac15ea999f5e92d114 Reviewed-by: Shawn Rutledge --- tests/manual/tableview/tablemodel/form/main.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/manual') diff --git a/tests/manual/tableview/tablemodel/form/main.qml b/tests/manual/tableview/tablemodel/form/main.qml index f50fbf8781..21ecd8edbb 100644 --- a/tests/manual/tableview/tablemodel/form/main.qml +++ b/tests/manual/tableview/tablemodel/form/main.qml @@ -162,7 +162,7 @@ ApplicationWindow { Layout.alignment: Qt.AlignRight - onClicked: tableView.model.append(appendRowForm.inputAsRow()) + onClicked: tableView.model.appendRow(appendRowForm.inputAsRow()) } } ColumnLayout { @@ -194,7 +194,7 @@ ApplicationWindow { Layout.alignment: Qt.AlignRight - onClicked: tableView.model.insert(insertIndexSpinBox.value, insertRowForm.inputAsRow()) + onClicked: tableView.model.insertRow(insertIndexSpinBox.value, insertRowForm.inputAsRow()) } } GridLayout { @@ -234,7 +234,7 @@ ApplicationWindow { Layout.alignment: Qt.AlignRight Layout.columnSpan: 2 - onClicked: tableView.model.move(moveFromIndexSpinBox.value, moveToIndexSpinBox.value, rowsToMoveSpinBox.value) + onClicked: tableView.model.moveRow(moveFromIndexSpinBox.value, moveToIndexSpinBox.value, rowsToMoveSpinBox.value) } } GridLayout { @@ -254,7 +254,7 @@ ApplicationWindow { Layout.alignment: Qt.AlignRight Layout.columnSpan: 2 - onClicked: tableView.model.remove(removeIndexSpinBox.value) + onClicked: tableView.model.removeRow(removeIndexSpinBox.value) } } ColumnLayout { @@ -276,7 +276,7 @@ ApplicationWindow { Button { text: "Set" - onClicked: tableView.model.set(setIndexSpinBox.value, setRowForm.inputAsRow()); + onClicked: tableView.model.setRow(setIndexSpinBox.value, setRowForm.inputAsRow()); } } } -- cgit v1.2.3