DtkNetworkManager
NetworkManager DBus interface binding for Qt
ddhcp4config.h
浏览该文件的文档.
1// SPDX-FileCopyrightText: 2022 - 2023 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
5#ifndef DDHCP4CONFIG_H
6#define DDHCP4CONFIG_H
7
9
10DNETWORKMANAGER_BEGIN_NAMESPACE
11
12class DDHCP4ConfigPrivate;
13
14class DDHCP4Config : public QObject
15{
16 Q_OBJECT
17public:
18 explicit DDHCP4Config(const quint64 id, QObject *parent = nullptr);
19 ~DDHCP4Config() override;
20 Q_PROPERTY(Config options READ options NOTIFY optionsChanged)
21
22 Config options() const;
23
24Q_SIGNALS:
25 void optionsChanged(const Config &option);
26
27private:
28 QScopedPointer<DDHCP4ConfigPrivate> d_ptr;
29 Q_DECLARE_PRIVATE(DDHCP4Config)
30};
31DNETWORKMANAGER_END_NAMESPACE
32
33#endif
对于dhcp4配置的属性的封装
Definition: ddhcp4config.h:15