NetworkManager::SerialSetting

Search for usage in LXR

NetworkManager::SerialSetting Class Reference

#include <serialsetting.h>

Inheritance diagram for NetworkManager::SerialSetting:

Public Types

typedef QList< PtrList
 
enum  Parity { NoParity , EvenParity , OddParity }
 
typedef QSharedPointer< SerialSettingPtr
 
- 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

 SerialSetting (const Ptr &other)
 
quint32 baud () const
 
quint32 bits () const
 
void fromMap (const QVariantMap &setting) override
 
QString name () const override
 
Parity parity () const
 
quint64 sendDelay () const
 
void setBaud (quint32 speed)
 
void setBits (quint32 byteWidth)
 
void setParity (Parity paritysetting)
 
void setSendDelay (quint64 delay)
 
void setStopbits (quint32 number)
 
quint32 stopbits () 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

SerialSettingPrivate * 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 serial setting.

Definition at line 22 of file serialsetting.h.

Member Typedef Documentation

◆ List

Definition at line 26 of file serialsetting.h.

◆ Ptr

Member Enumeration Documentation

◆ Parity

enum NetworkManager::SerialSetting::Parity

Definition at line 27 of file serialsetting.h.

Constructor & Destructor Documentation

◆ SerialSetting() [1/2]

NetworkManager::SerialSetting::SerialSetting ( )

Definition at line 22 of file serialsetting.cpp.

◆ SerialSetting() [2/2]

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

Definition at line 28 of file serialsetting.cpp.

◆ ~SerialSetting()

NetworkManager::SerialSetting::~SerialSetting ( )
override

Definition at line 39 of file serialsetting.cpp.

Member Function Documentation

◆ baud()

quint32 NetworkManager::SerialSetting::baud ( ) const

Definition at line 58 of file serialsetting.cpp.

◆ bits()

quint32 NetworkManager::SerialSetting::bits ( ) const

Definition at line 72 of file serialsetting.cpp.

◆ fromMap()

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

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 121 of file serialsetting.cpp.

◆ name()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 44 of file serialsetting.cpp.

◆ parity()

NetworkManager::SerialSetting::Parity NetworkManager::SerialSetting::parity ( ) const

Definition at line 86 of file serialsetting.cpp.

◆ sendDelay()

quint64 NetworkManager::SerialSetting::sendDelay ( ) const

Definition at line 114 of file serialsetting.cpp.

◆ setBaud()

void NetworkManager::SerialSetting::setBaud ( quint32 speed)

Definition at line 51 of file serialsetting.cpp.

◆ setBits()

void NetworkManager::SerialSetting::setBits ( quint32 byteWidth)

Definition at line 65 of file serialsetting.cpp.

◆ setParity()

void NetworkManager::SerialSetting::setParity ( Parity paritysetting)

Definition at line 79 of file serialsetting.cpp.

◆ setSendDelay()

void NetworkManager::SerialSetting::setSendDelay ( quint64 delay)

Definition at line 107 of file serialsetting.cpp.

◆ setStopbits()

void NetworkManager::SerialSetting::setStopbits ( quint32 number)

Definition at line 93 of file serialsetting.cpp.

◆ stopbits()

quint32 NetworkManager::SerialSetting::stopbits ( ) const

Definition at line 100 of file serialsetting.cpp.

◆ toMap()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 152 of file serialsetting.cpp.

Member Data Documentation

◆ d_ptr

SerialSettingPrivate* NetworkManager::SerialSetting::d_ptr
protected

Definition at line 59 of file serialsetting.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 Sun Feb 25 2024 18:38:29 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.