1/*
2 SPDX-FileCopyrightText: 2012-2013 Jan Grulich <jgrulich@redhat.com>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef NETWORKMANAGERQT_IPV4_SETTING_P_H
8#define NETWORKMANAGERQT_IPV4_SETTING_P_H
9
10#include "../ipconfig.h"
11
12#include <QHostAddress>
13#include <QStringList>
14#include <networkmanagerqt/networkmanagerqt_export.h>
15
16namespace NetworkManager
17{
18class Ipv4SettingPrivate
19{
20public:
21 Ipv4SettingPrivate();
22
23 QString name;
24 NetworkManager::Ipv4Setting::ConfigMethod method;
25 QList<QHostAddress> dns;
26 QStringList dnsSearch;
27 QList<NetworkManager::IpAddress> addresses;
28 QList<NetworkManager::IpRoute> routes;
29 int routeMetric;
30 bool ignoreAutoRoutes;
31 bool ignoreAutoDns;
32 QString dhcpClientId;
33 bool dhcpSendHostname;
34 QString dhcpHostname;
35 bool neverDefault;
36 bool mayFail;
37 qint32 dadTimeout;
38 QString dhcpFqdn;
39 QStringList dnsOptions;
40 qint32 dnsPriority;
41 QString gateway;
42 NMVariantMapList addressData;
43 NMVariantMapList routeData;
44};
45
46}
47#endif // NETWORKMANAGERQT_IPV4_SETTING_P_H
48

source code of networkmanager-qt/src/settings/ipv4setting_p.h