aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols/contactlist/contactmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quickcontrols/contactlist/contactmodel.h')
-rw-r--r--examples/quickcontrols/contactlist/contactmodel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/quickcontrols/contactlist/contactmodel.h b/examples/quickcontrols/contactlist/contactmodel.h
index 564ec0fab3..78a06b8132 100644
--- a/examples/quickcontrols/contactlist/contactmodel.h
+++ b/examples/quickcontrols/contactlist/contactmodel.h
@@ -1,14 +1,16 @@
-// Copyright (C) 2017 The Qt Company Ltd.
+// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef CONTACTMODEL_H
#define CONTACTMODEL_H
#include <QAbstractListModel>
+#include <QQmlEngine>
class ContactModel : public QAbstractListModel
{
Q_OBJECT
+ QML_ELEMENT
public:
enum ContactRole {