The wake on lan parameters.
More...
#include <ParameterWakeOnLan.h>
|
enum class | HostState { Online
, GetMac
, WakeOnLan
, Offline
} |
|
|
void | sigHostStateChanged () |
|
void | sigSetParameterClient () |
|
void | sigChanged () |
| emit when the parameter changes Usually if required, the corresponding parameter corresponds to a change event.
|
|
|
virtual int | OnLoad (QSettings &set) override |
| Unit: ms.
|
|
virtual int | OnSave (QSettings &set) override |
|
virtual bool | OnCheckValidity () override |
| Check validity.
|
|
QByteArray | PasswordSum (const std::string &password, const std::string &key) |
|
int | LoadPassword (const QString &szTitle, const QString &szKey, QString &password, QSettings &set) |
|
int | SavePassword (const QString &szKey, const QString &password, QSettings &set, bool bSave=false) |
|
int | SetModified (bool bModified=true) |
| When setting parameters, if there is a modification, it is called.
|
|
bool | GetModified () |
| Whether the parameters have been modified.
|
|
The wake on lan parameters.
it's UI is CParameterWakeOnLanUI
- See also
- CParameterWakeOnLanUI
Definition at line 14 of file ParameterWakeOnLan.h.
◆ HostState
enum class CParameterWakeOnLan::HostState |
|
strong |
◆ CParameterWakeOnLan()
CParameterWakeOnLan::CParameterWakeOnLan |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ GetBroadcastAddress()
const QString CParameterWakeOnLan::GetBroadcastAddress |
( |
| ) |
const |
◆ GetEnable()
const bool CParameterWakeOnLan::GetEnable |
( |
| ) |
const |
◆ GetHostState()
CParameterWakeOnLan::HostState CParameterWakeOnLan::GetHostState |
( |
| ) |
const |
◆ GetInterval()
const int CParameterWakeOnLan::GetInterval |
( |
| ) |
const |
◆ GetMac()
const QString CParameterWakeOnLan::GetMac |
( |
| ) |
const |
◆ GetNetworkInterface()
const QString CParameterWakeOnLan::GetNetworkInterface |
( |
| ) |
const |
◆ GetPassword()
const QString CParameterWakeOnLan::GetPassword |
( |
| ) |
const |
◆ GetPort()
const quint16 CParameterWakeOnLan::GetPort |
( |
| ) |
const |
◆ GetRepeat()
const int CParameterWakeOnLan::GetRepeat |
( |
| ) |
const |
◆ GetSavePassword()
const bool CParameterWakeOnLan::GetSavePassword |
( |
| ) |
const |
◆ GetTimeOut()
const int CParameterWakeOnLan::GetTimeOut |
( |
| ) |
const |
◆ OnCheckValidity()
bool CParameterWakeOnLan::OnCheckValidity |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ OnLoad()
int CParameterWakeOnLan::OnLoad |
( |
QSettings & |
set | ) |
|
|
overrideprotectedvirtual |
◆ OnSave()
int CParameterWakeOnLan::OnSave |
( |
QSettings & |
set | ) |
|
|
overrideprotectedvirtual |
◆ SetBroadcastAddress()
int CParameterWakeOnLan::SetBroadcastAddress |
( |
const QString & |
szBroadcastAddress | ) |
|
◆ SetEnable()
int CParameterWakeOnLan::SetEnable |
( |
bool |
bEnable | ) |
|
◆ SetHostState()
void CParameterWakeOnLan::SetHostState |
( |
HostState |
newHostState | ) |
|
◆ SetInterval()
int CParameterWakeOnLan::SetInterval |
( |
int |
nInterval | ) |
|
◆ SetMac()
int CParameterWakeOnLan::SetMac |
( |
const QString & |
szMac | ) |
|
◆ SetNetworkInterface()
int CParameterWakeOnLan::SetNetworkInterface |
( |
const QString & |
szName | ) |
|
◆ SetPassword()
int CParameterWakeOnLan::SetPassword |
( |
const QString & |
szPassword | ) |
|
◆ SetPort()
int CParameterWakeOnLan::SetPort |
( |
quint16 |
port | ) |
|
◆ SetRepeat()
int CParameterWakeOnLan::SetRepeat |
( |
int |
nRepeat | ) |
|
◆ SetSavePassword()
int CParameterWakeOnLan::SetSavePassword |
( |
bool |
save | ) |
|
◆ SetTimeOut()
int CParameterWakeOnLan::SetTimeOut |
( |
int |
nTimeout | ) |
|
◆ slotSetParameterClient
void CParameterWakeOnLan::slotSetParameterClient |
( |
| ) |
|
|
overrideprotectedvirtualslot |
◆ m_bEnable
bool CParameterWakeOnLan::m_bEnable |
|
private |
◆ m_bSavePassword
bool CParameterWakeOnLan::m_bSavePassword |
|
private |
◆ m_HostState
HostState CParameterWakeOnLan::m_HostState |
|
private |
◆ m_Net
◆ m_nInterval
int CParameterWakeOnLan::m_nInterval |
|
private |
◆ m_nPort
quint16 CParameterWakeOnLan::m_nPort |
|
private |
◆ m_nRepeat
int CParameterWakeOnLan::m_nRepeat |
|
private |
◆ m_nTimeOut
int CParameterWakeOnLan::m_nTimeOut |
|
private |
◆ m_szBoardcastAddress
QString CParameterWakeOnLan::m_szBoardcastAddress |
|
private |
◆ m_szMac
QString CParameterWakeOnLan::m_szMac |
|
private |
◆ m_szNetworkInteface
QString CParameterWakeOnLan::m_szNetworkInteface |
|
private |
◆ m_szPassword
QString CParameterWakeOnLan::m_szPassword |
|
private |
The documentation for this class was generated from the following files: