Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
CConnecterLibVNCServer Class Reference
Inheritance diagram for CConnecterLibVNCServer:
CConnecterThread CConnecterConnect CConnecter

Public Member Functions

 CConnecterLibVNCServer (CPluginClient *plugin)
 
virtual qint16 Version () override
 Version.
 
virtual int Initial () override
 Initial parameters and resource.
 
virtual int Clean () override
 Clean parameters and resource.
 
- Public Member Functions inherited from CConnecterThread
 CConnecterThread (CPluginClient *plugin)
 
virtual QWidget * GetViewer () override
 Get Viewer.
 
- Public Member Functions inherited from CConnecterConnect
 CConnecterConnect (CPluginClient *plugin)
 
virtual const QString Id () override
 Identity.
 
virtual const QString Name () override
 Display order:
 
virtual const QString Description () override
 Description.
 
virtual CParameterBaseGetParameter ()
 Get parameter.
 
virtual int SetParameter (CParameterBase *p)
 
- Public Member Functions inherited from CConnecter
 CConnecter (CPluginClient *plugin)
 
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 * OnOpenDialogSettings (QWidget *parent) override
 Open settgins dialog.
 
virtual CConnectInstanceConnect () override
 New connect.
 
- Protected Member Functions inherited from CConnecterThread
virtual QString ServerName () override
 Current connect server name (remote desktop name, if not present, then IP:PORT).
 
- 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.
 

Private Attributes

CParameterLibVNCServer m_Para
 

Additional Inherited Members

- Public Slots inherited from CConnecterThread
virtual int Connect () override
 Start a background thread, and create an instance of CConnect .
 
virtual int DisConnect () override
 emit sigConnected() in CConnectThread::run()
 
virtual void slotScreenShot ()
 
- Public Slots inherited from CConnecterConnect
virtual int Connect () override
 
virtual int DisConnect () override
 emit sigDisconnected() in here
 
- Public Slots inherited from CConnecter
virtual int Connect ()=0
 Start connect.
 
virtual int DisConnect ()=0
 Close connect.
 
- Signals inherited from CConnecterConnect
void sigOpenConnect (CConnecterConnect *)
 
void sigCloseconnect (CConnecterConnect *)
 
- 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 CConnecterThread
QAction * m_pMenuZoom
 
QAction * m_pZoomToWindow
 
QAction * m_pZoomAspectRatio
 
QAction * m_pZoomOriginal
 
QAction * m_pZoomIn
 
QAction * m_pZoomOut
 
QSpinBox * m_psbZoomFactor
 
QAction * m_pScreenShot
 
- Protected Attributes inherited from CConnecter
QMenu m_Menu
 
QAction * m_pSettings
 

Detailed Description

Definition at line 11 of file ConnecterLibVNCServer.h.

Constructor & Destructor Documentation

◆ ~CConnecterLibVNCServer()

CConnecterLibVNCServer::~CConnecterLibVNCServer ( )
overridevirtual

Definition at line 14 of file ConnecterLibVNCServer.cpp.

Member Function Documentation

◆ Clean()

int CConnecterLibVNCServer::Clean ( )
overridevirtual

Clean parameters and resource.

See also
CClient::DeleteConnecter

Reimplemented from CConnecterThread.

Definition at line 34 of file ConnecterLibVNCServer.cpp.

◆ Initial()

int CConnecterLibVNCServer::Initial ( )
overridevirtual

Initial parameters and resource.

See also
CClient::CreateConnecter

Reimplemented from CConnecterThread.

Definition at line 24 of file ConnecterLibVNCServer.cpp.

◆ InstanceConnect()

CConnect * CConnecterLibVNCServer::InstanceConnect ( )
overrideprotectedvirtual

New connect.

the ownership is caller. if don't use, the caller must delete it.

Implements CConnecterConnect.

Definition at line 47 of file ConnecterLibVNCServer.cpp.

◆ OnOpenDialogSettings()

QDialog * CConnecterLibVNCServer::OnOpenDialogSettings ( QWidget *  parent)
overrideprotectedvirtual

Open settgins dialog.

Parameters
parentthe parent windows of the dialog of return
Returns
QDialog*: then QDialog must set attribute Qt::WA_DeleteOnClose; The ownership is caller.
See also
OpenDialogSettings

Implements CConnecter.

Definition at line 42 of file ConnecterLibVNCServer.cpp.

◆ Version()

qint16 CConnecterLibVNCServer::Version ( )
overridevirtual

Version.

Implements CConnecter.

Definition at line 19 of file ConnecterLibVNCServer.cpp.

Member Data Documentation

◆ m_Para

CParameterLibVNCServer CConnecterLibVNCServer::m_Para
private

Definition at line 28 of file ConnecterLibVNCServer.h.


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