Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
CConnecterPluginTerminal Class Reference
Inheritance diagram for CConnecterPluginTerminal:
CConnecterTerminal CConnecter

Public Member Functions

 CConnecterPluginTerminal (CPluginClient *parent)
 
- Public Member Functions inherited from CConnecterTerminal
 CConnecterTerminal (CPluginClient *parent)
 
QWidget * GetViewer () override
 Get Viewer.
 
virtual qint16 Version () override
 Version.
 
virtual int Load (QSettings &set) override
 Load parameters.
 
virtual int Save (QSettings &set) override
 Save parameters.
 
virtual CConnectInstanceConnect ()
 
- Public Member Functions inherited from CConnecter
 CConnecter (CPluginClient *plugin)
 
virtual const QString Id ()
 Identity.
 
virtual const QString Name ()
 Name.
 
virtual const QString Description ()
 Description.
 
virtual const QString Protocol () const
 Protocol.
 
virtual const QIcon Icon () const
 Icon.
 
virtual int OpenDialogSettings (QWidget *parent=nullptr)
 Open settings dialog.
 
virtual QMenu * GetMenu (QWidget *parent=nullptr)
 Get operate menu.
 

Protected Member Functions

virtual QDialog * GetDialogSettings (QWidget *parent) override
 
virtual int OnConnect () override
 OnConnect.
 
virtual int OnDisConnect () override
 
- Protected Member Functions inherited from CConnecterTerminal
virtual QString ServerName () override
 
virtual int SetParameter ()
 
virtual CParameterTerminalGetParameter ()
 
- Protected Member Functions inherited from CConnecter
virtual int SetParameter (CParameter *p)
 Set parameters.
 
CParameterGetParameter ()
 
Q_INVOKABLE CPluginClientGetPlugClient () const
 
virtual Q_INVOKABLE int Load (QString szFile=QString())
 Load parameters from file.
 
virtual Q_INVOKABLE int Save (QString szFile=QString())
 Save parameters to file.
 

Additional Inherited Members

- Public Slots inherited from CConnecterTerminal
virtual int Connect () override
 
virtual int DisConnect () override
 
- Public Slots inherited from CConnecter
virtual int Connect ()=0
 Start connect.
 
virtual int DisConnect ()=0
 Close connect.
 
- Signals inherited from CConnecter
void sigConnected ()
 Successful connection signal.
 
void sigDisconnect ()
 Notify the user to disconnect.
 
void sigDisconnected ()
 Successful disconnection signal.
 
void sigUpdateName (const QString &szName)
 
void sigUpdateParameters (CConnecter *pConnecter)
 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 Protected Member Functions inherited from CConnecter
static QObject * createObject (const QString &className, QObject *parent=NULL)
 
- Protected Attributes inherited from CConnecterTerminal
CFrmTermWidgetm_pConsole
 
CConnectThreadTerminalm_pThread
 
bool m_bThread
 
bool m_bExit
 
CParameterTerminalm_pPara
 
- Protected Attributes inherited from CConnecter
QMenu m_Menu
 
QAction * m_pSettings
 

Detailed Description

Definition at line 6 of file ConnecterPluginTerminal.h.

Constructor & Destructor Documentation

◆ CConnecterPluginTerminal()

CConnecterPluginTerminal::CConnecterPluginTerminal ( CPluginClient parent)
explicit

Definition at line 4 of file ConnecterPluginTerminal.cpp.

◆ ~CConnecterPluginTerminal()

CConnecterPluginTerminal::~CConnecterPluginTerminal ( )
overridevirtual

Definition at line 10 of file ConnecterPluginTerminal.cpp.

Member Function Documentation

◆ GetDialogSettings()

QDialog * CConnecterPluginTerminal::GetDialogSettings ( QWidget *  parent)
overrideprotectedvirtual

Definition at line 19 of file ConnecterPluginTerminal.cpp.

◆ OnConnect()

int CConnecterPluginTerminal::OnConnect ( )
overrideprotectedvirtual

OnConnect.

Returns
0: emit sigConnected() <0: emit sigDisconnected(); >0: don't things

Reimplemented from CConnecterTerminal.

Definition at line 24 of file ConnecterPluginTerminal.cpp.

◆ OnDisConnect()

int CConnecterPluginTerminal::OnDisConnect ( )
overrideprotectedvirtual

Reimplemented from CConnecterTerminal.

Definition at line 32 of file ConnecterPluginTerminal.cpp.


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