3#ifndef PARAMETERWAKEONLAN_H
4#define PARAMETERWAKEONLAN_H
6#include "ParameterConnecter.h"
7#include "ParameterNet.h"
20 const bool GetEnable()
const;
21 int SetEnable(
bool bEnable);
26 const QString GetMac()
const;
27 int SetMac(
const QString &szMac);
29 const QString GetBroadcastAddress()
const;
30 int SetBroadcastAddress(
const QString& szBroadcastAddress);
37 int SetNetworkInterface(
const QString& szName);
39 const quint16 GetPort()
const;
40 int SetPort(quint16 port);
42 const QString GetPassword()
const;
43 int SetPassword(
const QString& szPassword);
45 const bool GetSavePassword()
const;
52 const int GetRepeat()
const;
53 int SetRepeat(
int nRepeat);
72 HostState GetHostState()
const;
73 void SetHostState(HostState newHostState);
76 void sigHostStateChanged();
80 HostState m_HostState;
82 QString m_szBoardcastAddress;
83 QString m_szNetworkInteface;
94 virtual int OnLoad(QSettings &set)
override;
95 virtual int OnSave(QSettings &set)
override;
100 virtual void slotSetParameterClient()
override;
the parameters of connecter interface.
Basic network parameters.
The wake on lan parameters.
virtual int OnLoad(QSettings &set) override
Unit: ms.
int SetTimeOut(int nTimeout)
Unit: ms.
int SetSavePassword(bool save)
Set save password.
int SetInterval(int nInterval)
Unit: ms.
const QString GetNetworkInterface() const
Get network interface.
virtual bool OnCheckValidity() override
Check validity.
const int GetTimeOut() const
Unit: ms.
const int GetInterval() const
Unit: ms.