krdc
#include <vncclientthread.h>

Public Types | |
| enum | ColorDepth { bpp32, bpp16, bpp8 } |
Public Slots | |
| void | clientCut (const QString &text) |
| void | keyEvent (int key, bool pressed) |
| void | mouseEvent (int x, int y, int buttonMask) |
Signals | |
| void | clientStateChanged (RemoteView::RemoteStatus status, const QString &details) |
| void | gotCut (const QString &text) |
| void | imageUpdated (int x, int y, int w, int h) |
| void | outputErrorMessage (const QString &message) |
| void | passwordRequest (bool includingUsername=false) |
Public Member Functions | |
| VncClientThread (QObject *parent=0) | |
| ~VncClientThread () | |
| ColorDepth | colorDepth () const |
| void | emitGotCut (const QString &text) |
| void | emitUpdated (int x, int y, int w, int h) |
| const QImage | image (int x=0, int y=0, int w=0, int h=0) |
| const QString | password () const |
| RemoteView::Quality | quality () const |
| void | setHost (const QString &host) |
| void | setImage (const QImage &img) |
| void | setPassword (const QString &password) |
| void | setPort (int port) |
| void | setQuality (RemoteView::Quality quality) |
| void | setUsername (const QString &username) |
| void | stop () |
| const QString | username () const |
Public Attributes | |
| uint8_t * | frameBuffer |
| volatile bool | failed |
| int | failedProbes |
| int | intervalSeconds |
| bool | set |
Protected Member Functions | |
| void | run () |
Detailed Description
Definition at line 96 of file vncclientthread.h.
Member Enumeration Documentation
| Enumerator | |
|---|---|
| bpp32 | |
| bpp16 | |
| bpp8 | |
Definition at line 103 of file vncclientthread.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 326 of file vncclientthread.cpp.
| VncClientThread::~VncClientThread | ( | ) |
Definition at line 349 of file vncclientthread.cpp.
Member Function Documentation
|
slot |
Definition at line 676 of file vncclientthread.cpp.
|
signal |
When we connect/disconnect/reconnect/etc., this signal will be emitted.
- Parameters
-
status Is the client connected? details A sentence describing what happened.
| VncClientThread::ColorDepth VncClientThread::colorDepth | ( | ) | const |
Definition at line 414 of file vncclientthread.cpp.
| void VncClientThread::emitGotCut | ( | const QString & | text | ) |
Definition at line 440 of file vncclientthread.cpp.
| void VncClientThread::emitUpdated | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) |
Definition at line 435 of file vncclientthread.cpp.
|
signal |
| const QImage VncClientThread::image | ( | int | x = 0, |
| int | y = 0, |
||
| int | w = 0, |
||
| int | h = 0 |
||
| ) |
Definition at line 425 of file vncclientthread.cpp.
|
signal |
|
slot |
Definition at line 667 of file vncclientthread.cpp.
|
slot |
Definition at line 658 of file vncclientthread.cpp.
|
signal |
|
inline |
Definition at line 122 of file vncclientthread.h.
|
signal |
| RemoteView::Quality VncClientThread::quality | ( | ) | const |
Definition at line 409 of file vncclientthread.cpp.
|
protected |
Definition at line 451 of file vncclientthread.cpp.
| void VncClientThread::setHost | ( | const QString & | host | ) |
Definition at line 375 of file vncclientthread.cpp.
| void VncClientThread::setImage | ( | const QImage & | img | ) |
Definition at line 419 of file vncclientthread.cpp.
|
inline |
Definition at line 119 of file vncclientthread.h.
| void VncClientThread::setPort | ( | int | port | ) |
Definition at line 381 of file vncclientthread.cpp.
| void VncClientThread::setQuality | ( | RemoteView::Quality | quality | ) |
Definition at line 387 of file vncclientthread.cpp.
|
inline |
Definition at line 125 of file vncclientthread.h.
| void VncClientThread::stop | ( | ) |
Definition at line 445 of file vncclientthread.cpp.
|
inline |
Definition at line 128 of file vncclientthread.h.
Member Data Documentation
| volatile bool VncClientThread::failed |
Did keepalive detect a disconnect?
Definition at line 217 of file vncclientthread.h.
| int VncClientThread::failedProbes |
Number of failed probes required to recognise a disconnect.
Definition at line 209 of file vncclientthread.h.
| uint8_t* VncClientThread::frameBuffer |
Definition at line 134 of file vncclientthread.h.
| int VncClientThread::intervalSeconds |
Number of seconds between probes.
If zero, we will not attempt to enable it.
Definition at line 205 of file vncclientthread.h.
| bool VncClientThread::set |
Was keepalive successfully set?
Definition at line 213 of file vncclientthread.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:54:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference