File transfer operate interface.  
 More...
#include <OperateFileTransfer.h>
 | 
| virtual int  | SetGlobalParameters (CParameterPlugin *pPara) override | 
|   | Apply the global parameters of the plug-in.  
  | 
|   | 
| virtual int  | Load (QSettings &set) override | 
|   | Load parameters.  
  | 
|   | 
| virtual int  | Save (QSettings &set) override | 
|   | Save parameters.  
  | 
|   | 
| virtual int  | Initial () override | 
|   | Initial parameters and resource.  
  | 
|   | 
| virtual int  | Clean () override | 
|   | Clean parameters and resource.  
  | 
|   | 
| 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.  
  | 
|   | 
 | 
| enum class   | SecurityLevel {  
  No
, Secure
, NonSecureAuthentication
, SecureChannel
,  
  Normal = SecureChannel
, SecureAuthentication
, Risky
 
 } | 
|   | 
| 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 () | 
|   | 
| static QString  | GetSecurityLevelString (SecurityLevel level) | 
|   | 
| static QColor  | GetSecurityLevelColor (SecurityLevel level) | 
|   | 
| void  | slotUpdateName () | 
|   | 
| static QObject *  | createObject (const QString &className, QObject *parent=NULL) | 
|   | 
| QMenu  | m_Menu | 
|   | 
| QAction *  | m_pActionSettings | 
|   | 
File transfer operate interface. 
Definition at line 13 of file OperateFileTransfer.h.
 
◆ ~COperateFileTransfer()
  
  
      
        
          | COperateFileTransfer::~COperateFileTransfer  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ Clean()
  
  
      
        
          | int COperateFileTransfer::Clean  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overrideprotectedvirtual   | 
  
 
 
◆ Description()
  
  
      
        
          | const QString COperateFileTransfer::Description  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ GetParameter()
◆ GetViewer()
  
  
      
        
          | QWidget * COperateFileTransfer::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 50 of file OperateFileTransfer.cpp.
 
 
◆ Id()
  
  
      
        
          | const QString COperateFileTransfer::Id  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ Initial()
  
  
      
        
          | int COperateFileTransfer::Initial  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overrideprotectedvirtual   | 
  
 
 
◆ InstanceBackend()
  
  
      
        
          | CBackend * COperateFileTransfer::InstanceBackend  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ Load()
  
  
      
        
          | int COperateFileTransfer::Load  | 
          ( | 
          QSettings &  | 
          set | ) | 
           | 
         
       
   | 
  
overrideprotectedvirtual   | 
  
 
 
◆ Name()
  
  
      
        
          | const QString COperateFileTransfer::Name  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ OnOpenDialogSettings()
  
  
      
        
          | QDialog * COperateFileTransfer::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 117 of file OperateFileTransfer.cpp.
 
 
◆ Protocol()
  
  
      
        
          | const QString COperateFileTransfer::Protocol  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ Save()
  
  
      
        
          | int COperateFileTransfer::Save  | 
          ( | 
          QSettings &  | 
          set | ) | 
           | 
         
       
   | 
  
overrideprotectedvirtual   | 
  
 
 
◆ SetGlobalParameters()
◆ slotCopyUrlToClipboard
  
  
      
        
          | void COperateFileTransfer::slotCopyUrlToClipboard  | 
          ( | 
          const QString &  | 
          szPath | ) | 
           | 
         
       
   | 
  
privateslot   | 
  
 
 
◆ Start()
  
  
      
        
          | int COperateFileTransfer::Start  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ Stop()
  
  
      
        
          | int COperateFileTransfer::Stop  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ Version()
  
  
      
        
          | const qint16 COperateFileTransfer::Version  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ m_frmFileTransfer
◆ m_Parameter
◆ m_pThread
The documentation for this class was generated from the following files: