2022-05-13 13:12:05 +00:00
|
|
|
// Copyright (C) 2021 The Qt Company Ltd.
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2021-11-02 08:04:21 +00:00
|
|
|
#include "person.h"
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
}
|