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

The parameters of client. More...

#include <ParameterClient.h>

Inheritance diagram for CParameterClient:
CParameter

Public Types

enum class  PromptType { No , First , Always }
 

Signals

void sigHookKeyboardChanged ()
 
void sigHookShowAdministratorPrivilege ()
 
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

 CParameterClient (QObject *parent=nullptr)
 
bool GetHookKeyboard () const
 
void SetHookKeyboard (bool newHookKeyboard)
 
bool GetHookShowAdministratorPrivilege ()
 
void SetHookShowAdministratorPrivilege (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 GetShowProtocolPrefix () const
 
void SetShowProtocolPrefix (bool bShowProtocolPrefix)
 
bool GetShowIpPortInName () const
 
void SetShowIpPortInName (bool bShowIpPortInName)
 
CFrmViewer::ADAPT_WINDOWS GetAdaptWindows ()
 
void SetAdaptWindows (CFrmViewer::ADAPT_WINDOWS aw)
 
- 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 storage.
 
virtual int Save (QSettings &set, bool bForce=true)
 Save to storage.
 
virtual bool CheckValidity ()
 Check whether the parameter is valid to decide whether to use or save the parameter.
 

Public Attributes

CParameterRecord m_Record
 

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

bool HookKeyboard
 
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

bool m_bHookKeyboard
 
bool m_bHookShowAdministratorPrivilege
 
bool m_bEnableSystemUserToUser
 
QString m_szEncryptKey
 
bool m_bSavePassword
 
PromptType m_PromptType
 
int m_nPromptCount
 
bool m_bViewPassowrd
 
bool m_bShowProtocolPrefix
 
bool m_bShowIpPortInName
 
CFrmViewer::ADAPT_WINDOWS m_AdaptWindows
 

Detailed Description

The parameters of client.

See also
CClient::CreateConnecter CConnecter::CConnecter CConnecter::SetParameterClient CConnecter::SetParameter CParameterConnecter

Definition at line 35 of file ParameterClient.h.

Member Enumeration Documentation

◆ PromptType

enum class CParameterClient::PromptType
strong

Definition at line 99 of file ParameterClient.h.

Constructor & Destructor Documentation

◆ CParameterClient()

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

Definition at line 3 of file ParameterClient.cpp.

◆ ~CParameterClient()

CParameterClient::~CParameterClient ( )
virtual

Definition at line 18 of file ParameterClient.cpp.

Member Function Documentation

◆ GetAdaptWindows()

CFrmViewer::ADAPT_WINDOWS CParameterClient::GetAdaptWindows ( )

Definition at line 198 of file ParameterClient.cpp.

◆ GetEnableSystemUserToUser()

bool CParameterClient::GetEnableSystemUserToUser ( ) const

Definition at line 87 of file ParameterClient.cpp.

◆ GetEncryptKey()

const QString & CParameterClient::GetEncryptKey ( ) const

Definition at line 100 of file ParameterClient.cpp.

◆ GetHookKeyboard()

bool CParameterClient::GetHookKeyboard ( ) const

Definition at line 59 of file ParameterClient.cpp.

◆ GetHookShowAdministratorPrivilege()

bool CParameterClient::GetHookShowAdministratorPrivilege ( )

Definition at line 73 of file ParameterClient.cpp.

◆ GetPromptCount()

int CParameterClient::GetPromptCount ( ) const

Definition at line 142 of file ParameterClient.cpp.

◆ GetPromptType()

CParameterClient::PromptType CParameterClient::GetPromptType ( ) const

Definition at line 128 of file ParameterClient.cpp.

◆ GetSavePassword()

const bool & CParameterClient::GetSavePassword ( ) const

Definition at line 114 of file ParameterClient.cpp.

◆ GetShowIpPortInName()

bool CParameterClient::GetShowIpPortInName ( ) const

Definition at line 184 of file ParameterClient.cpp.

◆ GetShowProtocolPrefix()

bool CParameterClient::GetShowProtocolPrefix ( ) const

Definition at line 170 of file ParameterClient.cpp.

◆ GetViewPassowrd()

bool CParameterClient::GetViewPassowrd ( ) const

Definition at line 156 of file ParameterClient.cpp.

◆ OnLoad()

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

Implements CParameter.

Definition at line 21 of file ParameterClient.cpp.

◆ OnSave()

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

Implements CParameter.

Definition at line 44 of file ParameterClient.cpp.

◆ SetAdaptWindows()

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

Definition at line 203 of file ParameterClient.cpp.

◆ SetEnableSystemUserToUser()

void CParameterClient::SetEnableSystemUserToUser ( bool  enable)

Definition at line 92 of file ParameterClient.cpp.

◆ SetEncryptKey()

void CParameterClient::SetEncryptKey ( const QString &  newPassword)

Definition at line 105 of file ParameterClient.cpp.

◆ SetHookKeyboard()

void CParameterClient::SetHookKeyboard ( bool  newHookKeyboard)

Definition at line 64 of file ParameterClient.cpp.

◆ SetHookShowAdministratorPrivilege()

void CParameterClient::SetHookShowAdministratorPrivilege ( bool  bShow)

Definition at line 78 of file ParameterClient.cpp.

◆ SetPromptCount()

void CParameterClient::SetPromptCount ( int  NewPromptCount)

Definition at line 147 of file ParameterClient.cpp.

◆ SetPromptType()

void CParameterClient::SetPromptType ( PromptType  NewPromptType)

Definition at line 133 of file ParameterClient.cpp.

◆ SetSavePassword()

void CParameterClient::SetSavePassword ( bool  NewAutoSavePassword)

Definition at line 119 of file ParameterClient.cpp.

◆ SetShowIpPortInName()

void CParameterClient::SetShowIpPortInName ( bool  bShowIpPortInName)

Definition at line 189 of file ParameterClient.cpp.

◆ SetShowProtocolPrefix()

void CParameterClient::SetShowProtocolPrefix ( bool  bShowProtocolPrefix)

Definition at line 175 of file ParameterClient.cpp.

◆ SetViewPassowrd()

void CParameterClient::SetViewPassowrd ( bool  NewViewPassowrd)

Definition at line 161 of file ParameterClient.cpp.

Member Data Documentation

◆ m_AdaptWindows

CFrmViewer::ADAPT_WINDOWS CParameterClient::m_AdaptWindows
private

Definition at line 158 of file ParameterClient.h.

◆ m_bEnableSystemUserToUser

bool CParameterClient::m_bEnableSystemUserToUser
private

Definition at line 76 of file ParameterClient.h.

◆ m_bHookKeyboard

bool CParameterClient::m_bHookKeyboard
private

Definition at line 59 of file ParameterClient.h.

◆ m_bHookShowAdministratorPrivilege

bool CParameterClient::m_bHookShowAdministratorPrivilege
private

Definition at line 69 of file ParameterClient.h.

◆ m_bSavePassword

bool CParameterClient::m_bSavePassword
private

Definition at line 95 of file ParameterClient.h.

◆ m_bShowIpPortInName

bool CParameterClient::m_bShowIpPortInName
private

Definition at line 149 of file ParameterClient.h.

◆ m_bShowProtocolPrefix

bool CParameterClient::m_bShowProtocolPrefix
private

Definition at line 140 of file ParameterClient.h.

◆ m_bViewPassowrd

bool CParameterClient::m_bViewPassowrd
private

Definition at line 129 of file ParameterClient.h.

◆ m_nPromptCount

int CParameterClient::m_nPromptCount
private

Definition at line 120 of file ParameterClient.h.

◆ m_PromptType

PromptType CParameterClient::m_PromptType
private

Definition at line 111 of file ParameterClient.h.

◆ m_Record

CParameterRecord CParameterClient::m_Record

Definition at line 162 of file ParameterClient.h.

◆ m_szEncryptKey

QString CParameterClient::m_szEncryptKey
private

Definition at line 85 of file ParameterClient.h.

Property Documentation

◆ AdaptWindows

CFrmViewer::ADAPT_WINDOWS CParameterClient::AdaptWindows
readwrite

Definition at line 159 of file ParameterClient.h.

◆ EncryptKey

QString CParameterClient::EncryptKey
readwrite

Definition at line 86 of file ParameterClient.h.

◆ HookKeyboard

bool CParameterClient::HookKeyboard
readwrite

Definition at line 60 of file ParameterClient.h.

◆ PromptCount

int CParameterClient::PromptCount
readwrite

Definition at line 121 of file ParameterClient.h.

◆ PromptType

PromptType CParameterClient::PromptType
readwrite

Definition at line 112 of file ParameterClient.h.

◆ SavePassword

bool CParameterClient::SavePassword
readwrite

Definition at line 96 of file ParameterClient.h.

◆ ShowIpPortInName

bool CParameterClient::ShowIpPortInName
readwrite

Definition at line 150 of file ParameterClient.h.

◆ ShowProtocolPrefix

bool CParameterClient::ShowProtocolPrefix
readwrite

Definition at line 141 of file ParameterClient.h.

◆ ViewPassowrd

bool CParameterClient::ViewPassowrd
readwrite

Definition at line 130 of file ParameterClient.h.


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