Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Public Slots | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
CConnectLibVNCServer Class Reference
Inheritance diagram for CConnectLibVNCServer:
CConnectDesktop CConnect

Public Slots

virtual void slotClipBoardChanged () override
 
virtual void mousePressEvent (QMouseEvent *event) override
 
virtual void mouseReleaseEvent (QMouseEvent *event) override
 
virtual void mouseMoveEvent (QMouseEvent *event) override
 
virtual void wheelEvent (QWheelEvent *event) override
 
virtual void keyPressEvent (QKeyEvent *event) override
 
virtual void keyReleaseEvent (QKeyEvent *event) override
 
void slotConnectProxyServer (QString szHost, quint16 nPort)
 [connect local socket server]
 
- Public Slots inherited from CConnectDesktop
virtual void slotClipBoardChanged ()=0
 Be called when the clip board change.
 
virtual void slotMousePressEvent (QMouseEvent *event, QPoint pos)
 
virtual void slotMouseReleaseEvent (QMouseEvent *event, QPoint pos)
 
virtual void slotMouseMoveEvent (QMouseEvent *event, QPoint pos)
 
virtual void slotWheelEvent (QWheelEvent *event, QPoint pos)
 
virtual void slotKeyPressEvent (QKeyEvent *event)
 
virtual void slotKeyReleaseEvent (QKeyEvent *event)
 
- Public Slots inherited from CConnect
virtual int Connect ()
 Start connect.
 
virtual int Disconnect ()
 Disconnect.
 

Public Member Functions

 CConnectLibVNCServer (CConnecterLibVNCServer *pConnecter)
 
- Public Member Functions inherited from CConnectDesktop
 CConnectDesktop (CConnecter *pConnecter, bool bDirectConnection=true)
 
virtual bool event (QEvent *event) override
 
- Public Member Functions inherited from CConnect
 CConnect (CConnecter *pConnecter)
 

Static Public Member Functions

static rfbBool cb_resize (rfbClient *client)
 
static void cb_update (rfbClient *client, int x, int y, int w, int h)
 
static void cb_kbd_leds (rfbClient *client, int value, int pad)
 
static void cb_bell (struct _rfbClient *client)
 
static void cb_text_chat (rfbClient *client, int value, char *text)
 
static void cb_got_selection (rfbClient *client, const char *text, int len)
 
static rfbCredential * cb_get_credential (rfbClient *cl, int credentialType)
 
static char * cb_get_password (rfbClient *client)
 
static rfbBool cb_cursor_pos (rfbClient *client, int x, int y)
 
static void cb_got_cursor_shape (rfbClient *client, int xhot, int yhot, int width, int height, int bytesPerPixel)
 

Private Member Functions

virtual OnInitReturnValue OnInit () override
 Specific plug-in realizes connection initialization.
 
virtual int OnClean () override
 Clean.
 
virtual int OnProcess () override
 Specific operation processing of plug-in connection.
 
virtual int WakeUp () override
 Wake up Connect thread(background thread)
 
int OnSize ()
 

Private Attributes

rfbClient * m_pClient
 
QImage m_Image
 
CParameterLibVNCServerm_pParameter
 
QTcpSocket m_tcpSocket
 
QTcpServer m_Server
 
QTcpSocket * m_pConnect
 
Channel::CEvent m_Event
 

Additional Inherited Members

- Signals inherited from CConnectDesktop
void sigSetDesktopSize (int width, int height)
 
void sigServerName (const QString &szName)
 
void sigUpdateRect (const QRect &r, const QImage &image)
 Notify the CFrmView update image.
 
void sigUpdateRect (const QImage &image)
 Notify the CFrmView update image.
 
void sigUpdateCursor (const QCursor &cursor)
 
void sigUpdateCursorPosition (const QPoint &pos)
 
void sigUpdateLedState (unsigned int state)
 
void sigSetClipboard (QMimeData *data)
 
- Signals inherited from CConnect
void sigConnected ()
 Emitted when the plugin is successfully connected.
 
void sigDisconnect ()
 Notify the user to call disconnect.
 
void sigDisconnected ()
 Successful disconnection signal.
 
void sigError (const int nError, const QString &szError=QString())
 Triggered when an error is generated.
 
void sigInformation (const QString &szInfo)
 Triggering from a background thread displays information in the main thread without blocking the background thread.
 
void sigShowMessageBox (const QString &szTitle, const QString &szMessage, 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 sigBlockShowMessageBox (const QString &szTitle, const QString &szMessage, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton &nRet, bool &checkBox, QString checkBoxContext=QString())
 Block background threads and display message dialogs in foreground threads (QMessageBox)
 
void sigBlockInputDialog (const QString &szTitle, const QString &szLable, const QString &szMessage, QString &szText)
 Block background threads and display input dialogs in foreground threads (QInputDialog)
 
void sigBlockShowWidget (const QString &className, int &nRet, void *pContext)
 Blocks the background thread and displays the window in the foreground thread.
 
- Protected Types inherited from CConnect
enum class  OnInitReturnValue { Fail = -1 , Success = 0 , UseOnProcess = Success , NotUseOnProcess = 1 }
 
- Protected Slots inherited from CConnect
virtual void slotTimeOut ()
 a non-Qt event loop (that is, normal loop processing), It call OnProcess(), and start timer.
 
- Protected Member Functions inherited from CConnectDesktop
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void wheelEvent (QWheelEvent *event)
 
virtual void keyPressEvent (QKeyEvent *event)
 
virtual void keyReleaseEvent (QKeyEvent *event)
 

Detailed Description

Definition at line 17 of file ConnectLibVNCServer.h.

Constructor & Destructor Documentation

◆ CConnectLibVNCServer()

CConnectLibVNCServer::CConnectLibVNCServer ( CConnecterLibVNCServer pConnecter)
explicit

Definition at line 43 of file ConnectLibVNCServer.cpp.

◆ ~CConnectLibVNCServer()

CConnectLibVNCServer::~CConnectLibVNCServer ( )
overridevirtual

Definition at line 59 of file ConnectLibVNCServer.cpp.

Member Function Documentation

◆ cb_bell()

void CConnectLibVNCServer::cb_bell ( struct _rfbClient *  client)
static

Definition at line 425 of file ConnectLibVNCServer.cpp.

◆ cb_cursor_pos()

rfbBool CConnectLibVNCServer::cb_cursor_pos ( rfbClient *  client,
int  x,
int  y 
)
static

Definition at line 505 of file ConnectLibVNCServer.cpp.

◆ cb_get_credential()

rfbCredential * CConnectLibVNCServer::cb_get_credential ( rfbClient *  cl,
int  credentialType 
)
static

Definition at line 435 of file ConnectLibVNCServer.cpp.

◆ cb_get_password()

char * CConnectLibVNCServer::cb_get_password ( rfbClient *  client)
static

Definition at line 462 of file ConnectLibVNCServer.cpp.

◆ cb_got_cursor_shape()

void CConnectLibVNCServer::cb_got_cursor_shape ( rfbClient *  client,
int  xhot,
int  yhot,
int  width,
int  height,
int  bytesPerPixel 
)
static

Definition at line 513 of file ConnectLibVNCServer.cpp.

◆ cb_got_selection()

void CConnectLibVNCServer::cb_got_selection ( rfbClient *  client,
const char *  text,
int  len 
)
static

Definition at line 410 of file ConnectLibVNCServer.cpp.

◆ cb_kbd_leds()

void CConnectLibVNCServer::cb_kbd_leds ( rfbClient *  client,
int  value,
int  pad 
)
static

Definition at line 420 of file ConnectLibVNCServer.cpp.

◆ cb_resize()

rfbBool CConnectLibVNCServer::cb_resize ( rfbClient *  client)
static

Definition at line 391 of file ConnectLibVNCServer.cpp.

◆ cb_text_chat()

void CConnectLibVNCServer::cb_text_chat ( rfbClient *  client,
int  value,
char *  text 
)
static

Definition at line 430 of file ConnectLibVNCServer.cpp.

◆ cb_update()

void CConnectLibVNCServer::cb_update ( rfbClient *  client,
int  x,
int  y,
int  w,
int  h 
)
static

Definition at line 399 of file ConnectLibVNCServer.cpp.

◆ keyPressEvent

void CConnectLibVNCServer::keyPressEvent ( QKeyEvent *  event)
overridevirtualslot

Definition at line 909 of file ConnectLibVNCServer.cpp.

◆ keyReleaseEvent

void CConnectLibVNCServer::keyReleaseEvent ( QKeyEvent *  event)
overridevirtualslot

Definition at line 920 of file ConnectLibVNCServer.cpp.

◆ mouseMoveEvent

void CConnectLibVNCServer::mouseMoveEvent ( QMouseEvent *  event)
overridevirtualslot

Definition at line 597 of file ConnectLibVNCServer.cpp.

◆ mousePressEvent

void CConnectLibVNCServer::mousePressEvent ( QMouseEvent *  event)
overridevirtualslot

Definition at line 571 of file ConnectLibVNCServer.cpp.

◆ mouseReleaseEvent

void CConnectLibVNCServer::mouseReleaseEvent ( QMouseEvent *  event)
overridevirtualslot

Definition at line 588 of file ConnectLibVNCServer.cpp.

◆ OnClean()

int CConnectLibVNCServer::OnClean ( )
overrideprivatevirtual

Clean.

See also
Disconnect()

Implements CConnect.

Definition at line 284 of file ConnectLibVNCServer.cpp.

◆ OnInit()

CConnect::OnInitReturnValue CConnectLibVNCServer::OnInit ( )
overrideprivatevirtual

Specific plug-in realizes connection initialization.

Returns
See also
Connect()

[Use SSH Tunnel]

[Use SSH Tunnel]

Implements CConnect.

Definition at line 70 of file ConnectLibVNCServer.cpp.

◆ OnProcess()

int CConnectLibVNCServer::OnProcess ( )
overrideprivatevirtual

Specific operation processing of plug-in connection.

Because of it is a non-Qt event loop, so wait in here.

Returns
  • >= 0: continue, Interval call time (msec)
  • = -1: stop
  • < -1: error
See also
CConnect::Connect() CConnect::slotTimeOut()

Reimplemented from CConnect.

Definition at line 315 of file ConnectLibVNCServer.cpp.

◆ OnSize()

int CConnectLibVNCServer::OnSize ( )
private

Definition at line 481 of file ConnectLibVNCServer.cpp.

◆ slotClipBoardChanged

void CConnectLibVNCServer::slotClipBoardChanged ( )
overridevirtualslot

Definition at line 377 of file ConnectLibVNCServer.cpp.

◆ slotConnectProxyServer

void CConnectLibVNCServer::slotConnectProxyServer ( QString  szHost,
quint16  nPort 
)
slot

[connect local socket server]

Definition at line 932 of file ConnectLibVNCServer.cpp.

◆ WakeUp()

int CConnectLibVNCServer::WakeUp ( )
overrideprivatevirtual

Wake up Connect thread(background thread)

Reimplemented from CConnectDesktop.

Definition at line 372 of file ConnectLibVNCServer.cpp.

◆ wheelEvent

void CConnectLibVNCServer::wheelEvent ( QWheelEvent *  event)
overridevirtualslot

Definition at line 613 of file ConnectLibVNCServer.cpp.

Member Data Documentation

◆ m_Event

Channel::CEvent CConnectLibVNCServer::m_Event
private

Definition at line 68 of file ConnectLibVNCServer.h.

◆ m_Image

QImage CConnectLibVNCServer::m_Image
private

Definition at line 60 of file ConnectLibVNCServer.h.

◆ m_pClient

rfbClient* CConnectLibVNCServer::m_pClient
private

Definition at line 59 of file ConnectLibVNCServer.h.

◆ m_pConnect

QTcpSocket* CConnectLibVNCServer::m_pConnect
private

Definition at line 66 of file ConnectLibVNCServer.h.

◆ m_pParameter

CParameterLibVNCServer* CConnectLibVNCServer::m_pParameter
private

Definition at line 63 of file ConnectLibVNCServer.h.

◆ m_Server

QTcpServer CConnectLibVNCServer::m_Server
private

Definition at line 65 of file ConnectLibVNCServer.h.

◆ m_tcpSocket

QTcpSocket CConnectLibVNCServer::m_tcpSocket
private

Definition at line 64 of file ConnectLibVNCServer.h.


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