13 Q_PROPERTY(
bool RedirectionPrinter READ GetRedirectionPrinter WRITE SetRedirectionPrinter NOTIFY sigRedirectionPrinterChanged)
14 Q_PROPERTY(UINT ReconnectInterval READ GetReconnectInterval WRITE SetReconnectInterval NOTIFY sigReconnectIntervalChanged)
15 Q_PROPERTY(RedirecionSoundType RedirectionSound READ GetRedirectionSound WRITE SetRedirectionSound NOTIFY sigRedirectionSoundChanged)
16 Q_PROPERTY(QString RedirectionSoundParameters READ GetRedirectionSoundParameters WRITE SetRedirectionSoundParameters NOTIFY sigRedirectionSoundParametersChanged)
17 Q_PROPERTY(
bool RedirectionMicrophone READ GetRedirectionMicrophone WRITE SetRedirectionMicrophone NOTIFY sigRedirectionMicrophoneChanged)
18 Q_PROPERTY(QStringList RedirectionDrives READ GetRedirectionDrives WRITE SetRedirectionDrives NOTIFY sigRedirectionDrivesChanged)
23 static QRect GetScreenGeometry();
26 virtual int OnLoad(QSettings &set)
override;
27 virtual int OnSave(QSettings &set)
override;
31 void SetDomain(
const QString& szDomain);
32 const QString GetDomain()
const;
34 UINT32 GetDesktopWidth()
const;
35 int SetDesktopWidth(UINT32 nWidth);
37 UINT32 GetDesktopHeight()
const;
38 int SetDesktopHeight(UINT32 nHeight);
40 UINT32 GetColorDepth()
const;
41 int SetColorDepth(UINT32 color);
43 bool GetUseMultimon()
const;
44 int SetUseMultimon(
bool bUse);
46 UINT GetReconnectInterval()
const;
47 void SetReconnectInterval(UINT newReconnectInterval);
49 bool GetShowVerifyDiaglog()
const;
50 void SetShowVerifyDiaglog(
bool bShow);
52 enum class RedirecionSoundType {
57 Q_ENUM(RedirecionSoundType)
58 RedirecionSoundType GetRedirectionSound()
const;
59 void SetRedirectionSound(RedirecionSoundType newRedirectionSound);
60 bool GetRedirectionMicrophone()
const;
61 void SetRedirectionMicrophone(
bool newRedirectionMicrophone);
62 QStringList GetRedirectionDrives()
const;
63 void SetRedirectionDrives(
const QStringList &newRedirectionDrive);
65 bool GetRedirectionPrinter()
const;
66 void SetRedirectionPrinter(
bool newRedirectionPrinter);
68 const QString &GetRedirectionSoundParameters()
const;
69 void SetRedirectionSoundParameters(
const QString &newRedirectionSoundParameters);
71 const QString &GetRedirectionMicrophoneParameters()
const;
72 void SetRedirectionMicrophoneParameters(
const QString &newRedirectionMicrophoneParameters);
74 bool GetNegotiateSecurityLayer()
const;
75 void SetNegotiateSecurityLayer(
bool newNegotiateSecurityLayer);
85 Security GetSecurity()
const;
86 void SetSecurity(Security newSecurity);
88 UINT16 GetTlsVersion()
const;
89 void SetTlsVersion(UINT16 newTlsVersion);
91 UINT32 GetConnectType()
const;
92 void SetConnectType(UINT32 newConnectType);
94 UINT32 GetPerformanceFlags()
const;
95 void SetPerformanceFlags(UINT32 newPerformanceFlags);
98 void sigReconnectIntervalChanged();
100 void sigRedirectionSoundChanged(RedirecionSoundType RedirectionSound);
101 void sigRedirectionSoundParametersChanged();
102 void sigRedirectionMicrophoneChanged(
bool RedirectionMicrophone);
103 void sigRedirectionMicrophoneParametersChanged();
104 void sigRedirectionDrivesChanged(QStringList RedirectionDrive);
105 void sigRedirectionPrinterChanged(
bool RedirectionPrinter);
113 UINT32 m_nColorDepth;
116 UINT32 m_nReconnectInterval;
117 bool m_bShowVerifyDiaglog;
119 bool m_bRedirectionPrinter;
120 RedirecionSoundType m_nRedirectionSound;
121 QString m_szRedirectionSoundParameters;
122 bool m_bRedirectionMicrophone;
123 QString m_szRedirectionMicrophoneParameters;
124 QStringList m_lstRedirectionDrives;
125 Q_PROPERTY(QString RedirectionMicrophoneParameters READ GetRedirectionMicrophoneParameters WRITE SetRedirectionMicrophoneParameters NOTIFY sigRedirectionMicrophoneParametersChanged)
127 bool m_bNegotiateSecurityLayer;
131 UINT32 m_ConnectType;
132 UINT32 m_PerformanceFlags;