aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlmodels/qqmltablemodel_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmlmodels/qqmltablemodel_p.h')
-rw-r--r--src/qmlmodels/qqmltablemodel_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qmlmodels/qqmltablemodel_p.h b/src/qmlmodels/qqmltablemodel_p.h
index b3c0cc2848..4b667e1073 100644
--- a/src/qmlmodels/qqmltablemodel_p.h
+++ b/src/qmlmodels/qqmltablemodel_p.h
@@ -72,6 +72,7 @@ class Q_QMLMODELS_PRIVATE_EXPORT QQmlTableModel : public QAbstractTableModel, pu
Q_PROPERTY(QQmlListProperty<QQmlTableModelColumn> columns READ columns CONSTANT FINAL)
Q_INTERFACES(QQmlParserStatus)
Q_CLASSINFO("DefaultProperty", "columns")
+ QML_NAMED_ELEMENT(TableModel)
public:
QQmlTableModel(QObject *parent = nullptr);