aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2019-02-12 15:39:23 +0100
committerMitch Curtis <mitch.curtis@qt.io>2019-02-13 09:41:31 +0000
commitcd5d2f596c3fe70f012dd0bcc58e7a8ac81448f2 (patch)
treeaa4f449b1ae0de35b4818fa2951c09c59938868f /tests/manual
parent24b66d2de1f2385732a9157af228a5cf0004258f (diff)
Fix calls to TableModel functions in manual test
The functions were renamed. Change-Id: I0fc77bc537412d99f2605aac15ea999f5e92d114 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/tableview/tablemodel/form/main.qml10
1 files changed, 5 insertions, 5 deletions
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());
}
}
}