aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/models/abstractitemmodel/model.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/models/abstractitemmodel/model.h')
-rw-r--r--examples/quick/models/abstractitemmodel/model.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/quick/models/abstractitemmodel/model.h b/examples/quick/models/abstractitemmodel/model.h
index 85942127fc..d4a5e738a7 100644
--- a/examples/quick/models/abstractitemmodel/model.h
+++ b/examples/quick/models/abstractitemmodel/model.h
@@ -1,5 +1,9 @@
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
+#ifndef MODEL_H
+#define MODEL_H
+
#include <QAbstractListModel>
#include <QStringList>
@@ -45,4 +49,4 @@ private:
};
//![2]
-
+#endif // MODEL_H