The wake on lan parameters.
More...
#include <ParameterWakeOnLan.h>
|
| enum class | HostState { Online
, GetMac
, WakeOnLan
, Offline
} |
| |
|
|
void | sigHostStateChanged () |
| |
| void | sigSetGlobalParameters () |
| | Only used by this class.
|
| |
|
void | sigNameChanged (const QString &name=QString()) |
| |
|
void | sigChanged () |
| | emit when the parameter changes Usually if required, the corresponding parameter corresponds to a change event.
|
| |
|
| | CParameterWakeOnLan (QObject *parent=nullptr) |
| |
| const bool | GetEnable () const |
| |
| int | SetEnable (bool bEnable) |
| |
| const QString | GetMac () const |
| |
| int | SetMac (const QString &szMac) |
| |
| const QString | GetBroadcastAddress () const |
| |
| int | SetBroadcastAddress (const QString &szBroadcastAddress) |
| |
| const QString | GetNetworkInterface () const |
| | Get network interface.
|
| |
| int | SetNetworkInterface (const QString &szName) |
| |
| const quint16 | GetPort () const |
| |
| int | SetPort (quint16 port) |
| |
| const QString | GetPassword () const |
| |
| int | SetPassword (const QString &szPassword) |
| |
| const bool | GetSavePassword () const |
| |
| int | SetSavePassword (bool save) |
| | Set save password.
|
| |
| const int | GetRepeat () const |
| |
| int | SetRepeat (int nRepeat) |
| |
| const int | GetInterval () const |
| | Unit: ms.
|
| |
| int | SetInterval (int nInterval) |
| | Unit: ms.
|
| |
| const int | GetTimeOut () const |
| | Unit: ms.
|
| |
| int | SetTimeOut (int nTimeout) |
| | Unit: ms.
|
| |
| HostState | GetHostState () const |
| |
| void | SetHostState (HostState newHostState) |
| |
|
| CParameterOperate (QObject *parent=nullptr, const QString &szPrefix=QString()) |
| |
| CParameterPlugin * | GetGlobalParameters () |
| | Get CParameterPlugin.
|
| |
| int | SetGlobalParameters (CParameterPlugin *p) |
| |
| const QString | GetName () const |
| |
| void | SetName (const QString &szName) |
| |
| 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) |
| |
| | CParameter (QObject *parent=nullptr, const QString &szPrefix=QString()) |
| |
| virtual int | Load (QString szFile=QString()) |
| | Load from file.
|
| |
| virtual int | Save (QString szFile=QString(), bool bForce=true) |
| | Save to file.
|
| |
| virtual int | Load (QSettings &set) |
| | Load from QSettings.
|
| |
| virtual int | Save (QSettings &set, bool bForce=true) |
| | Save to QSettings.
|
| |
| virtual bool | CheckValidity () |
| | Check whether the parameter is valid to decide whether to use or save the parameter.
|
| |
|
| 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 | 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 | ) |
|
◆ slotSetGlobalParameters
| void CParameterWakeOnLan::slotSetGlobalParameters |
( |
| ) |
|
|
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: