NetworkManager::SerialSetting
#include <serialsetting.h>
Public Types | |
typedef QList< Ptr > | List |
enum | Parity { NoParity , EvenParity , OddParity } |
typedef QSharedPointer< SerialSetting > | Ptr |
Public Types inherited from NetworkManager::Setting | |
typedef QList< Ptr > | List |
enum | MacAddressRandomization { MacAddressRandomizationDefault = 0 , MacAddressRandomizationNever , MacAddressRandomizationAlways } |
typedef QSharedPointer< Setting > | Ptr |
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
Definition at line 25 of file serialsetting.h.
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]
|
explicit |
Definition at line 28 of file serialsetting.cpp.
◆ ~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()
|
overridevirtual |
Must be reimplemented, default implementation does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 121 of file serialsetting.cpp.
◆ name()
|
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()
|
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
|
protected |
Definition at line 59 of file serialsetting.h.
The documentation for this class was generated from the following files:
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.