7#ifndef NETWORKMANAGERQT_WIRED_SETTING_H
8#define NETWORKMANAGERQT_WIRED_SETTING_H
11#include <networkmanagerqt/networkmanagerqt_export.h>
17class WiredSettingPrivate;
36 UnknownDuplexType = 0,
49 WakeOnLanPhy = 1 << 1,
50 WakeOnLanUnicast = 1 << 2,
51 WakeOnLanMulticast = 1 << 3,
52 WakeOnLanBroadcast = 1 << 4,
53 WakeOnLanArp = 1 << 5,
54 WakeOnLanMagic = 1 << 6,
56 WakeOnLanDefault = 1 << 0,
57 WakeOnLanIgnore = 1 << 15,
60 Q_FLAGS(WakeOnLanFlag)
68 void setPort(PortType port);
69 PortType port()
const;
71 void setSpeed(quint32 speed);
72 quint32 speed()
const;
74 void setDuplexType(DuplexType type);
75 DuplexType duplexType()
const;
77 void setAutoNegotiate(
bool autoNegotiate);
78 bool autoNegotiate()
const;
80 QString generateMacAddressMask()
const;
81 void setGenerateMacAddressMask(
const QString &mask);
86 void setClonedMacAddress(
const QByteArray &address);
89 void setMacAddressBlacklist(
const QStringList &list);
92 void setMtu(quint32 mtu);
95 void setS390Subchannels(
const QStringList &channels);
98 void setS390NetType(S390Nettype type);
99 S390Nettype s390NetType()
const;
107 QString wakeOnLanPassword()
const;
108 void setWakeOnLanPassword(
const QString &password);
110 QString assignedMacAddress()
const;
111 void setAssignedMacAddress(
const QString &assignedMacAddress);
113 void fromMap(
const QVariantMap &setting)
override;
115 QVariantMap toMap()
const override;
118 WiredSettingPrivate *d_ptr;
Base class for all kinds of setting.
Represents wired setting.
This class allows querying the underlying system to discover the available network interfaces and rea...
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:59:05 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.