aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmltreemodeltotablemodel/testmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmltreemodeltotablemodel/testmodel.h')
-rw-r--r--tests/auto/qml/qqmltreemodeltotablemodel/testmodel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmltreemodeltotablemodel/testmodel.h b/tests/auto/qml/qqmltreemodeltotablemodel/testmodel.h
index f886c56d4a..c67410d5f1 100644
--- a/tests/auto/qml/qqmltreemodeltotablemodel/testmodel.h
+++ b/tests/auto/qml/qqmltreemodeltotablemodel/testmodel.h
@@ -1,5 +1,5 @@
// Copyright (C) 2021 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef TESTMODEL_H
#define TESTMODEL_H
@@ -38,6 +38,7 @@ public:
QModelIndex parent(const QModelIndex &index) const override;
bool insertRows(int position, int rows, const QModelIndex &parent) override;
+ bool insertColumns(int position, int rows, const QModelIndex &parent) override;
private:
QScopedPointer<TreeItem> m_rootItem;