47 virtual int OnLoad(QSettings &set)
override;
51 virtual int OnSave(QSettings &set)
override;
54 bool GetHookKeyboard()
const;
55 void SetHookKeyboard(
bool newHookKeyboard);
57 void sigHookKeyboardChanged();
60 Q_PROPERTY(
bool HookKeyboard READ GetHookKeyboard WRITE SetHookKeyboard
61 NOTIFY sigHookKeyboardChanged)
64 bool GetHookShowAdministratorPrivilege();
65 void SetHookShowAdministratorPrivilege(
bool bShow);
67 void sigHookShowAdministratorPrivilege();
69 bool m_bHookShowAdministratorPrivilege;
73 bool GetEnableSystemUserToUser()
const;
74 void SetEnableSystemUserToUser(
bool enable);
76 bool m_bEnableSystemUserToUser;
80 const QString &GetEncryptKey()
const;
81 void SetEncryptKey(
const QString &newPassword);
83 void sigEncryptKeyChanged();
85 QString m_szEncryptKey;
86 Q_PROPERTY(QString EncryptKey READ GetEncryptKey WRITE SetEncryptKey NOTIFY sigEncryptKeyChanged)
89 const bool &GetSavePassword()
const;
90 void SetSavePassword(
bool NewAutoSavePassword);
92 void sigSavePasswordChanged(
bool AutoSavePassword);
96 Q_PROPERTY(
bool SavePassword READ GetSavePassword WRITE SetSavePassword NOTIFY sigSavePasswordChanged)
106 PromptType GetPromptType()
const;
107 void SetPromptType(PromptType NewPromptType);
109 void sigPromptTypeChanged(PromptType PromptType);
111 PromptType m_PromptType;
112 Q_PROPERTY(PromptType PromptType READ GetPromptType WRITE SetPromptType NOTIFY sigPromptTypeChanged)
115 int GetPromptCount()
const;
116 void SetPromptCount(
int NewPromptCount);
118 void sigPromptCountChanged(
int PromptCount);
121 Q_PROPERTY(
int PromptCount READ GetPromptCount WRITE SetPromptCount NOTIFY sigPromptCountChanged)
124 bool GetViewPassowrd()
const;
125 void SetViewPassowrd(
bool NewViewPassowrd);
127 void sigViewPassowrdChanged(
bool ViewPassowrd);
129 bool m_bViewPassowrd;
130 Q_PROPERTY(
bool ViewPassowrd READ GetViewPassowrd WRITE SetViewPassowrd NOTIFY sigViewPassowrdChanged)
135 bool GetShowProtocolPrefix()
const;
136 void SetShowProtocolPrefix(
bool bShowProtocolPrefix);
138 void sigShowProtocolPrefixChanged();
140 bool m_bShowProtocolPrefix;
141 Q_PROPERTY(
bool ShowProtocolPrefix READ GetShowProtocolPrefix WRITE SetShowProtocolPrefix NOTIFY sigShowProtocolPrefixChanged)
144 bool GetShowIpPortInName()
const;
145 void SetShowIpPortInName(
bool bShowIpPortInName);
147 void sigSHowIpPortInNameChanged();
149 bool m_bShowIpPortInName;
150 Q_PROPERTY(
bool ShowIpPortInName READ GetShowIpPortInName WRITE SetShowIpPortInName NOTIFY sigSHowIpPortInNameChanged)
156 void sigAdaptWindowsChanged();
159 Q_PROPERTY(
CFrmViewer::ADAPT_WINDOWS AdaptWindows READ GetAdaptWindows WRITE SetAdaptWindows NOTIFY sigAdaptWindowsChanged)