25 static rfbBool cb_resize(rfbClient* client);
26 static void cb_update (rfbClient *client,
int x,
int y,
int w,
int h);
27 static void cb_kbd_leds(rfbClient* client,
int value,
int pad);
28 static void cb_bell(
struct _rfbClient* client);
29 static void cb_text_chat(rfbClient* client,
int value,
char *text);
30 static void cb_got_selection(rfbClient *client,
const char *text,
int len);
31 static rfbCredential* cb_get_credential(rfbClient* cl,
int credentialType);
32 static char* cb_get_password(rfbClient* client);
33 static rfbBool cb_cursor_pos(rfbClient* client,
int x,
int y);
34 static void cb_got_cursor_shape(rfbClient* client,
int xhot,
int yhot,
int width,
int height,
int bytesPerPixel);
37 virtual void slotClipBoardChanged()
override;
38 virtual void mousePressEvent(QMouseEvent* event)
override;
39 virtual void mouseReleaseEvent(QMouseEvent* event)
override;
40 virtual void mouseMoveEvent(QMouseEvent* event)
override;
41 virtual void wheelEvent(QWheelEvent* event)
override;
42 virtual void keyPressEvent(QKeyEvent *event)
override;
43 virtual void keyReleaseEvent(QKeyEvent *event)
override;
46#if defined(HAVE_UNIX_DOMAIN_SOCKET) && defined(Q_OS_UNIX)
51 virtual OnInitReturnValue
OnInit()
override;
54 virtual int WakeUp()
override;
64 QTcpSocket m_tcpSocket;
66 QTcpSocket* m_pConnect;