NetworkManager::BluetoothSetting

Search for usage in LXR

NetworkManager::BluetoothSetting Class Reference

#include <bluetoothsetting.h>

Inheritance diagram for NetworkManager::BluetoothSetting:

Public Types

typedef QList< PtrList
 
enum  ProfileType { Unknown = 0 , Dun , Panu }
 
typedef QSharedPointer< BluetoothSettingPtr
 
- 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

 BluetoothSetting (const Ptr &other)
 
QByteArray bluetoothAddress () const
 
void fromMap (const QVariantMap &setting) override
 
QString name () const override
 
ProfileType profileType () const
 
void setBluetoothAddress (const QByteArray &address)
 
void setProfileType (ProfileType type)
 
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

BluetoothSettingPrivate * 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 bluetooth setting.

Definition at line 22 of file bluetoothsetting.h.

Member Typedef Documentation

◆ List

◆ Ptr

Member Enumeration Documentation

◆ ProfileType

enum NetworkManager::BluetoothSetting::ProfileType

Definition at line 27 of file bluetoothsetting.h.

Constructor & Destructor Documentation

◆ BluetoothSetting() [1/2]

NetworkManager::BluetoothSetting::BluetoothSetting ( )

Definition at line 18 of file bluetoothsetting.cpp.

◆ BluetoothSetting() [2/2]

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

Definition at line 24 of file bluetoothsetting.cpp.

◆ ~BluetoothSetting()

NetworkManager::BluetoothSetting::~BluetoothSetting ( )
override

Definition at line 32 of file bluetoothsetting.cpp.

Member Function Documentation

◆ bluetoothAddress()

QByteArray NetworkManager::BluetoothSetting::bluetoothAddress ( ) const

Definition at line 51 of file bluetoothsetting.cpp.

◆ fromMap()

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

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 72 of file bluetoothsetting.cpp.

◆ name()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 37 of file bluetoothsetting.cpp.

◆ profileType()

NetworkManager::BluetoothSetting::ProfileType NetworkManager::BluetoothSetting::profileType ( ) const

Definition at line 65 of file bluetoothsetting.cpp.

◆ setBluetoothAddress()

void NetworkManager::BluetoothSetting::setBluetoothAddress ( const QByteArray & address)

Definition at line 44 of file bluetoothsetting.cpp.

◆ setProfileType()

void NetworkManager::BluetoothSetting::setProfileType ( ProfileType type)

Definition at line 58 of file bluetoothsetting.cpp.

◆ toMap()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 89 of file bluetoothsetting.cpp.

Member Data Documentation

◆ d_ptr

BluetoothSettingPrivate* NetworkManager::BluetoothSetting::d_ptr
protected

Definition at line 50 of file bluetoothsetting.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 Mon Nov 18 2024 12:08:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.