• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdenetwork API Reference
  • KDE Home
  • Contact Us
 

krdc

Public Types | Public Slots | Signals | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
VncClientThread Class Reference

#include <vncclientthread.h>

Inheritance diagram for VncClientThread:
Inheritance graph
[legend]

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

enum VncClientThread::ColorDepth
Enumerator
bpp32 
bpp16 
bpp8 

Definition at line 103 of file vncclientthread.h.

Constructor & Destructor Documentation

VncClientThread::VncClientThread ( QObject *  parent = 0)
explicit

Definition at line 326 of file vncclientthread.cpp.

VncClientThread::~VncClientThread ( )

Definition at line 349 of file vncclientthread.cpp.

Member Function Documentation

void VncClientThread::clientCut ( const QString &  text)
slot

Definition at line 676 of file vncclientthread.cpp.

void VncClientThread::clientStateChanged ( RemoteView::RemoteStatus  status,
const QString &  details 
)
signal

When we connect/disconnect/reconnect/etc., this signal will be emitted.

Parameters
statusIs the client connected?
detailsA 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.

void VncClientThread::gotCut ( const QString &  text)
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.

void VncClientThread::imageUpdated ( int  x,
int  y,
int  w,
int  h 
)
signal
void VncClientThread::keyEvent ( int  key,
bool  pressed 
)
slot

Definition at line 667 of file vncclientthread.cpp.

void VncClientThread::mouseEvent ( int  x,
int  y,
int  buttonMask 
)
slot

Definition at line 658 of file vncclientthread.cpp.

void VncClientThread::outputErrorMessage ( const QString &  message)
signal
const QString VncClientThread::password ( ) const
inline

Definition at line 122 of file vncclientthread.h.

void VncClientThread::passwordRequest ( bool  includingUsername = false)
signal
RemoteView::Quality VncClientThread::quality ( ) const

Definition at line 409 of file vncclientthread.cpp.

void VncClientThread::run ( )
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.

void VncClientThread::setPassword ( const QString &  password)
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.

void VncClientThread::setUsername ( const QString &  username)
inline

Definition at line 125 of file vncclientthread.h.

void VncClientThread::stop ( )

Definition at line 445 of file vncclientthread.cpp.

const QString VncClientThread::username ( ) const
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:
  • vncclientthread.h
  • vncclientthread.cpp
This file is part of the KDE documentation.
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.

krdc

Skip menu "krdc"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal