7#ifndef NETWORKMANAGERQT_IPV6_SETTING_H
8#define NETWORKMANAGERQT_IPV6_SETTING_H
12#include <networkmanagerqt/networkmanagerqt_export.h>
14#include <QHostAddress>
17#define NMQT_SETTING_IP6_CONFIG_SETTING_NAME NM_SETTING_IP6_CONFIG_SETTING_NAME
18#define NMQT_SETTING_IP6_CONFIG_METHOD NM_SETTING_IP_CONFIG_METHOD
19#define NMQT_SETTING_IP6_CONFIG_DNS NM_SETTING_IP_CONFIG_DNS
20#define NMQT_SETTING_IP6_CONFIG_DNS_SEARCH NM_SETTING_IP_CONFIG_DNS_SEARCH
21#define NMQT_SETTING_IP6_CONFIG_ADDRESSES NM_SETTING_IP_CONFIG_ADDRESSES
22#define NMQT_SETTING_IP6_CONFIG_GATEWAY NM_SETTING_IP_CONFIG_GATEWAY
23#define NMQT_SETTING_IP6_CONFIG_ROUTES NM_SETTING_IP_CONFIG_ROUTES
24#define NMQT_SETTING_IP6_CONFIG_ROUTE_METRIC NM_SETTING_IP_CONFIG_ROUTE_METRIC
25#define NMQT_SETTING_IP6_CONFIG_IGNORE_AUTO_ROUTES NM_SETTING_IP_CONFIG_IGNORE_AUTO_ROUTES
26#define NMQT_SETTING_IP6_CONFIG_IGNORE_AUTO_DNS NM_SETTING_IP_CONFIG_IGNORE_AUTO_DNS
27#define NMQT_SETTING_IP6_CONFIG_DHCP_HOSTNAME NM_SETTING_IP_CONFIG_DHCP_HOSTNAME
28#define NMQT_SETTING_IP6_CONFIG_DHCP_SEND_HOSTNAME NM_SETTING_IP_CONFIG_DHCP_SEND_HOSTNAME
29#define NMQT_SETTING_IP6_CONFIG_NEVER_DEFAULT NM_SETTING_IP_CONFIG_NEVER_DEFAULT
30#define NMQT_SETTING_IP6_CONFIG_MAY_FAIL NM_SETTING_IP_CONFIG_MAY_FAIL
31#define NMQT_SETTING_IP6_CONFIG_DHCP_CLIENT_ID NM_SETTING_IP6_CONFIG_DHCP_CLIENT_ID
32#define NMQT_SETTING_IP6_CONFIG_IP6_PRIVACY NM_SETTING_IP6_CONFIG_IP6_PRIVACY
33#define NMQT_SETTING_IP6_CONFIG_METHOD_IGNORE NM_SETTING_IP6_CONFIG_METHOD_IGNORE
34#define NMQT_SETTING_IP6_CONFIG_METHOD_AUTO NM_SETTING_IP6_CONFIG_METHOD_AUTO
35#define NMQT_SETTING_IP6_CONFIG_METHOD_DHCP NM_SETTING_IP6_CONFIG_METHOD_DHCP
36#define NMQT_SETTING_IP6_CONFIG_METHOD_LINK_LOCAL NM_SETTING_IP6_CONFIG_METHOD_LINK_LOCAL
37#define NMQT_SETTING_IP6_CONFIG_METHOD_MANUAL NM_SETTING_IP6_CONFIG_METHOD_MANUAL
38#define NMQT_SETTING_IP6_CONFIG_METHOD_SHARED NM_SETTING_IP6_CONFIG_METHOD_SHARED
39#if NM_CHECK_VERSION(1, 20, 0)
40#define NMQT_SETTING_IP6_CONFIG_METHOD_DISABLED NM_SETTING_IP6_CONFIG_METHOD_DISABLED
42#define NMQT_SETTING_IP6_CONFIG_METHOD_DISABLED "disabled"
44#define NMQT_SETTING_IP6_CONFIG_DAD_TIMEOUT NM_SETTING_IP_CONFIG_DAD_TIMEOUT
45#define NMQT_SETTING_IP6_CONFIG_DHCP_TIMEOUT NM_SETTING_IP_CONFIG_DHCP_TIMEOUT
46#define NMQT_SETTING_IP6_CONFIG_DHCP_HOSTNAME NM_SETTING_IP_CONFIG_DHCP_HOSTNAME
47#define NMQT_SETTING_IP6_CONFIG_ADDRESS_GEN_MODE NM_SETTING_IP6_CONFIG_ADDR_GEN_MODE
48#if NM_CHECK_VERSION(1, 12, 0)
49#define NMQT_SETTING_IP6_CONFIG_DHCP_DUID NM_SETTING_IP6_CONFIG_DHCP_DUID
51#define NMQT_SETTING_IP6_CONFIG_DHCP_DUID "dhcp-duid"
53#define NMQT_SETTING_IP6_CONFIG_TOKEN NM_SETTING_IP6_CONFIG_TOKEN
54#define NMQT_SETTING_IP6_CONFIG_DNS_OPTIONS NM_SETTING_IP_CONFIG_DNS_OPTIONS
55#define NMQT_SETTING_IP6_CONFIG_ROUTE_DATA "route-data"
56#define NMQT_SETTING_IP6_CONFIG_ADDRESS_DATA "address-data"
57#if NM_CHECK_VERSION(1, 10, 0)
58#define NMQT_SETTING_IP6_CONFIG_ROUTE_TABLE NM_SETTING_IP_CONFIG_ROUTE_TABLE
60#define NMQT_SETTING_IP6_CONFIG_ROUTE_TABLE "route-table"
65class Ipv6SettingPrivate;
89 enum IPv6AddressGenMode {
100 void setMethod(ConfigMethod method);
101 ConfigMethod method()
const;
115 void setRouteMetric(
int metric);
116 int routeMetric()
const;
118 void setIgnoreAutoRoutes(
bool ignore);
119 bool ignoreAutoRoutes()
const;
121 void setIgnoreAutoDns(
bool ignore);
122 bool ignoreAutoDns()
const;
124 void setNeverDefault(
bool neverDefault);
125 bool neverDefault()
const;
127 void setMayFail(
bool mayFail);
128 bool mayFail()
const;
130 void setPrivacy(IPv6Privacy privacy);
131 IPv6Privacy privacy()
const;
133 void fromMap(
const QVariantMap &setting)
override;
135 QVariantMap toMap()
const override;
137 void setDadTimeout(qint32 timeout);
138 qint32 dadTimeout()
const;
140 void setAddressGenMode(IPv6AddressGenMode mode);
141 IPv6AddressGenMode addressGenMode()
const;
143 void setDhcpTimeout(qint32 timeout);
144 qint32 dhcpTimeout()
const;
149 void setDhcpDuid(
const QString &duid);
152 void setToken(
const QString &token);
164 void setRouteTable(quint32 routeTable);
165 quint32 routeTable()
const;
168 Ipv6SettingPrivate *
const d_ptr;
Base class for all kinds of setting.
This class allows querying the underlying system to discover the available network interfaces and rea...
NETWORKMANAGERQT_EXPORT QString hostname()
Returns hostname of the machine.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:59:05 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.