NetworkManager::WiredSetting Class
class NetworkManager::WiredSettingRepresents wired setting. More...
Header: | #include <NetworkManagerQt/WiredSetting> |
CMake: | find_package(KF6 REQUIRED COMPONENTS NetworkManagerQt) target_link_libraries(mytarget PRIVATE KF6::NetworkManagerQt) |
Inherits: | NetworkManager::Setting |
Public Types
enum | DuplexType { UnknownDuplexType, Half, Full } |
List | |
enum | PortType { UnknownPort, Tp, Aui, Bnc, Mii } |
Ptr | |
enum | S390Nettype { Undefined, Qeth, Lcs, Ctc } |
enum | WakeOnLanFlag { WakeOnLanPhy, WakeOnLanUnicast, WakeOnLanMulticast, WakeOnLanBroadcast, WakeOnLanArp, …, WakeOnLanIgnore } |
flags | WakeOnLanFlags |
Public Functions
WiredSetting() | |
WiredSetting(const NetworkManager::WiredSetting::Ptr &other) | |
QString | assignedMacAddress() const |
bool | autoNegotiate() const |
QByteArray | clonedMacAddress() const |
NetworkManager::WiredSetting::DuplexType | duplexType() const |
QString | generateMacAddressMask() const |
QByteArray | macAddress() const |
QStringList | macAddressBlacklist() const |
quint32 | mtu() const |
NetworkManager::WiredSetting::PortType | port() const |
NetworkManager::WiredSetting::S390Nettype | s390NetType() const |
QMap<QString, QString> | s390Options() const |
QStringList | s390Subchannels() const |
void | setAssignedMacAddress(const QString &assignedMacAddress) |
void | setAutoNegotiate(bool autoNegotiate) |
void | setClonedMacAddress(const QByteArray &address) |
void | setDuplexType(NetworkManager::WiredSetting::DuplexType type) |
void | setGenerateMacAddressMask(const QString &mask) |
void | setMacAddress(const QByteArray &address) |
void | setMacAddressBlacklist(const QStringList &list) |
void | setMtu(quint32 mtu) |
void | setPort(NetworkManager::WiredSetting::PortType port) |
void | setS390NetType(NetworkManager::WiredSetting::S390Nettype type) |
void | setS390Options(const QMap<QString, QString> &options) |
void | setS390Subchannels(const QStringList &channels) |
void | setSpeed(quint32 speed) |
void | setWakeOnLan(NetworkManager::WiredSetting::WakeOnLanFlags wol) |
void | setWakeOnLanPassword(const QString &password) |
quint32 | speed() const |
NetworkManager::WiredSetting::WakeOnLanFlags | wakeOnLan() const |
QString | wakeOnLanPassword() const |
Detailed Description
Member Type Documentation
enum WiredSetting::DuplexType
Constant | Value |
---|---|
NetworkManager::WiredSetting::UnknownDuplexType | 0 |
NetworkManager::WiredSetting::Half | 1 |
NetworkManager::WiredSetting::Full | 2 |
WiredSetting::List
enum WiredSetting::PortType
Constant | Value |
---|---|
NetworkManager::WiredSetting::UnknownPort | 0 |
NetworkManager::WiredSetting::Tp | 1 |
NetworkManager::WiredSetting::Aui | 2 |
NetworkManager::WiredSetting::Bnc | 3 |
NetworkManager::WiredSetting::Mii | 4 |
WiredSetting::Ptr
enum WiredSetting::S390Nettype
Constant | Value |
---|---|
NetworkManager::WiredSetting::Undefined | 0 |
NetworkManager::WiredSetting::Qeth | 1 |
NetworkManager::WiredSetting::Lcs | 2 |
NetworkManager::WiredSetting::Ctc | 3 |
enum WiredSetting::WakeOnLanFlag
flags WiredSetting::WakeOnLanFlags
Constant | Value |
---|---|
NetworkManager::WiredSetting::WakeOnLanPhy | 1 << 1 |
NetworkManager::WiredSetting::WakeOnLanUnicast | 1 << 2 |
NetworkManager::WiredSetting::WakeOnLanMulticast | 1 << 3 |
NetworkManager::WiredSetting::WakeOnLanBroadcast | 1 << 4 |
NetworkManager::WiredSetting::WakeOnLanArp | 1 << 5 |
NetworkManager::WiredSetting::WakeOnLanMagic | 1 << 6 |
Special values
Constant | Value |
---|---|
NetworkManager::WiredSetting::WakeOnLanDefault | 1 << 0 |
NetworkManager::WiredSetting::WakeOnLanIgnore | 1 << 15 |
The WakeOnLanFlags type is a typedef for QFlags<WakeOnLanFlag>. It stores an OR combination of WakeOnLanFlag values.
Member Function Documentation
WiredSetting::WiredSetting()
[explicit]
WiredSetting::WiredSetting(const NetworkManager::WiredSetting::Ptr &other)
QString WiredSetting::assignedMacAddress() const
See also setAssignedMacAddress().
bool WiredSetting::autoNegotiate() const
See also setAutoNegotiate().
QByteArray WiredSetting::clonedMacAddress() const
See also setClonedMacAddress().
NetworkManager::WiredSetting::DuplexType WiredSetting::duplexType() const
See also setDuplexType().
QString WiredSetting::generateMacAddressMask() const
See also setGenerateMacAddressMask().
QByteArray WiredSetting::macAddress() const
See also setMacAddress().
QStringList WiredSetting::macAddressBlacklist() const
See also setMacAddressBlacklist().
quint32 WiredSetting::mtu() const
See also setMtu().
NetworkManager::WiredSetting::PortType WiredSetting::port() const
See also setPort().
NetworkManager::WiredSetting::S390Nettype WiredSetting::s390NetType() const
See also setS390NetType().
QMap<QString, QString> WiredSetting::s390Options() const
See also setS390Options().
QStringList WiredSetting::s390Subchannels() const
See also setS390Subchannels().
void WiredSetting::setAssignedMacAddress(const QString &assignedMacAddress)
See also assignedMacAddress().
void WiredSetting::setAutoNegotiate(bool autoNegotiate)
See also autoNegotiate().
void WiredSetting::setClonedMacAddress(const QByteArray &address)
See also clonedMacAddress().
void WiredSetting::setDuplexType(NetworkManager::WiredSetting::DuplexType type)
See also duplexType().
void WiredSetting::setGenerateMacAddressMask(const QString &mask)
See also generateMacAddressMask().
void WiredSetting::setMacAddress(const QByteArray &address)
See also macAddress().
void WiredSetting::setMacAddressBlacklist(const QStringList &list)
See also macAddressBlacklist().
void WiredSetting::setMtu(quint32 mtu)
See also mtu().
void WiredSetting::setPort(NetworkManager::WiredSetting::PortType port)
See also port().
void WiredSetting::setS390NetType(NetworkManager::WiredSetting::S390Nettype type)
See also s390NetType().
void WiredSetting::setS390Options(const QMap<QString, QString> &options)
See also s390Options().
void WiredSetting::setS390Subchannels(const QStringList &channels)
See also s390Subchannels().
void WiredSetting::setSpeed(quint32 speed)
See also speed().
void WiredSetting::setWakeOnLan(NetworkManager::WiredSetting::WakeOnLanFlags wol)
See also wakeOnLan().
void WiredSetting::setWakeOnLanPassword(const QString &password)
See also wakeOnLanPassword().
quint32 WiredSetting::speed() const
See also setSpeed().
NetworkManager::WiredSetting::WakeOnLanFlags WiredSetting::wakeOnLan() const
See also setWakeOnLan().
QString WiredSetting::wakeOnLanPassword() const
See also setWakeOnLanPassword().