NetworkManager::WireGuardSetting Class

class NetworkManager::WireGuardSetting

Represents generic setting. More...

Header: #include <NetworkManagerQt/WireGuardSetting>
CMake: find_package(KF6 REQUIRED COMPONENTS NetworkManagerQt)
target_link_libraries(mytarget PRIVATE KF6::NetworkManagerQt)
Inherits: NetworkManager::Setting

Public Types

Public Functions

WireGuardSetting()
WireGuardSetting(const NetworkManager::WireGuardSetting::Ptr &other)
quint32 fwmark() const
quint32 listenPort() const
quint32 mtu() const
bool peerRoutes() const
int peers() const
QString privateKey() const
NetworkManager::Setting::SecretFlags privateKeyFlags() const
void setFwmark(quint32 fwmark)
void setListenPort(quint32 port)
void setMtu(quint32 mtu)
void setPeerRoutes(bool peerRoutes)
void setPeers(const int &peers)
void setPrivateKey(const QString &key)
void setPrivateKeyFlags(NetworkManager::Setting::SecretFlags flags)

Detailed Description

Member Type Documentation

WireGuardSetting::List

WireGuardSetting::Ptr

Member Function Documentation

WireGuardSetting::WireGuardSetting()

[explicit] WireGuardSetting::WireGuardSetting(const NetworkManager::WireGuardSetting::Ptr &other)

quint32 WireGuardSetting::fwmark() const

See also setFwmark().

quint32 WireGuardSetting::listenPort() const

See also setListenPort().

quint32 WireGuardSetting::mtu() const

See also setMtu().

bool WireGuardSetting::peerRoutes() const

See also setPeerRoutes().

int WireGuardSetting::peers() const

See also setPeers().

QString WireGuardSetting::privateKey() const

See also setPrivateKey().

NetworkManager::Setting::SecretFlags WireGuardSetting::privateKeyFlags() const

See also setPrivateKeyFlags().

void WireGuardSetting::setFwmark(quint32 fwmark)

See also fwmark().

void WireGuardSetting::setListenPort(quint32 port)

See also listenPort().

void WireGuardSetting::setMtu(quint32 mtu)

See also mtu().

void WireGuardSetting::setPeerRoutes(bool peerRoutes)

See also peerRoutes().

void WireGuardSetting::setPeers(const int &peers)

See also peers().

void WireGuardSetting::setPrivateKey(const QString &key)

See also privateKey().

void WireGuardSetting::setPrivateKeyFlags(NetworkManager::Setting::SecretFlags flags)

See also privateKeyFlags().