25 public rfb::CConnection
34 virtual void slotConnected();
35 virtual void slotDisConnected();
36 virtual void slotReadyRead();
37 virtual void slotClipBoardChanged()
override;
39 void slotChannelError(
int nErr,
const QString &szErr);
43 virtual void initDone()
override;
44 virtual void authSuccess()
override;
45 virtual void resizeFramebuffer()
override;
47 virtual void getUserPasswd(
bool secure, std::string* user, std::string* password)
override;
48 virtual int getX509File(std::string *ca, std::string *crl)
override;
49 virtual bool showMsgBox(rfb::MsgBoxFlags flags,
const char* title,
const char* text)
override;
53 virtual void setName(
const char *name)
override;
54 virtual void framebufferUpdateStart()
override;
55 virtual void framebufferUpdateEnd()
override;
56 virtual void setColourMapEntries(
int firstColour,
int nColours, uint16_t* rgbs)
override;
57 virtual void bell()
override;
58 virtual void setLEDState(
unsigned int state)
override;
59 virtual void setCursor(
int width,
int height,
const rfb::Point& hotspot,
60 const uint8_t* data)
override;
61 virtual void setCursorPos(
const rfb::Point &pos)
override;
62 virtual void fence(uint32_t flags,
unsigned int len,
const uint8_t data[])
override;
64 virtual void handleClipboardRequest()
override;
65 virtual void handleClipboardAnnounce(
bool available)
override;
66 virtual void handleClipboardData(
const char *data)
override;
69 virtual void mousePressEvent(QMouseEvent *event)
override;
70 virtual void mouseReleaseEvent(QMouseEvent *event)
override;
71 virtual void mouseMoveEvent(QMouseEvent *event)
override;
72 virtual void wheelEvent(QWheelEvent *event)
override;
73 virtual void keyPressEvent(QKeyEvent *event)
override;
74 virtual void keyReleaseEvent(QKeyEvent *event)
override;
79 virtual OnInitReturnValue
OnInit()
override;
83 virtual int WakeUp()
override;
86 QSharedPointer<CChannel> m_DataChannel;
87 QSharedPointer<rdr::InStream> m_InStream;
88 QSharedPointer<rdr::OutStream> m_OutStream;
91 QString ConnectInformation();
96 void autoSelectFormatAndEncoding();
97 void updatePixelFormat();
100 int SetChannelConnect(QSharedPointer<CChannel> channel);