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

Public Slots

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.
 

Public Member Functions

 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 QString ServerName () override
 
virtual int SetParameter ()
 
virtual int OnConnect ()
 OnConnect.
 
virtual int OnDisConnect ()
 
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.
 

Protected Attributes

CFrmTermWidgetm_pConsole
 
CConnectThreadTerminalm_pThread
 
bool m_bThread
 
bool m_bExit
 
CParameterTerminalm_pPara
 
- Protected Attributes inherited from CConnecter
QMenu m_Menu
 
QAction * m_pSettings
 

Private Slots

void slotTerminalTitleChanged ()
 
void slotZoomReset ()
 

Additional Inherited Members

- 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)
 

Detailed Description

Definition at line 12 of file ConnecterTerminal.h.

Constructor & Destructor Documentation

◆ CConnecterTerminal()

CConnecterTerminal::CConnecterTerminal ( CPluginClient parent)
explicit

Definition at line 19 of file ConnecterTerminal.cpp.

◆ ~CConnecterTerminal()

CConnecterTerminal::~CConnecterTerminal ( )
overridevirtual

Definition at line 42 of file ConnecterTerminal.cpp.

Member Function Documentation

◆ Connect

int CConnecterTerminal::Connect ( )
overridevirtualslot

Definition at line 84 of file ConnecterTerminal.cpp.

◆ DisConnect

int CConnecterTerminal::DisConnect ( )
overridevirtualslot

Definition at line 113 of file ConnecterTerminal.cpp.

◆ GetParameter()

CParameterTerminal * CConnecterTerminal::GetParameter ( )
protectedvirtual

Definition at line 201 of file ConnecterTerminal.cpp.

◆ GetViewer()

QWidget * CConnecterTerminal::GetViewer ( )
overridevirtual

Get Viewer.

Returns
QWidget*: the ownership is a instance of this class or its derivative class
See also
sigConnected CFrmViewer::CFrmViewer

Implements CConnecter.

Definition at line 53 of file ConnecterTerminal.cpp.

◆ InstanceConnect()

CConnect * CConnecterTerminal::InstanceConnect ( )
virtual

Definition at line 196 of file ConnecterTerminal.cpp.

◆ Load()

int CConnecterTerminal::Load ( QSettings &  set)
overridevirtual

Load parameters.

Reimplemented from CConnecter.

Definition at line 63 of file ConnecterTerminal.cpp.

◆ OnConnect()

int CConnecterTerminal::OnConnect ( )
protectedvirtual

OnConnect.

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

Reimplemented in CConnecterTelnet, and CConnecterPluginTerminal.

Definition at line 173 of file ConnecterTerminal.cpp.

◆ OnDisConnect()

int CConnecterTerminal::OnDisConnect ( )
protectedvirtual

Definition at line 178 of file ConnecterTerminal.cpp.

◆ Save()

int CConnecterTerminal::Save ( QSettings &  set)
overridevirtual

Save parameters.

Reimplemented from CConnecter.

Definition at line 73 of file ConnecterTerminal.cpp.

◆ ServerName()

QString CConnecterTerminal::ServerName ( )
overrideprotectedvirtual

Definition at line 183 of file ConnecterTerminal.cpp.

◆ SetParameter()

int CConnecterTerminal::SetParameter ( )
protectedvirtual

Definition at line 126 of file ConnecterTerminal.cpp.

◆ slotTerminalTitleChanged

void CConnecterTerminal::slotTerminalTitleChanged ( )
privateslot

Definition at line 159 of file ConnecterTerminal.cpp.

◆ slotZoomReset

void CConnecterTerminal::slotZoomReset ( )
privateslot

Definition at line 165 of file ConnecterTerminal.cpp.

◆ Version()

qint16 CConnecterTerminal::Version ( )
overridevirtual

Version.

Implements CConnecter.

Definition at line 58 of file ConnecterTerminal.cpp.

Member Data Documentation

◆ m_bExit

bool CConnecterTerminal::m_bExit
protected

Definition at line 53 of file ConnecterTerminal.h.

◆ m_bThread

bool CConnecterTerminal::m_bThread
protected

Definition at line 52 of file ConnecterTerminal.h.

◆ m_pConsole

CFrmTermWidget* CConnecterTerminal::m_pConsole
protected

Definition at line 50 of file ConnecterTerminal.h.

◆ m_pPara

CParameterTerminal* CConnecterTerminal::m_pPara
protected

Definition at line 54 of file ConnecterTerminal.h.

◆ m_pThread

CConnectThreadTerminal* CConnecterTerminal::m_pThread
protected

Definition at line 51 of file ConnecterTerminal.h.


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