WD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ServerParameters Class Reference

#include <vncserverparameters.h>

Classes

struct  PIXEL_FORMAT
 

Public Member Functions

 ServerParameters ()
 
 ServerParameters (qint16 width, qint16 height, PIXEL_FORMAT *pixelFormat, QString *desktopName)
 
 ~ServerParameters ()
 
void setWidth (qint16 width)
 
void setHeight (qint16 height)
 
void setPixelFromat (PIXEL_FORMAT *pixels)
 
void setName (QString *name)
 
qint16 getWidth () const
 
qint16 getHeight () const
 
const PIXEL_FORMATgetPixelFromat () const
 
const QString * getName () const
 

Detailed Description

It is container for server parameters. Client recieve them in server response.

Constructor & Destructor Documentation

ServerParameters::ServerParameters ( )

Default constructor

ServerParameters::ServerParameters ( qint16  width,
qint16  height,
PIXEL_FORMAT pixelFormat,
QString *  desktopName 
)

Constructor

Parameters
width- monitor resolution width
height- monitor resolution height
pixelFormat- pointer to struct with pixel format information
desktopName- pointer to string with remote desktop name
ServerParameters::~ServerParameters ( )

Destructor

Member Function Documentation

qint16 ServerParameters::getHeight ( ) const

Display resolution height getter

Returns
vertical display resolution
const QString* ServerParameters::getName ( ) const

Remote desktop name getter

Returns
vertical display resolution
const PIXEL_FORMAT* ServerParameters::getPixelFromat ( ) const

Display resolution height getter

Returns
vertical display resolution
qint16 ServerParameters::getWidth ( ) const

Display resolution width getter

Returns
horizontal display resolution
void ServerParameters::setHeight ( qint16  height)

Height parameter setter

Parameters
height- display vertical resolution
void ServerParameters::setName ( QString *  name)

Desktop name setter

Parameters
pixels- pointer to struct with pixels format
void ServerParameters::setPixelFromat ( PIXEL_FORMAT pixels)

Pixel format setter

Parameters
pixels- pointer to struct with pixels format
void ServerParameters::setWidth ( qint16  width)

Width parameter setter

Parameters
width- display horizontal resolution

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