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 Member Functions inherited from QThread | |
| QThread (QObject *parent) | |
| ~QThread () | |
| void | exit (int returnCode) |
| bool | finished () const |
| void | finished () |
| bool | isFinished () const |
| bool | isRunning () const |
| Priority | priority () const |
| void | quit () |
| bool | running () const |
| void | setPriority (Priority priority) |
| void | setStackSize (uint stackSize) |
| uint | stackSize () const |
| void | start (Priority priority) |
| void | started () |
| void | terminate () |
| void | terminated () |
| bool | wait (unsigned long time) |
Public Member Functions inherited from QObject | |
| QObject (QObject *parent) | |
| QObject (QObject *parent, const char *name) | |
| virtual | ~QObject () |
| bool | blockSignals (bool block) |
| QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
| const QObjectList & | children () const |
| const char * | className () const |
| bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
| void | deleteLater () |
| void | destroyed (QObject *obj) |
| bool | disconnect (const QObject *receiver, const char *method) |
| bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
| void | dumpObjectInfo () |
| void | dumpObjectTree () |
| QList< QByteArray > | dynamicPropertyNames () const |
| virtual bool | event (QEvent *e) |
| virtual bool | eventFilter (QObject *watched, QEvent *event) |
| T | findChild (const QString &name) const |
| QList< T > | findChildren (const QRegExp ®Exp) const |
| QList< T > | findChildren (const QString &name) const |
| bool | inherits (const char *className) const |
| void | insertChild (QObject *object) |
| void | installEventFilter (QObject *filterObj) |
| bool | isA (const char *className) const |
| bool | isWidgetType () const |
| void | killTimer (int id) |
| virtual const QMetaObject * | metaObject () const |
| void | moveToThread (QThread *targetThread) |
| const char * | name () const |
| const char * | name (const char *defaultName) const |
| QString | objectName () const |
| QObject * | parent () const |
| QVariant | property (const char *name) const |
| void | removeChild (QObject *object) |
| void | removeEventFilter (QObject *obj) |
| void | setName (const char *name) |
| void | setObjectName (const QString &name) |
| void | setParent (QObject *parent) |
| bool | setProperty (const char *name, const QVariant &value) |
| bool | signalsBlocked () const |
| int | startTimer (int interval) |
| QThread * | thread () const |
Public Attributes | |
| uint8_t * | frameBuffer |
| volatile bool | failed |
| int | failedProbes |
| int | intervalSeconds |
| bool | set |
Protected Member Functions | |
| void | run () |
Protected Member Functions inherited from QThread | |
| int | exec () |
Protected Member Functions inherited from QObject | |
| bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
| virtual void | childEvent (QChildEvent *event) |
| virtual void | connectNotify (const char *signal) |
| virtual void | customEvent (QEvent *event) |
| virtual void | disconnectNotify (const char *signal) |
| int | receivers (const char *signal) const |
| QObject * | sender () const |
| int | senderSignalIndex () const |
| virtual void | timerEvent (QTimerEvent *event) |
Additional Inherited Members | |
Static Public Member Functions inherited from QThread | |
| QThread * | currentThread () |
| Qt::HANDLE | currentThreadId () |
| int | idealThreadCount () |
| void | yieldCurrentThread () |
Static Public Member Functions inherited from QObject | |
| bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
| bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
| bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
| bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
| QString | tr (const char *sourceText, const char *disambiguation, int n) |
| QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Static Protected Member Functions inherited from QThread | |
| void | msleep (unsigned long msecs) |
| void | setTerminationEnabled (bool enabled) |
| void | sleep (unsigned long secs) |
| void | usleep (unsigned long usecs) |
Static Protected Member Functions inherited from QObject | |
| QByteArray | normalizeSignalSlot (const char *signalSlot) |
Properties inherited from QObject | |
| objectName | |
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.
|
protectedvirtual |
Reimplemented from QThread.
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Member Functions inherited from