Wake on lan operate interface.  
 More...
#include <OperateWakeOnLan.h>
 | 
| virtual int  | Start () override | 
|   | 
| virtual int  | Stop () override | 
|   | 
 | 
| 
void  | sigGetMac (CParameterWakeOnLan *p) | 
|   | 
| 
void  | sigWakeOnLan (CParameterWakeOnLan *p) | 
|   | 
| void  | sigRunning () | 
|   | Start success signal.  
  | 
|   | 
| void  | sigStop () | 
|   | Notify the user to stop.  
  | 
|   | 
| void  | sigFinished () | 
|   | Successful disconnection signal.  
  | 
|   | 
| void  | sigViewerFocusIn (QWidget *pView) | 
|   | The view is focus.  
  | 
|   | 
| void  | sigUpdateName (const QString &szName) | 
|   | 
| void  | sigUpdateParameters (COperate *pOperate) | 
|   | Update parameters, notify application to save or show parameters.  
  | 
|   | 
| 
void  | sigError (const int nError, const QString &szError) | 
|   | Triggered when an error is generated. 
  | 
|   | 
| void  | sigInformation (const QString &szInfo) | 
|   | Show information in main windows.  
  | 
|   | 
| void  | sigShowMessageBox (const QString &title, const QString &message, const QMessageBox::Icon &icon=QMessageBox::Information) | 
|   | Trigger the display of a message dialog (QMessageBox) in the main thread from a background thread without blocking the background thread.  
  | 
|   | 
| 
void  | sigClipBoardChanged () | 
|   | 
 | 
| virtual int  | Initial () override | 
|   | Initial parameters and resource.  
  | 
|   | 
| virtual int  | Clean () override | 
|   | Clean parameters and resource.  
  | 
|   | 
| virtual int  | Load (QSettings &set) override | 
|   | Load parameters.  
  | 
|   | 
| virtual int  | Save (QSettings &set) override | 
|   | Save parameters.  
  | 
|   | 
| Q_INVOKABLE CPlugin *  | GetPlugin () const | 
|   | Get plugin.  
  | 
|   | 
| virtual Q_INVOKABLE int  | Load (QString szFile=QString()) | 
|   | Load parameters from file.  
  | 
|   | 
| virtual Q_INVOKABLE int  | Save (QString szFile=QString()) | 
|   | Save parameters to file.  
  | 
|   | 
Wake on lan operate interface. 
Definition at line 13 of file OperateWakeOnLan.h.
 
◆ ~COperateWakeOnLan()
  
  
      
        
          | COperateWakeOnLan::~COperateWakeOnLan  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ Clean()
  
  
      
        
          | int COperateWakeOnLan::Clean  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overrideprotectedvirtual   | 
  
 
 
◆ GetViewer()
  
  
      
        
          | QWidget * COperateWakeOnLan::GetViewer  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
Get Viewer. 
- Returns
 - QWidget*: the ownership is a instance of this class or its derivative class 
 
- Note
 - If you implement the view yourself, you need to disable the view at the beginning and allow the view after sigRun.
 
- See also
 - sigRunning CFrmViewer::CFrmViewer 
 
Implements COperate.
Definition at line 139 of file OperateWakeOnLan.cpp.
 
 
◆ Id()
  
  
      
        
          | const QString COperateWakeOnLan::Id  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ Initial()
  
  
      
        
          | int COperateWakeOnLan::Initial  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overrideprotectedvirtual   | 
  
 
 
◆ Load()
  
  
      
        
          | int COperateWakeOnLan::Load  | 
          ( | 
          QSettings &  | 
          set | ) | 
           | 
         
       
   | 
  
overrideprotectedvirtual   | 
  
 
 
◆ Name()
  
  
      
        
          | const QString COperateWakeOnLan::Name  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ OnOpenDialogSettings()
  
  
      
        
          | QDialog * COperateWakeOnLan::OnOpenDialogSettings  | 
          ( | 
          QWidget *  | 
          parent | ) | 
           | 
         
       
   | 
  
overrideprivatevirtual   | 
  
 
Open settgins dialog. 
- Parameters
 - 
  
    | parent | the parent windows of the dialog of return  | 
  
   
- Returns
 - QDialog*: then QDialog must be allocated in heap memory, the ownership is caller.
 
- See also
 - OpenDialogSettings 
 
Implements COperate.
Definition at line 144 of file OperateWakeOnLan.cpp.
 
 
◆ Save()
  
  
      
        
          | int COperateWakeOnLan::Save  | 
          ( | 
          QSettings &  | 
          set | ) | 
           | 
         
       
   | 
  
overrideprotectedvirtual   | 
  
 
 
◆ SetGlobalParameters()
◆ slotAdd
  
  
      
        
          | void COperateWakeOnLan::slotAdd  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
privateslot   | 
  
 
 
◆ Start
  
  
      
        
          | int COperateWakeOnLan::Start  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtualslot   | 
  
 
 
◆ Stop
  
  
      
        
          | int COperateWakeOnLan::Stop  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtualslot   | 
  
 
 
◆ Version()
  
  
      
        
          | const qint16 COperateWakeOnLan::Version  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ m_Arp
  
  
      
        
          | CArp COperateWakeOnLan::m_Arp | 
         
       
   | 
  
private   | 
  
 
 
◆ m_pModel
◆ m_pParameterPlugin
◆ m_pView
The documentation for this class was generated from the following files:
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Plugins/WakeOnLan/OperateWakeOnLan.h
 
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Plugins/WakeOnLan/OperateWakeOnLan.cpp