Rabbit Remote Control 0.0.30
|
Remote desktop connect interface. More...
#include <ConnectDesktop.h>
Public Slots | |
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. | |
Signals | |
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. | |
Public Member Functions | |
CConnectDesktop (CConnecter *pConnecter, bool bDirectConnection=true) | |
virtual bool | event (QEvent *event) override |
Public Member Functions inherited from CConnect | |
CConnect (CConnecter *pConnecter) | |
Protected Member Functions | |
virtual int | WakeUp () |
Wake up Connect thread(background thread) | |
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) |
Protected Member Functions inherited from CConnect | |
virtual OnInitReturnValue | OnInit ()=0 |
Specific plug-in realizes connection initialization. | |
virtual int | OnClean ()=0 |
Clean. | |
virtual int | OnProcess () |
Specific operation processing of plug-in connection. | |
Private Member Functions | |
int | SetConnecter (CConnecter *pConnecter) |
int | SetViewer (CFrmViewer *pView, bool bDirectConnection) |
Additional Inherited Members | |
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. | |
Remote desktop connect interface.
It is implemented by the Protocol plugin.
Definition at line 41 of file ConnectDesktop.h.
|
explicit |
pConnecter | |
bDirectConnection |
|
Definition at line 38 of file ConnectDesktop.cpp.
|
overridevirtual |
Definition at line 107 of file ConnectDesktop.cpp.
|
overridevirtual |
Definition at line 335 of file ConnectDesktop.cpp.
|
protectedvirtual |
Definition at line 320 of file ConnectDesktop.cpp.
|
protectedvirtual |
Definition at line 325 of file ConnectDesktop.cpp.
|
protectedvirtual |
Definition at line 300 of file ConnectDesktop.cpp.
|
protectedvirtual |
Definition at line 305 of file ConnectDesktop.cpp.
|
protectedvirtual |
Definition at line 310 of file ConnectDesktop.cpp.
|
private |
Definition at line 112 of file ConnectDesktop.cpp.
|
private |
Definition at line 149 of file ConnectDesktop.cpp.
|
signal |
Notify the CFrmView update image.
image |
|
signal |
Notify the CFrmView update image.
r | update rectangle |
image | An image that contains an update rectangle |
|
virtualslot |
Definition at line 284 of file ConnectDesktop.cpp.
|
virtualslot |
Definition at line 292 of file ConnectDesktop.cpp.
|
virtualslot |
Definition at line 260 of file ConnectDesktop.cpp.
|
virtualslot |
Definition at line 268 of file ConnectDesktop.cpp.
|
virtualslot |
Definition at line 276 of file ConnectDesktop.cpp.
|
virtualslot |
Definition at line 245 of file ConnectDesktop.cpp.
|
protectedvirtual |
Wake up Connect thread(background thread)
Reimplemented in CConnectFreeRDP, CConnectLibVNCServer, and CConnectVnc.
Definition at line 330 of file ConnectDesktop.cpp.
|
protectedvirtual |
Definition at line 315 of file ConnectDesktop.cpp.