1#include "ParameterLibVNCServer.h"
3CParameterLibVNCServer::CParameterLibVNCServer(QObject *parent)
7 m_Net.m_User.SetType(QList<CParameterUser::TYPE>() << CParameterUser::TYPE::OnlyPassword);
8 m_Net.m_User.SetUsedType(CParameterUser::TYPE::OnlyPassword);
11 QList<CParameterProxy::TYPE>() << CParameterProxy::TYPE::None
12 << CParameterProxy::TYPE::SSHTunnel);
17 SetEnableCompressLevel(
true);
23int CParameterLibVNCServer::OnLoad(QSettings &set)
25 return CParameterBase::OnLoad(set);
28int CParameterLibVNCServer::OnSave(QSettings &set)
30 return CParameterBase::OnSave(set);
33int CParameterLibVNCServer::GetQualityLevel()
const
35 return m_bQualityLevel;
38void CParameterLibVNCServer::SetQualityLevel(
int newQualityLevel)
40 m_bQualityLevel = newQualityLevel;
43bool CParameterLibVNCServer::GetJpeg()
const
48void CParameterLibVNCServer::SetJpeg(
bool newJpeg)
53int CParameterLibVNCServer::GetCompressLevel()
const
55 return m_nCompressLevel;
58void CParameterLibVNCServer::SetCompressLevel(
int newCompressLevel)
60 m_nCompressLevel = newCompressLevel;
63bool CParameterLibVNCServer::GetEnableCompressLevel()
const
65 return m_bCompressLevel;
68void CParameterLibVNCServer::SetEnableCompressLevel(
bool newCompressLevel)
70 m_bCompressLevel = newCompressLevel;
73bool CParameterLibVNCServer::GetShared()
const
78void CParameterLibVNCServer::SetShared(
bool newShared)
80 m_bShared = newShared;
The interface of connecter parameters.