7#ifndef NETWORKMANAGERQT_WIREGUARD_SETTING_H
8#define NETWORKMANAGERQT_WIREGUARD_SETTING_H
11#include <networkmanagerqt/networkmanagerqt_export.h>
17class WireGuardSettingPrivate;
33 quint32 fwmark()
const;
34 void setFwmark(quint32 fwmark);
36 quint32 listenPort()
const;
37 void setListenPort(quint32 port);
40 void setMtu(quint32 mtu);
42 bool peerRoutes()
const;
43 void setPeerRoutes(
bool peerRoutes);
49 void setPrivateKey(
const QString &key);
54 void secretsFromMap(
const QVariantMap &secrets)
override;
56 QVariantMap secretsToMap()
const override;
58 void secretsFromStringMap(
const NMStringMap &map)
override;
66 QStringList needSecrets(
bool requestNew =
false)
const override;
68 void fromMap(
const QVariantMap &setting)
override;
70 QVariantMap toMap()
const override;
73 WireGuardSettingPrivate *d_ptr;
Base class for all kinds of setting.
Represents generic setting.
This class allows querying the underlying system to discover the available network interfaces and rea...
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.