Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Private Slots | Private Attributes | List of all members
CParameterWakeOnLanUI Class Reference

The wake on lan parameters UI. More...

#include <ParameterWakeOnLanUI.h>

Inheritance diagram for CParameterWakeOnLanUI:

Public Member Functions

 CParameterWakeOnLanUI (QWidget *parent=nullptr)
 
int SetParameter (CParameter *pParameter)
 Set the parameters and initialize the user interface.
 
bool CheckValidity (bool validity)
 
int Accept ()
 Accept parameters.
 

Static Public Member Functions

static QString GetSubNet (const QString &szIP, const QString &szMask)
 

Private Slots

void on_pbShow_clicked ()
 
void on_pbSave_clicked ()
 
void on_cbNetworkInterface_currentIndexChanged (int index)
 
void on_pbOK_clicked ()
 
void on_pbCancel_clicked ()
 
void on_leIP_editingFinished ()
 
void slotHostChanged (const QString &szHost)
 

Private Attributes

Ui::CParameterWakeOnLanUI * ui
 
CParameterWakeOnLanm_pWakeOnLan
 

Detailed Description

The wake on lan parameters UI.

See also
CParameterWakeOnLan

Definition at line 19 of file ParameterWakeOnLanUI.h.

Constructor & Destructor Documentation

◆ ~CParameterWakeOnLanUI()

CParameterWakeOnLanUI::~CParameterWakeOnLanUI ( )

Definition at line 70 of file ParameterWakeOnLanUI.cpp.

Member Function Documentation

◆ Accept()

int CParameterWakeOnLanUI::Accept ( )

Accept parameters.

Parameters
validity
  • true: Check parameters
  • false: Not check parameters
Returns
0 is success. otherwise is fail

Definition at line 164 of file ParameterWakeOnLanUI.cpp.

◆ CheckValidity()

bool CParameterWakeOnLanUI::CheckValidity ( bool  validity)

Definition at line 101 of file ParameterWakeOnLanUI.cpp.

◆ GetSubNet()

QString CParameterWakeOnLanUI::GetSubNet ( const QString &  szIP,
const QString &  szMask 
)
static

Definition at line 259 of file ParameterWakeOnLanUI.cpp.

◆ on_cbNetworkInterface_currentIndexChanged

void CParameterWakeOnLanUI::on_cbNetworkInterface_currentIndexChanged ( int  index)
privateslot

Definition at line 220 of file ParameterWakeOnLanUI.cpp.

◆ on_leIP_editingFinished

void CParameterWakeOnLanUI::on_leIP_editingFinished ( )
privateslot

Definition at line 288 of file ParameterWakeOnLanUI.cpp.

◆ on_pbCancel_clicked

void CParameterWakeOnLanUI::on_pbCancel_clicked ( )
privateslot

Definition at line 283 of file ParameterWakeOnLanUI.cpp.

◆ on_pbOK_clicked

void CParameterWakeOnLanUI::on_pbOK_clicked ( )
privateslot

Definition at line 274 of file ParameterWakeOnLanUI.cpp.

◆ on_pbSave_clicked

void CParameterWakeOnLanUI::on_pbSave_clicked ( )
privateslot

Definition at line 200 of file ParameterWakeOnLanUI.cpp.

◆ on_pbShow_clicked

void CParameterWakeOnLanUI::on_pbShow_clicked ( )
privateslot

Definition at line 183 of file ParameterWakeOnLanUI.cpp.

◆ SetParameter()

int CParameterWakeOnLanUI::SetParameter ( CParameter pParameter)

Set the parameters and initialize the user interface.

Definition at line 75 of file ParameterWakeOnLanUI.cpp.

◆ slotHostChanged

void CParameterWakeOnLanUI::slotHostChanged ( const QString &  szHost)
privateslot

Definition at line 226 of file ParameterWakeOnLanUI.cpp.

Member Data Documentation

◆ m_pWakeOnLan

CParameterWakeOnLan* CParameterWakeOnLanUI::m_pWakeOnLan
private

Definition at line 59 of file ParameterWakeOnLanUI.h.

◆ ui

Ui::CParameterWakeOnLanUI* CParameterWakeOnLanUI::ui
private

Definition at line 58 of file ParameterWakeOnLanUI.h.


The documentation for this class was generated from the following files: