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

krfb

Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
PendingRfbClient Class Referenceabstract

#include <rfbclient.h>

Inheritance diagram for PendingRfbClient:
Inheritance graph
[legend]

Signals

void finished (RfbClient *client)
 

Public Member Functions

 PendingRfbClient (rfbClientPtr client, QObject *parent=0)
 
virtual ~PendingRfbClient ()
 
- 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 &regExp) 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
 

Protected Slots

void accept (RfbClient *newClient)
 
virtual void processNewClient ()=0
 
void reject ()
 

Protected Member Functions

virtual bool checkPassword (const QByteArray &encryptedPassword)
 
bool vncAuthCheckPassword (const QByteArray &password, const QByteArray &encryptedPassword) const
 
- 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)
 

Protected Attributes

rfbClientPtr m_rfbClient
 

Additional Inherited Members

- 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 QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Properties inherited from QObject
 objectName
 

Detailed Description

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

Constructor & Destructor Documentation

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

Definition at line 170 of file rfbclient.cpp.

PendingRfbClient::~PendingRfbClient ( )
virtual

Definition at line 176 of file rfbclient.cpp.

Member Function Documentation

void PendingRfbClient::accept ( RfbClient *  newClient)
protectedslot

Definition at line 179 of file rfbclient.cpp.

bool PendingRfbClient::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.

Definition at line 205 of file rfbclient.cpp.

void PendingRfbClient::finished ( RfbClient *  client)
signal
virtual void PendingRfbClient::processNewClient ( )
protectedpure virtualslot
void PendingRfbClient::reject ( )
protectedslot

Definition at line 192 of file rfbclient.cpp.

bool PendingRfbClient::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 212 of file rfbclient.cpp.

Member Data Documentation

rfbClientPtr PendingRfbClient::m_rfbClient
protected

Definition at line 106 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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:41 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
  • Namespace List
  • 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