NetworkManager::OlpcMeshSetting

Search for usage in LXR

NetworkManager::OlpcMeshSetting Class Reference

#include <olpcmeshsetting.h>

Inheritance diagram for NetworkManager::OlpcMeshSetting:

Public Types

typedef QList< PtrList
 
typedef QSharedPointer< OlpcMeshSettingPtr
 
- Public Types inherited from NetworkManager::Setting
typedef QList< PtrList
 
enum  MacAddressRandomization { MacAddressRandomizationDefault = 0 , MacAddressRandomizationNever , MacAddressRandomizationAlways }
 
typedef QSharedPointer< SettingPtr
 
typedef QFlags< SecretFlagType > SecretFlags
 
enum  SecretFlagType { None = 0 , AgentOwned = 0x01 , NotSaved = 0x02 , NotRequired = 0x04 }
 
enum  SettingType {
  Adsl , Cdma , Gsm , Infiniband ,
  Ipv4 , Ipv6 , Ppp , Pppoe ,
  Security8021x , Serial , Vpn , Wired ,
  Wireless , WirelessSecurity , Bluetooth , OlpcMesh ,
  Vlan , Wimax , Bond , Bridge ,
  BridgePort , Team , Generic , Tun ,
  Vxlan , IpTunnel , Proxy , User ,
  OvsBridge , OvsInterface , OvsPatch , OvsPort ,
  Match , Tc , TeamPort , Macsec ,
  Dcb , WireGuard
}
 

Public Member Functions

 OlpcMeshSetting (const Ptr &other)
 
quint32 channel () const
 
QByteArray dhcpAnycastAddress () const
 
void fromMap (const QVariantMap &setting) override
 
QString name () const override
 
void setChannel (quint32 channel)
 
void setDhcpAnycastAddress (const QByteArray &address)
 
void setSsid (const QByteArray &ssid)
 
QByteArray ssid () const
 
QVariantMap toMap () const override
 
- Public Member Functions inherited from NetworkManager::Setting
 Setting (const Ptr &setting)
 
 Setting (SettingType type)
 
bool isNull () const
 
virtual QStringList needSecrets (bool requestNew=false) const
 
virtual void secretsFromMap (const QVariantMap &map)
 
virtual void secretsFromStringMap (const NMStringMap &map)
 
virtual QVariantMap secretsToMap () const
 
virtual NMStringMap secretsToStringMap () const
 
void setInitialized (bool initialized)
 
void setType (SettingType type)
 
SettingType type () const
 

Protected Attributes

OlpcMeshSettingPrivate * d_ptr
 
- Protected Attributes inherited from NetworkManager::Setting
SettingPrivate * d_ptr
 

Additional Inherited Members

- Static Public Member Functions inherited from NetworkManager::Setting
static QString typeAsString (SettingType type)
 
static SettingType typeFromString (const QString &type)
 

Detailed Description

Represents olpc mesh setting.

Definition at line 22 of file olpcmeshsetting.h.

Member Typedef Documentation

◆ List

Definition at line 26 of file olpcmeshsetting.h.

◆ Ptr

Constructor & Destructor Documentation

◆ OlpcMeshSetting() [1/2]

NetworkManager::OlpcMeshSetting::OlpcMeshSetting ( )

Definition at line 18 of file olpcmeshsetting.cpp.

◆ OlpcMeshSetting() [2/2]

NetworkManager::OlpcMeshSetting::OlpcMeshSetting ( const Ptr & other)
explicit

Definition at line 24 of file olpcmeshsetting.cpp.

◆ ~OlpcMeshSetting()

NetworkManager::OlpcMeshSetting::~OlpcMeshSetting ( )
override

Definition at line 33 of file olpcmeshsetting.cpp.

Member Function Documentation

◆ channel()

quint32 NetworkManager::OlpcMeshSetting::channel ( ) const

Definition at line 66 of file olpcmeshsetting.cpp.

◆ dhcpAnycastAddress()

QByteArray NetworkManager::OlpcMeshSetting::dhcpAnycastAddress ( ) const

Definition at line 80 of file olpcmeshsetting.cpp.

◆ fromMap()

void NetworkManager::OlpcMeshSetting::fromMap ( const QVariantMap & map)
overridevirtual

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 87 of file olpcmeshsetting.cpp.

◆ name()

QString NetworkManager::OlpcMeshSetting::name ( ) const
overridevirtual

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 38 of file olpcmeshsetting.cpp.

◆ setChannel()

void NetworkManager::OlpcMeshSetting::setChannel ( quint32 channel)

Definition at line 59 of file olpcmeshsetting.cpp.

◆ setDhcpAnycastAddress()

void NetworkManager::OlpcMeshSetting::setDhcpAnycastAddress ( const QByteArray & address)

Definition at line 73 of file olpcmeshsetting.cpp.

◆ setSsid()

void NetworkManager::OlpcMeshSetting::setSsid ( const QByteArray & ssid)

Definition at line 45 of file olpcmeshsetting.cpp.

◆ ssid()

QByteArray NetworkManager::OlpcMeshSetting::ssid ( ) const

Definition at line 52 of file olpcmeshsetting.cpp.

◆ toMap()

QVariantMap NetworkManager::OlpcMeshSetting::toMap ( ) const
overridevirtual

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 102 of file olpcmeshsetting.cpp.

Member Data Documentation

◆ d_ptr

OlpcMeshSettingPrivate* NetworkManager::OlpcMeshSetting::d_ptr
protected

Definition at line 47 of file olpcmeshsetting.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:13:24 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.