NetworkManager::VpnSetting Class

class NetworkManager::VpnSetting

Represents vpn setting. More...

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

Public Types

Public Functions

VpnSetting()
VpnSetting(const NetworkManager::VpnSetting::Ptr &other)
int data() const
bool persistent() const
int secrets() const
QString serviceType() const
void setData(const int &data)
void setPersistent(bool persistent)
void setSecrets(const int &secrets)
void setServiceType(const QString &type)
void setTimeout(uint timeout)
void setUsername(const QString &username)
uint timeout() const
QString username() const

Detailed Description

Member Type Documentation

VpnSetting::List

VpnSetting::Ptr

Member Function Documentation

VpnSetting::VpnSetting()

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

int VpnSetting::data() const

See also setData().

bool VpnSetting::persistent() const

See also setPersistent().

int VpnSetting::secrets() const

See also setSecrets().

QString VpnSetting::serviceType() const

See also setServiceType().

void VpnSetting::setData(const int &data)

See also data().

void VpnSetting::setPersistent(bool persistent)

See also persistent().

void VpnSetting::setSecrets(const int &secrets)

See also secrets().

void VpnSetting::setServiceType(const QString &type)

See also serviceType().

void VpnSetting::setTimeout(uint timeout)

See also timeout().

void VpnSetting::setUsername(const QString &username)

See also username().

uint VpnSetting::timeout() const

See also setTimeout().

QString VpnSetting::username() const

See also setUsername().