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

Public Slots

virtual void slotScreenShot () override
 
- 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

void sigStart (bool bStart)
 
void sigPause (bool bPause)
 
void sigChangePosition (qint64 pos)
 
void sigScreenShot ()
 
- 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 ()
 

Public Member Functions

 CConnecterPlayer (CPluginClient *plugin)
 
virtual qint16 Version () override
 Version.
 
virtual CConnectInstanceConnect () override
 New connect.
 
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.
 

Private Member Functions

virtual QDialog * OnOpenDialogSettings (QWidget *parent) override
 Open settgins dialog.
 

Private Attributes

CParameterPlayer m_Parameters
 
QAction * m_pPause
 

Additional Inherited Members

- 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.
 
- 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 18 of file ConnecterPlayer.h.

Constructor & Destructor Documentation

◆ ~CConnecterPlayer()

CConnecterPlayer::~CConnecterPlayer ( )
virtual

Definition at line 17 of file ConnecterPlayer.cpp.

Member Function Documentation

◆ Clean()

int CConnecterPlayer::Clean ( )
overridevirtual

Clean parameters and resource.

See also
CClient::DeleteConnecter

Reimplemented from CConnecterThread.

Definition at line 136 of file ConnecterPlayer.cpp.

◆ Initial()

int CConnecterPlayer::Initial ( )
overridevirtual

Initial parameters and resource.

See also
CClient::CreateConnecter

Reimplemented from CConnecterThread.

Definition at line 27 of file ConnecterPlayer.cpp.

◆ InstanceConnect()

CConnect * CConnecterPlayer::InstanceConnect ( )
overridevirtual

New connect.

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

Implements CConnecterConnect.

Definition at line 150 of file ConnecterPlayer.cpp.

◆ OnOpenDialogSettings()

QDialog * CConnecterPlayer::OnOpenDialogSettings ( QWidget *  parent)
overrideprivatevirtual

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 144 of file ConnecterPlayer.cpp.

◆ slotScreenShot

void CConnecterPlayer::slotScreenShot ( )
overridevirtualslot

Definition at line 156 of file ConnecterPlayer.cpp.

◆ Version()

qint16 CConnecterPlayer::Version ( )
overridevirtual

Version.

Implements CConnecter.

Definition at line 22 of file ConnecterPlayer.cpp.

Member Data Documentation

◆ m_Parameters

CParameterPlayer CConnecterPlayer::m_Parameters
private

Definition at line 48 of file ConnecterPlayer.h.

◆ m_pPause

QAction* CConnecterPlayer::m_pPause
private

Definition at line 62 of file ConnecterPlayer.h.


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