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

krfb

Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Properties | List of all members
RfbClient Class Reference

#include <rfbclient.h>

Inheritance diagram for RfbClient:
Inheritance graph
[legend]

Public Slots

void closeConnection ()
 
void setControlEnabled (bool enabled)
 
void setOnHold (bool onHold)
 

Signals

void controlEnabledChanged (bool enabled)
 
void holdStatusChanged (bool onHold)
 

Public Member Functions

 RfbClient (rfbClientPtr client, QObject *parent=0)
 
virtual ~RfbClient ()
 
bool controlEnabled () const
 
bool isOnHold () const
 
virtual QString name () const
 

Static Public Member Functions

static bool controlCanBeEnabled ()
 

Protected Member Functions

virtual bool checkPassword (const QByteArray &encryptedPassword)
 
virtual void handleKeyboardEvent (bool down, rfbKeySym keySym)
 
virtual void handleMouseEvent (int buttonMask, int x, int y)
 
bool vncAuthCheckPassword (const QByteArray &password, const QByteArray &encryptedPassword) const
 

Properties

bool controlEnabled
 
bool onHold
 

Detailed Description

Definition at line 26 of file krfb/rfbclient.h.

Constructor & Destructor Documentation

RfbClient::RfbClient ( rfbClientPtr  client,
QObject *  parent = 0 
)

Definition at line 44 of file rfbclient.cpp.

RfbClient::~RfbClient ( )
virtual

Definition at line 55 of file rfbclient.cpp.

Member Function Documentation

bool RfbClient::checkPassword ( const QByteArray &  encryptedPassword)
protectedvirtual

This method is supposed to check if the provided encryptedPassword matches the criteria for authenticating the client.

The default implementation returns false if a password is required. Reimplement to do more useful stuff.

Reimplemented in InvitationsRfbClient.

Definition at line 120 of file rfbclient.cpp.

void RfbClient::closeConnection ( )
slot

Definition at line 99 of file rfbclient.cpp.

bool RfbClient::controlCanBeEnabled ( )
static

Definition at line 67 of file rfbclient.cpp.

bool RfbClient::controlEnabled ( ) const
void RfbClient::controlEnabledChanged ( bool  enabled)
signal
void RfbClient::handleKeyboardEvent ( bool  down,
rfbKeySym  keySym 
)
protectedvirtual

Definition at line 106 of file rfbclient.cpp.

void RfbClient::handleMouseEvent ( int  buttonMask,
int  x,
int  y 
)
protectedvirtual

Definition at line 113 of file rfbclient.cpp.

void RfbClient::holdStatusChanged ( bool  onHold)
signal
bool RfbClient::isOnHold ( ) const

Definition at line 85 of file rfbclient.cpp.

QString RfbClient::name ( ) const
virtual

Returns a name for the client, to be shown to the user.

Reimplemented in TubesRfbClient.

Definition at line 61 of file rfbclient.cpp.

void RfbClient::setControlEnabled ( bool  enabled)
slot

Definition at line 77 of file rfbclient.cpp.

void RfbClient::setOnHold ( bool  onHold)
slot

Definition at line 90 of file rfbclient.cpp.

bool RfbClient::vncAuthCheckPassword ( const QByteArray &  password,
const QByteArray &  encryptedPassword 
) const
protected

This method checks if the encryptedPassword that was sent from the remote user matches the password that you have specified localy to be the password for this connection.

This assumes that the standard VNC authentication mechanism is used. Returns true if the password matches or false otherwise.

Definition at line 127 of file rfbclient.cpp.

Property Documentation

bool RfbClient::controlEnabled
readwrite

Definition at line 29 of file krfb/rfbclient.h.

bool RfbClient::onHold
readwrite

Definition at line 30 of file krfb/rfbclient.h.


The documentation for this class was generated from the following files:
  • krfb/rfbclient.h
  • rfbclient.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:54:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

krfb

Skip menu "krfb"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

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