Rabbit Remote Control 0.1.0-bate6
Loading...
Searching...
No Matches
Public Types | Signals | Public Member Functions | Public Attributes | Protected Member Functions | Properties | Private Attributes | List of all members
CParameterPlugin Class Reference

Global parameters of plugins. More...

#include <ParameterPlugin.h>

Inheritance diagram for CParameterPlugin:
Inheritance graph
[legend]
Collaboration diagram for CParameterPlugin:
Collaboration graph
[legend]

Public Types

enum class  PromptType { No , First }
 

Signals

void sigCaptureAllKeyboard ()
 
void sigPromptAdministratorPrivilege ()
 
void sigEncryptKeyChanged ()
 
void sigSavePasswordChanged (bool AutoSavePassword)
 
void sigPromptTypeChanged (PromptType PromptType)
 
void sigPromptCountChanged (int PromptCount)
 
void sigViewPassowrdChanged (bool ViewPassowrd)
 
void sigShowProtocolPrefixChanged ()
 
void sigSHowIpPortInNameChanged ()
 
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)
 
CParameterGlobalGetGlobalParameters ()
 
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)
 
bool GetShowProtocolPrefix () const
 
void SetShowProtocolPrefix (bool bShowProtocolPrefix)
 
bool GetShowIpPortInName () const
 
void SetShowIpPortInName (bool bShowIpPortInName)
 
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=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 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
 
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
 
bool ShowProtocolPrefix
 
bool ShowIpPortInName
 
CFrmViewer::ADAPT_WINDOWS AdaptWindows
 
- Properties inherited from CParameter
bool Modified
 

Private Attributes

CParameterGlobal m_GlobalParameter
 
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
 
bool m_bShowProtocolPrefix
 
bool m_bShowIpPortInName
 
CFrmViewer::ADAPT_WINDOWS m_AdaptWindows
 
bool m_bEnableSetPluginsPath
 
QStringList m_szPluginsPath
 
bool m_bOnlyLoadInWhitelist
 

Detailed Description

Global parameters of plugins.

See also
COperate::SetGlobalParameters CParameterGlobal

Definition at line 33 of file ParameterPlugin.h.

Member Enumeration Documentation

◆ PromptType

enum class CParameterPlugin::PromptType
strong

Definition at line 122 of file ParameterPlugin.h.

Constructor & Destructor Documentation

◆ CParameterPlugin()

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

Definition at line 7 of file ParameterPlugin.cpp.

◆ ~CParameterPlugin()

CParameterPlugin::~CParameterPlugin ( )
virtual

Definition at line 35 of file ParameterPlugin.cpp.

Member Function Documentation

◆ GetAdaptWindows()

CFrmViewer::ADAPT_WINDOWS CParameterPlugin::GetAdaptWindows ( )

Definition at line 321 of file ParameterPlugin.cpp.

◆ GetCaptureAllKeyboard()

bool CParameterPlugin::GetCaptureAllKeyboard ( ) const

Definition at line 117 of file ParameterPlugin.cpp.

◆ GetDesktopShortcutsScript()

bool CParameterPlugin::GetDesktopShortcutsScript ( ) const

Definition at line 131 of file ParameterPlugin.cpp.

◆ GetDisableDesktopShortcutsScript()

QString CParameterPlugin::GetDisableDesktopShortcutsScript ( ) const

Definition at line 157 of file ParameterPlugin.cpp.

◆ GetEnableLocalInputMethod()

bool CParameterPlugin::GetEnableLocalInputMethod ( ) const

Definition at line 170 of file ParameterPlugin.cpp.

◆ GetEnableSetPluginsPath()

bool CParameterPlugin::GetEnableSetPluginsPath ( ) const

Definition at line 335 of file ParameterPlugin.cpp.

◆ GetEnableSystemUserToUser()

bool CParameterPlugin::GetEnableSystemUserToUser ( ) const

Definition at line 197 of file ParameterPlugin.cpp.

◆ GetEncryptKey()

const QString & CParameterPlugin::GetEncryptKey ( ) const

Definition at line 210 of file ParameterPlugin.cpp.

◆ GetGlobalParameters()

CParameterGlobal * CParameterPlugin::GetGlobalParameters ( )

Definition at line 38 of file ParameterPlugin.cpp.

◆ GetOnlyLoadInWhitelist()

bool CParameterPlugin::GetOnlyLoadInWhitelist ( ) const

Definition at line 358 of file ParameterPlugin.cpp.

◆ GetPluginsPath()

QStringList CParameterPlugin::GetPluginsPath ( ) const

Definition at line 348 of file ParameterPlugin.cpp.

◆ GetPromptAdministratorPrivilege()

bool CParameterPlugin::GetPromptAdministratorPrivilege ( )

Definition at line 183 of file ParameterPlugin.cpp.

◆ GetPromptCount()

int CParameterPlugin::GetPromptCount ( ) const

Definition at line 252 of file ParameterPlugin.cpp.

◆ GetPromptType()

CParameterPlugin::PromptType CParameterPlugin::GetPromptType ( ) const

Definition at line 238 of file ParameterPlugin.cpp.

◆ GetRestoreDesktopShortcutsScript()

QString CParameterPlugin::GetRestoreDesktopShortcutsScript ( ) const

Definition at line 144 of file ParameterPlugin.cpp.

◆ GetSavePassword()

const bool & CParameterPlugin::GetSavePassword ( ) const

Definition at line 224 of file ParameterPlugin.cpp.

◆ GetShowIpPortInName()

bool CParameterPlugin::GetShowIpPortInName ( ) const

Definition at line 307 of file ParameterPlugin.cpp.

◆ GetShowProtocolPrefix()

bool CParameterPlugin::GetShowProtocolPrefix ( ) const

Definition at line 293 of file ParameterPlugin.cpp.

◆ GetUseSystemCredential()

bool CParameterPlugin::GetUseSystemCredential ( ) const

Definition at line 280 of file ParameterPlugin.cpp.

◆ GetViewPassowrd()

bool CParameterPlugin::GetViewPassowrd ( ) const

Definition at line 266 of file ParameterPlugin.cpp.

◆ OnLoad()

int CParameterPlugin::OnLoad ( QSettings &  set)
overrideprotectedvirtual
See also
CClient::LoadSettings

Implements CParameter.

Definition at line 43 of file ParameterPlugin.cpp.

◆ OnSave()

int CParameterPlugin::OnSave ( QSettings &  set)
overrideprotectedvirtual
See also
CClient::SaveSettings

Implements CParameter.

Definition at line 87 of file ParameterPlugin.cpp.

◆ SetAdaptWindows()

void CParameterPlugin::SetAdaptWindows ( CFrmViewer::ADAPT_WINDOWS  aw)

Definition at line 326 of file ParameterPlugin.cpp.

◆ SetCaptureAllKeyboard()

void CParameterPlugin::SetCaptureAllKeyboard ( bool  bCapture)

Definition at line 122 of file ParameterPlugin.cpp.

◆ SetDesktopShortcutsScript()

void CParameterPlugin::SetDesktopShortcutsScript ( bool  newDesktopShortcutsScript)

Definition at line 136 of file ParameterPlugin.cpp.

◆ SetDisableDesktopShortcutsScript()

void CParameterPlugin::SetDisableDesktopShortcutsScript ( const QString &  newDisableDesktopShortcutsScript)

Definition at line 162 of file ParameterPlugin.cpp.

◆ SetEnableLocalInputMethod()

void CParameterPlugin::SetEnableLocalInputMethod ( bool  enable)

Definition at line 175 of file ParameterPlugin.cpp.

◆ SetEnableSetPluginsPath()

void CParameterPlugin::SetEnableSetPluginsPath ( bool  newEnableSetPluginsPath)

Definition at line 340 of file ParameterPlugin.cpp.

◆ SetEnableSystemUserToUser()

void CParameterPlugin::SetEnableSystemUserToUser ( bool  enable)

Definition at line 202 of file ParameterPlugin.cpp.

◆ SetEncryptKey()

void CParameterPlugin::SetEncryptKey ( const QString &  newPassword)

Definition at line 215 of file ParameterPlugin.cpp.

◆ SetOnlyLoadInWhitelist()

void CParameterPlugin::SetOnlyLoadInWhitelist ( bool  newOnlyLoadInWhitelist)

Definition at line 363 of file ParameterPlugin.cpp.

◆ SetPluginsPath()

void CParameterPlugin::SetPluginsPath ( const QStringList &  newPluginsPath)

Definition at line 353 of file ParameterPlugin.cpp.

◆ SetPromptAdministratorPrivilege()

void CParameterPlugin::SetPromptAdministratorPrivilege ( bool  bShow)

Definition at line 188 of file ParameterPlugin.cpp.

◆ SetPromptCount()

void CParameterPlugin::SetPromptCount ( int  NewPromptCount)

Definition at line 257 of file ParameterPlugin.cpp.

◆ SetPromptType()

void CParameterPlugin::SetPromptType ( PromptType  NewPromptType)

Definition at line 243 of file ParameterPlugin.cpp.

◆ SetRestoreDesktopShortcutsScript()

void CParameterPlugin::SetRestoreDesktopShortcutsScript ( const QString &  newRestoreDesktopShortcutsScript)

Definition at line 149 of file ParameterPlugin.cpp.

◆ SetSavePassword()

void CParameterPlugin::SetSavePassword ( bool  NewAutoSavePassword)

Definition at line 229 of file ParameterPlugin.cpp.

◆ SetShowIpPortInName()

void CParameterPlugin::SetShowIpPortInName ( bool  bShowIpPortInName)

Definition at line 312 of file ParameterPlugin.cpp.

◆ SetShowProtocolPrefix()

void CParameterPlugin::SetShowProtocolPrefix ( bool  bShowProtocolPrefix)

Definition at line 298 of file ParameterPlugin.cpp.

◆ SetUseSystemCredential()

void CParameterPlugin::SetUseSystemCredential ( bool  newUseSystemCredential)

Definition at line 285 of file ParameterPlugin.cpp.

◆ SetViewPassowrd()

void CParameterPlugin::SetViewPassowrd ( bool  NewViewPassowrd)

Definition at line 271 of file ParameterPlugin.cpp.

Member Data Documentation

◆ m_AdaptWindows

CFrmViewer::ADAPT_WINDOWS CParameterPlugin::m_AdaptWindows
private

Definition at line 186 of file ParameterPlugin.h.

◆ m_bCaptureAllKeyboard

bool CParameterPlugin::m_bCaptureAllKeyboard
private

Definition at line 62 of file ParameterPlugin.h.

◆ m_bDesktopShortcutsScript

bool CParameterPlugin::m_bDesktopShortcutsScript
private

Definition at line 68 of file ParameterPlugin.h.

◆ m_bEnableLocalInputMethod

bool CParameterPlugin::m_bEnableLocalInputMethod
private

Definition at line 84 of file ParameterPlugin.h.

◆ m_bEnableSetPluginsPath

bool CParameterPlugin::m_bEnableSetPluginsPath
private

Definition at line 193 of file ParameterPlugin.h.

◆ m_bEnableSystemUserToUser

bool CParameterPlugin::m_bEnableSystemUserToUser
private

Definition at line 99 of file ParameterPlugin.h.

◆ m_BlackList

CParameterFilter CParameterPlugin::m_BlackList

Definition at line 201 of file ParameterPlugin.h.

◆ m_bOnlyLoadInWhitelist

bool CParameterPlugin::m_bOnlyLoadInWhitelist
private

Definition at line 204 of file ParameterPlugin.h.

◆ m_bPromptAdministratorPrivilege

bool CParameterPlugin::m_bPromptAdministratorPrivilege
private

Definition at line 92 of file ParameterPlugin.h.

◆ m_bSavePassword

bool CParameterPlugin::m_bSavePassword
private

Definition at line 118 of file ParameterPlugin.h.

◆ m_bShowIpPortInName

bool CParameterPlugin::m_bShowIpPortInName
private

Definition at line 177 of file ParameterPlugin.h.

◆ m_bShowProtocolPrefix

bool CParameterPlugin::m_bShowProtocolPrefix
private

Definition at line 168 of file ParameterPlugin.h.

◆ m_bUseSystemCredential

bool CParameterPlugin::m_bUseSystemCredential
private

Definition at line 158 of file ParameterPlugin.h.

◆ m_bViewPassowrd

bool CParameterPlugin::m_bViewPassowrd
private

Definition at line 151 of file ParameterPlugin.h.

◆ m_GlobalParameter

CParameterGlobal CParameterPlugin::m_GlobalParameter
private

Definition at line 44 of file ParameterPlugin.h.

◆ m_MediaDevices

CParameterMediaDevices CParameterPlugin::m_MediaDevices

Definition at line 208 of file ParameterPlugin.h.

◆ m_nPromptCount

int CParameterPlugin::m_nPromptCount
private

Definition at line 142 of file ParameterPlugin.h.

◆ m_PromptType

PromptType CParameterPlugin::m_PromptType
private

Definition at line 133 of file ParameterPlugin.h.

◆ m_Record

CParameterRecord CParameterPlugin::m_Record

Definition at line 207 of file ParameterPlugin.h.

◆ m_szDisableDesktopShortcutsScript

QString CParameterPlugin::m_szDisableDesktopShortcutsScript
private

Definition at line 73 of file ParameterPlugin.h.

◆ m_szEncryptKey

QString CParameterPlugin::m_szEncryptKey
private

Definition at line 108 of file ParameterPlugin.h.

◆ m_szPluginsPath

QStringList CParameterPlugin::m_szPluginsPath
private

Definition at line 203 of file ParameterPlugin.h.

◆ m_szRestoreDesktopShortcutsScript

QString CParameterPlugin::m_szRestoreDesktopShortcutsScript
private

Definition at line 78 of file ParameterPlugin.h.

◆ m_WhiteList

CParameterFilter CParameterPlugin::m_WhiteList

Definition at line 200 of file ParameterPlugin.h.

Property Documentation

◆ AdaptWindows

CFrmViewer::ADAPT_WINDOWS CParameterPlugin::AdaptWindows
readwrite

Definition at line 187 of file ParameterPlugin.h.

◆ EncryptKey

QString CParameterPlugin::EncryptKey
readwrite

Definition at line 109 of file ParameterPlugin.h.

◆ PromptCount

int CParameterPlugin::PromptCount
readwrite

Definition at line 143 of file ParameterPlugin.h.

◆ PromptType

PromptType CParameterPlugin::PromptType
readwrite

Definition at line 134 of file ParameterPlugin.h.

◆ SavePassword

bool CParameterPlugin::SavePassword
readwrite

Definition at line 119 of file ParameterPlugin.h.

◆ ShowIpPortInName

bool CParameterPlugin::ShowIpPortInName
readwrite

Definition at line 178 of file ParameterPlugin.h.

◆ ShowProtocolPrefix

bool CParameterPlugin::ShowProtocolPrefix
readwrite

Definition at line 169 of file ParameterPlugin.h.

◆ ViewPassowrd

bool CParameterPlugin::ViewPassowrd
readwrite

Definition at line 152 of file ParameterPlugin.h.


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