aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/referenceexamples/methods/person.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qml/referenceexamples/methods/person.cpp')
-rw-r--r--examples/qml/referenceexamples/methods/person.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/examples/qml/referenceexamples/methods/person.cpp b/examples/qml/referenceexamples/methods/person.cpp
deleted file mode 100644
index ab7aefcbee..0000000000
--- a/examples/qml/referenceexamples/methods/person.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (C) 2021 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-
-#include "person.h"
-
-QString Person::name() const
-{
- return m_name;
-}
-
-void Person::setName(const QString &n)
-{
- m_name = n;
-}
-
-int Person::shoeSize() const
-{
- return m_shoeSize;
-}
-
-void Person::setShoeSize(int s)
-{
- m_shoeSize = s;
-}