Qt 4.8
Public Functions | Public Variables | List of all members
QRfbFrameBufferUpdateRequest Class Reference

#include <qscreenvnc_p.h>

Public Functions

bool read (QTcpSocket *s)
 
bool read (QTcpSocket *s)
 

Public Variables

char incremental
 
QRfbRect rect
 

Detailed Description

Definition at line 204 of file qscreenvnc_p.h.

Functions

◆ read() [1/2]

bool QRfbFrameBufferUpdateRequest::read ( QTcpSocket s)

Definition at line 484 of file qscreenvnc_qws.cpp.

Referenced by QVNCServer::frameBufferUpdateRequest().

485 {
486  if (s->bytesAvailable() < 9)
487  return false;
488 
489  s->read(&incremental, 1);
490  rect.read(s);
491 
492  return true;
493 }
qint64 bytesAvailable() const
Returns the number of incoming bytes that are waiting to be read.
void read(QTcpSocket *s)
qint64 read(char *data, qint64 maxlen)
Reads at most maxSize bytes from the device into data, and returns the number of bytes read...
Definition: qiodevice.cpp:791

◆ read() [2/2]

bool QRfbFrameBufferUpdateRequest::read ( QTcpSocket s)

Properties

◆ incremental

char QRfbFrameBufferUpdateRequest::incremental

Definition at line 209 of file qscreenvnc_p.h.

Referenced by QVNCServer::frameBufferUpdateRequest().

◆ rect

QRfbRect QRfbFrameBufferUpdateRequest::rect

Definition at line 210 of file qscreenvnc_p.h.

Referenced by QVNCServer::frameBufferUpdateRequest().


The documentation for this class was generated from the following files: