mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-12-02 16:43:00 +08:00
19 lines
330 B
C++
19 lines
330 B
C++
|
// Copyright (C) 2021 The Qt Company Ltd.
|
||
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||
|
|
||
|
#include "bindableuser.h"
|
||
|
|
||
|
//! [bindable-user-setters]
|
||
|
|
||
|
void BindableUser::setCountry(Country country)
|
||
|
{
|
||
|
m_country = country;
|
||
|
}
|
||
|
|
||
|
void BindableUser::setAge(int age)
|
||
|
{
|
||
|
m_age = age;
|
||
|
}
|
||
|
|
||
|
//! [bindable-user-setters]
|