Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
CParameterLibVNCServer Class Reference
Inheritance diagram for CParameterLibVNCServer:
CParameterBase CParameterConnecter CParameter

Public Member Functions

 CParameterLibVNCServer (QObject *parent=nullptr)
 
virtual int OnLoad (QSettings &set) override
 
virtual int OnSave (QSettings &set) override
 
bool GetShared () const
 
void SetShared (bool newShared)
 
bool GetEnableCompressLevel () const
 
void SetEnableCompressLevel (bool newCompressLevel)
 
int GetCompressLevel () const
 
void SetCompressLevel (int newCompressLevel)
 
bool GetJpeg () const
 
void SetJpeg (bool newJpeg)
 
int GetQualityLevel () const
 
void SetQualityLevel (int newQualityLevel)
 
- Public Member Functions inherited from CParameterBase
 CParameterBase (QObject *parent=nullptr)
 
 CParameterBase (CParameterConnecter *parent, const QString &szPrefix=QString())
 
const QString GetName () const
 
void SetName (const QString &szName)
 
const QString GetServerName () const
 
void SetServerName (const QString &szName)
 
bool GetShowServerName () const
 
void SetShowServerName (bool NewShowServerName)
 
bool GetOnlyView () const
 
void SetOnlyView (bool only)
 
const bool GetLocalCursor () const
 
void SetLocalCursor (bool cursor)
 
const bool GetCursorPosition () const
 
void SetCursorPosition (bool pos)
 
virtual const bool GetClipboard () const
 
virtual void SetClipboard (bool c)
 
bool GetSupportsDesktopResize () const
 
void SetSupportsDesktopResize (bool newSupportsDesktopResize)
 
bool GetLedState () const
 
void SetLedState (bool state)
 
CFrmViewer::ADAPT_WINDOWS GetAdaptWindows ()
 
void SetAdaptWindows (CFrmViewer::ADAPT_WINDOWS aw)
 
double GetZoomFactor () const
 
void SetZoomFactor (double newZoomFactor)
 
- Public Member Functions inherited from CParameterConnecter
 CParameterConnecter (QObject *parent=nullptr, const QString &szPrefix=QString())
 
CParameterClientGetParameterClient ()
 Get CParameterClient.
 
int SetParameterClient (CParameterClient *p)
 
- Public Member Functions inherited from CParameter
 CParameter (QObject *parent=nullptr, const QString &szPrefix=QString())
 
virtual int Load (QString szFile=QString())
 Load from file.
 
virtual int Save (QString szFile=QString(), bool bForce=true)
 Save to file.
 
virtual int Load (QSettings &set)
 Load from storage.
 
virtual int Save (QSettings &set, bool bForce=true)
 Save to storage.
 
virtual bool CheckValidity ()
 Check whether the parameter is valid to decide whether to use or save the parameter.
 

Private Attributes

bool m_bShared
 
bool m_bCompressLevel
 
int m_nCompressLevel
 
bool m_bJpeg
 
int m_bQualityLevel
 

Additional Inherited Members

- Signals inherited from CParameterBase
void sigNameChanged (const QString &name=QString())
 
void sigShowServerNameChanged ()
 
void sigAdaptWindowsChanged (CFrmViewer::ADAPT_WINDOWS aw)
 
void sigZoomFactorChanged (double newZoomFactor)
 
- Signals inherited from CParameterConnecter
void sigSetParameterClient ()
 
- Signals inherited from CParameter
void sigChanged ()
 emit when the parameter changes Usually if required, the corresponding parameter corresponds to a change event.
 
- Public Attributes inherited from CParameterBase
CParameterNet m_Net
 
CParameterProxy m_Proxy
 
CParameterRecord m_Record
 
- Protected Slots inherited from CParameterConnecter
- Protected Member Functions inherited from CParameterBase
virtual void slotSetParameterClient () override
 Call after set CParameterClient.
 
- Protected Member Functions inherited from CParameterConnecter
QByteArray PasswordSum (const std::string &password, const std::string &key)
 
int LoadPassword (const QString &szTitle, const QString &szKey, QString &password, QSettings &set)
 
int SavePassword (const QString &szKey, const QString &password, QSettings &set, bool bSave=false)
 
- Protected Member Functions inherited from CParameter
virtual bool OnCheckValidity ()
 Check validity.
 
int SetModified (bool bModified=true)
 When setting parameters, if there is a modification, it is called.
 
bool GetModified ()
 Whether the parameters have been modified.
 
- Properties inherited from CParameterBase
QString Name
 
QString ServerName
 
bool ShowServerName
 
bool OnlyView
 
bool LocalCursor
 
CFrmViewer::ADAPT_WINDOWS AdaptWindows
 
double ZoomFactor
 
- Properties inherited from CParameter
bool Modified
 

Detailed Description

Definition at line 8 of file ParameterLibVNCServer.h.

Constructor & Destructor Documentation

◆ CParameterLibVNCServer()

CParameterLibVNCServer::CParameterLibVNCServer ( QObject *  parent = nullptr)
explicit

Definition at line 3 of file ParameterLibVNCServer.cpp.

Member Function Documentation

◆ GetCompressLevel()

int CParameterLibVNCServer::GetCompressLevel ( ) const

Definition at line 53 of file ParameterLibVNCServer.cpp.

◆ GetEnableCompressLevel()

bool CParameterLibVNCServer::GetEnableCompressLevel ( ) const

Definition at line 63 of file ParameterLibVNCServer.cpp.

◆ GetJpeg()

bool CParameterLibVNCServer::GetJpeg ( ) const

Definition at line 43 of file ParameterLibVNCServer.cpp.

◆ GetQualityLevel()

int CParameterLibVNCServer::GetQualityLevel ( ) const

Definition at line 33 of file ParameterLibVNCServer.cpp.

◆ GetShared()

bool CParameterLibVNCServer::GetShared ( ) const

Definition at line 73 of file ParameterLibVNCServer.cpp.

◆ OnLoad()

int CParameterLibVNCServer::OnLoad ( QSettings &  set)
overridevirtual

Reimplemented from CParameterBase.

Definition at line 23 of file ParameterLibVNCServer.cpp.

◆ OnSave()

int CParameterLibVNCServer::OnSave ( QSettings &  set)
overridevirtual

Reimplemented from CParameterBase.

Definition at line 28 of file ParameterLibVNCServer.cpp.

◆ SetCompressLevel()

void CParameterLibVNCServer::SetCompressLevel ( int  newCompressLevel)

Definition at line 58 of file ParameterLibVNCServer.cpp.

◆ SetEnableCompressLevel()

void CParameterLibVNCServer::SetEnableCompressLevel ( bool  newCompressLevel)

Definition at line 68 of file ParameterLibVNCServer.cpp.

◆ SetJpeg()

void CParameterLibVNCServer::SetJpeg ( bool  newJpeg)

Definition at line 48 of file ParameterLibVNCServer.cpp.

◆ SetQualityLevel()

void CParameterLibVNCServer::SetQualityLevel ( int  newQualityLevel)

Definition at line 38 of file ParameterLibVNCServer.cpp.

◆ SetShared()

void CParameterLibVNCServer::SetShared ( bool  newShared)

Definition at line 78 of file ParameterLibVNCServer.cpp.

Member Data Documentation

◆ m_bCompressLevel

bool CParameterLibVNCServer::m_bCompressLevel
private

Definition at line 31 of file ParameterLibVNCServer.h.

◆ m_bJpeg

bool CParameterLibVNCServer::m_bJpeg
private

Definition at line 33 of file ParameterLibVNCServer.h.

◆ m_bQualityLevel

int CParameterLibVNCServer::m_bQualityLevel
private

Definition at line 34 of file ParameterLibVNCServer.h.

◆ m_bShared

bool CParameterLibVNCServer::m_bShared
private

Definition at line 30 of file ParameterLibVNCServer.h.

◆ m_nCompressLevel

int CParameterLibVNCServer::m_nCompressLevel
private

Definition at line 32 of file ParameterLibVNCServer.h.


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