|
Rabbit Remote Control 0.1.0-bate14
|
Global parameters of plugins. More...
#include <ParameterPlugin.h>


Public Types | |
| enum class | PromptType { No , First } |
| enum class | NameStyle { Protocol = 0x01 , ServerName = 0x02 , SecurityLevel =0x04 } |
Signals | |
| void | sigCaptureAllKeyboard () |
| void | sigPromptAdministratorPrivilege () |
| void | sigEncryptKeyChanged () |
| void | sigSavePasswordChanged (bool AutoSavePassword) |
| void | sigPromptTypeChanged (PromptType PromptType) |
| void | sigPromptCountChanged (int PromptCount) |
| void | sigViewPassowrdChanged (bool ViewPassowrd) |
| void | sigNameStylesChanged () |
| void | sigAdaptWindowsChanged () |
| Signals inherited from CParameter | |
| void | sigChanged () |
| emit when the parameter changes Usually if required, the corresponding parameter corresponds to a change event. | |
Public Member Functions | |
| CParameterPlugin (QObject *parent=nullptr) | |
| CParameterGlobal * | GetGlobalParameters () |
| Get global parameters. | |
| bool | GetCaptureAllKeyboard () const |
| void | SetCaptureAllKeyboard (bool bCapture) |
| bool | GetDesktopShortcutsScript () const |
| void | SetDesktopShortcutsScript (bool newDesktopShortcutsScript) |
| QString | GetDisableDesktopShortcutsScript () const |
| void | SetDisableDesktopShortcutsScript (const QString &newDisableDesktopShortcutsScript) |
| QString | GetRestoreDesktopShortcutsScript () const |
| void | SetRestoreDesktopShortcutsScript (const QString &newRestoreDesktopShortcutsScript) |
| bool | GetEnableLocalInputMethod () const |
| void | SetEnableLocalInputMethod (bool enable) |
| bool | GetPromptAdministratorPrivilege () |
| void | SetPromptAdministratorPrivilege (bool bShow) |
| bool | GetEnableSystemUserToUser () const |
| void | SetEnableSystemUserToUser (bool enable) |
| const QString & | GetEncryptKey () const |
| void | SetEncryptKey (const QString &newPassword) |
| const bool & | GetSavePassword () const |
| void | SetSavePassword (bool NewAutoSavePassword) |
| PromptType | GetPromptType () const |
| void | SetPromptType (PromptType NewPromptType) |
| int | GetPromptCount () const |
| void | SetPromptCount (int NewPromptCount) |
| bool | GetViewPassowrd () const |
| void | SetViewPassowrd (bool NewViewPassowrd) |
| bool | GetUseSystemCredential () const |
| void | SetUseSystemCredential (bool newUseSystemCredential) |
| Q_FLAG (NameStyles) | |
| NameStyles | GetNameStyles () const |
| void | SetNameStyles (const NameStyles &newNameStyles) |
| CFrmViewer::ADAPT_WINDOWS | GetAdaptWindows () |
| void | SetAdaptWindows (CFrmViewer::ADAPT_WINDOWS aw) |
| bool | GetEnableSetPluginsPath () const |
| void | SetEnableSetPluginsPath (bool newEnableSetPluginsPath) |
| QStringList | GetPluginsPath () const |
| void | SetPluginsPath (const QStringList &newPluginsPath) |
| bool | GetOnlyLoadInWhitelist () const |
| void | SetOnlyLoadInWhitelist (bool newOnlyLoadInWhitelist) |
| Public Member Functions inherited from CParameter | |
| CParameter (QObject *parent, 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 QSettings. | |
| virtual int | Save (QSettings &set, bool bForce=true) |
| Save to QSettings. | |
| virtual bool | CheckValidity () |
| Check whether the parameter is valid to decide whether to use or save the parameter. | |
Public Attributes | |
| CParameterFilter | m_WhiteList |
| CParameterFilter | m_BlackList |
Initial values for plugin parameters | |
| CParameterRecord | m_Record |
| CParameterMediaDevices | m_MediaDevices |
Protected Member Functions | |
| virtual int | OnLoad (QSettings &set) override |
| virtual int | OnSave (QSettings &set) override |
| 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 | |
| QString | EncryptKey |
| bool | SavePassword |
| PromptType | PromptType |
| int | PromptCount |
| bool | ViewPassowrd |
| CFrmViewer::ADAPT_WINDOWS | AdaptWindows |
| Properties inherited from CParameter | |
| bool | Modified |
Private Attributes | |
| CParameterGlobal * | m_pGlobalParameter |
| bool | m_bCaptureAllKeyboard |
| bool | m_bDesktopShortcutsScript |
| QString | m_szDisableDesktopShortcutsScript |
| QString | m_szRestoreDesktopShortcutsScript |
| bool | m_bEnableLocalInputMethod |
| bool | m_bPromptAdministratorPrivilege |
| bool | m_bEnableSystemUserToUser |
| QString | m_szEncryptKey |
| bool | m_bSavePassword |
| PromptType | m_PromptType |
| int | m_nPromptCount |
| bool | m_bViewPassowrd |
| bool | m_bUseSystemCredential |
| NameStyles | m_NameStyles |
| CFrmViewer::ADAPT_WINDOWS | m_AdaptWindows |
| bool | m_bEnableSetPluginsPath |
| QStringList | m_szPluginsPath |
| bool | m_bOnlyLoadInWhitelist |
Global parameters of plugins.
Definition at line 35 of file ParameterPlugin.h.
|
strong |
Definition at line 168 of file ParameterPlugin.h.
|
strong |
Definition at line 128 of file ParameterPlugin.h.
|
explicit |
Definition at line 9 of file ParameterPlugin.cpp.
|
virtual |
Definition at line 36 of file ParameterPlugin.cpp.
| CFrmViewer::ADAPT_WINDOWS CParameterPlugin::GetAdaptWindows | ( | ) |
Definition at line 309 of file ParameterPlugin.cpp.
| bool CParameterPlugin::GetCaptureAllKeyboard | ( | ) | const |
Definition at line 119 of file ParameterPlugin.cpp.
| bool CParameterPlugin::GetDesktopShortcutsScript | ( | ) | const |
Definition at line 133 of file ParameterPlugin.cpp.
| QString CParameterPlugin::GetDisableDesktopShortcutsScript | ( | ) | const |
Definition at line 159 of file ParameterPlugin.cpp.
| bool CParameterPlugin::GetEnableLocalInputMethod | ( | ) | const |
Definition at line 172 of file ParameterPlugin.cpp.
| bool CParameterPlugin::GetEnableSetPluginsPath | ( | ) | const |
Definition at line 323 of file ParameterPlugin.cpp.
| bool CParameterPlugin::GetEnableSystemUserToUser | ( | ) | const |
Definition at line 199 of file ParameterPlugin.cpp.
| const QString & CParameterPlugin::GetEncryptKey | ( | ) | const |
Definition at line 212 of file ParameterPlugin.cpp.
| CParameterGlobal * CParameterPlugin::GetGlobalParameters | ( | ) |
Get global parameters.
The global parameters is valid in both the application and the Client and the plugin.
Definition at line 44 of file ParameterPlugin.cpp.
| CParameterPlugin::NameStyles CParameterPlugin::GetNameStyles | ( | ) | const |
Definition at line 295 of file ParameterPlugin.cpp.
| bool CParameterPlugin::GetOnlyLoadInWhitelist | ( | ) | const |
Definition at line 346 of file ParameterPlugin.cpp.
| QStringList CParameterPlugin::GetPluginsPath | ( | ) | const |
Definition at line 336 of file ParameterPlugin.cpp.
| bool CParameterPlugin::GetPromptAdministratorPrivilege | ( | ) |
Definition at line 185 of file ParameterPlugin.cpp.
| int CParameterPlugin::GetPromptCount | ( | ) | const |
Definition at line 254 of file ParameterPlugin.cpp.
| CParameterPlugin::PromptType CParameterPlugin::GetPromptType | ( | ) | const |
Definition at line 240 of file ParameterPlugin.cpp.
| QString CParameterPlugin::GetRestoreDesktopShortcutsScript | ( | ) | const |
Definition at line 146 of file ParameterPlugin.cpp.
| const bool & CParameterPlugin::GetSavePassword | ( | ) | const |
Definition at line 226 of file ParameterPlugin.cpp.
| bool CParameterPlugin::GetUseSystemCredential | ( | ) | const |
Definition at line 282 of file ParameterPlugin.cpp.
| bool CParameterPlugin::GetViewPassowrd | ( | ) | const |
Definition at line 268 of file ParameterPlugin.cpp.
|
overrideprotectedvirtual |
Implements CParameter.
Definition at line 49 of file ParameterPlugin.cpp.
|
overrideprotectedvirtual |
Implements CParameter.
Definition at line 94 of file ParameterPlugin.cpp.
| void CParameterPlugin::SetAdaptWindows | ( | CFrmViewer::ADAPT_WINDOWS | aw | ) |
Definition at line 314 of file ParameterPlugin.cpp.
| void CParameterPlugin::SetCaptureAllKeyboard | ( | bool | bCapture | ) |
Definition at line 124 of file ParameterPlugin.cpp.
| void CParameterPlugin::SetDesktopShortcutsScript | ( | bool | newDesktopShortcutsScript | ) |
Definition at line 138 of file ParameterPlugin.cpp.
| void CParameterPlugin::SetDisableDesktopShortcutsScript | ( | const QString & | newDisableDesktopShortcutsScript | ) |
Definition at line 164 of file ParameterPlugin.cpp.
| void CParameterPlugin::SetEnableLocalInputMethod | ( | bool | enable | ) |
Definition at line 177 of file ParameterPlugin.cpp.
| void CParameterPlugin::SetEnableSetPluginsPath | ( | bool | newEnableSetPluginsPath | ) |
Definition at line 328 of file ParameterPlugin.cpp.
| void CParameterPlugin::SetEnableSystemUserToUser | ( | bool | enable | ) |
Definition at line 204 of file ParameterPlugin.cpp.
| void CParameterPlugin::SetEncryptKey | ( | const QString & | newPassword | ) |
Definition at line 217 of file ParameterPlugin.cpp.
| void CParameterPlugin::SetNameStyles | ( | const NameStyles & | newNameStyles | ) |
Definition at line 300 of file ParameterPlugin.cpp.
| void CParameterPlugin::SetOnlyLoadInWhitelist | ( | bool | newOnlyLoadInWhitelist | ) |
Definition at line 351 of file ParameterPlugin.cpp.
| void CParameterPlugin::SetPluginsPath | ( | const QStringList & | newPluginsPath | ) |
Definition at line 341 of file ParameterPlugin.cpp.
| void CParameterPlugin::SetPromptAdministratorPrivilege | ( | bool | bShow | ) |
Definition at line 190 of file ParameterPlugin.cpp.
| void CParameterPlugin::SetPromptCount | ( | int | NewPromptCount | ) |
Definition at line 259 of file ParameterPlugin.cpp.
| void CParameterPlugin::SetPromptType | ( | PromptType | NewPromptType | ) |
Definition at line 245 of file ParameterPlugin.cpp.
| void CParameterPlugin::SetRestoreDesktopShortcutsScript | ( | const QString & | newRestoreDesktopShortcutsScript | ) |
Definition at line 151 of file ParameterPlugin.cpp.
| void CParameterPlugin::SetSavePassword | ( | bool | NewAutoSavePassword | ) |
Definition at line 231 of file ParameterPlugin.cpp.
| void CParameterPlugin::SetUseSystemCredential | ( | bool | newUseSystemCredential | ) |
Definition at line 287 of file ParameterPlugin.cpp.
| void CParameterPlugin::SetViewPassowrd | ( | bool | NewViewPassowrd | ) |
Definition at line 273 of file ParameterPlugin.cpp.
|
private |
Definition at line 190 of file ParameterPlugin.h.
|
private |
Definition at line 68 of file ParameterPlugin.h.
|
private |
Definition at line 74 of file ParameterPlugin.h.
|
private |
Definition at line 90 of file ParameterPlugin.h.
|
private |
Definition at line 197 of file ParameterPlugin.h.
|
private |
Definition at line 105 of file ParameterPlugin.h.
| CParameterFilter CParameterPlugin::m_BlackList |
Definition at line 205 of file ParameterPlugin.h.
|
private |
Definition at line 208 of file ParameterPlugin.h.
|
private |
Definition at line 98 of file ParameterPlugin.h.
|
private |
Definition at line 124 of file ParameterPlugin.h.
|
private |
Definition at line 164 of file ParameterPlugin.h.
|
private |
Definition at line 157 of file ParameterPlugin.h.
| CParameterMediaDevices CParameterPlugin::m_MediaDevices |
Definition at line 215 of file ParameterPlugin.h.
|
private |
Definition at line 181 of file ParameterPlugin.h.
|
private |
Definition at line 148 of file ParameterPlugin.h.
|
private |
Definition at line 50 of file ParameterPlugin.h.
|
private |
Definition at line 139 of file ParameterPlugin.h.
| CParameterRecord CParameterPlugin::m_Record |
Definition at line 214 of file ParameterPlugin.h.
|
private |
Definition at line 79 of file ParameterPlugin.h.
|
private |
Definition at line 114 of file ParameterPlugin.h.
|
private |
Definition at line 207 of file ParameterPlugin.h.
|
private |
Definition at line 84 of file ParameterPlugin.h.
| CParameterFilter CParameterPlugin::m_WhiteList |
Definition at line 204 of file ParameterPlugin.h.
|
readwrite |
Definition at line 191 of file ParameterPlugin.h.
|
readwrite |
Definition at line 115 of file ParameterPlugin.h.
|
readwrite |
Definition at line 149 of file ParameterPlugin.h.
|
readwrite |
Definition at line 140 of file ParameterPlugin.h.
|
readwrite |
Definition at line 125 of file ParameterPlugin.h.
|
readwrite |
Definition at line 158 of file ParameterPlugin.h.