1// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#include "serverinfo.h"
6
7const int kPort = 4711;
8ServerInfo::ServerInfo(QObject *parent) : QObject(parent)
9{
10
11}
12
13int ServerInfo::port() const
14{
15 return iPort;
16}
17
18void ServerInfo::setPort(int port)
19{
20 iPort = port;
21}
22
23const QString &ServerInfo::gethost() const
24{
25 return host;
26}
27
28void ServerInfo::setHost(QString &_host)
29{
30 host = _host;
31}
32