Rabbit Remote Control 0.0.37
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | List of all members
CParameterSSH Class Reference
Inheritance diagram for CParameterSSH:
Inheritance graph
[legend]
Collaboration diagram for CParameterSSH:
Collaboration graph
[legend]

Public Member Functions

 CParameterSSH (CParameterOperate *parent=nullptr, const QString &szPrefix=QString())
 
QString GetPcapFile () const
 
int SetPcapFile (const QString &szFile)
 
- Public Member Functions inherited from CParameterOperate
 CParameterOperate (QObject *parent=nullptr, const QString &szPrefix=QString())
 
CParameterPluginGetGlobalParameters ()
 Get CParameterPlugin.
 
int SetGlobalParameters (CParameterPlugin *p)
 
- 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

CParameterNet m_Net
 

Protected Member Functions

virtual int OnLoad (QSettings &set) override
 
virtual int OnSave (QSettings &set) override
 
- Protected Member Functions inherited from CParameterOperate
QByteArray PasswordSum (const std::string &password, const std::string &key)
 
int LoadPassword (const QString &szTitle, const QString &szKey, QString &password, QSettings &set)
 
int SavePassword (const QString &szKey, const QString &password, QSettings &set, bool bSave=false)
 
- 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.
 

Private Attributes

QString m_pcapFile
 

Additional Inherited Members

- Signals inherited from CParameterOperate
void sigSetGlobalParameters ()
 Only used by this class.
 
- Signals inherited from CParameter
void sigChanged ()
 emit when the parameter changes Usually if required, the corresponding parameter corresponds to a change event.
 
- Protected Slots inherited from CParameterOperate
virtual void slotSetGlobalParameters ()
 Call after set CParameterPlugin.
 
- Properties inherited from CParameter
bool Modified
 

Detailed Description

Definition at line 7 of file ParameterSSH.h.

Constructor & Destructor Documentation

◆ CParameterSSH()

CParameterSSH::CParameterSSH ( CParameterOperate parent = nullptr,
const QString &  szPrefix = QString() 
)
explicit

Definition at line 5 of file ParameterSSH.cpp.

Member Function Documentation

◆ GetPcapFile()

QString CParameterSSH::GetPcapFile ( ) const

Definition at line 29 of file ParameterSSH.cpp.

◆ OnLoad()

int CParameterSSH::OnLoad ( QSettings &  set)
overrideprotectedvirtual

Implements CParameter.

Definition at line 17 of file ParameterSSH.cpp.

◆ OnSave()

int CParameterSSH::OnSave ( QSettings &  set)
overrideprotectedvirtual

Implements CParameter.

Definition at line 23 of file ParameterSSH.cpp.

◆ SetPcapFile()

int CParameterSSH::SetPcapFile ( const QString &  szFile)

Definition at line 34 of file ParameterSSH.cpp.

Member Data Documentation

◆ m_Net

CParameterNet CParameterSSH::m_Net

Definition at line 14 of file ParameterSSH.h.

◆ m_pcapFile

QString CParameterSSH::m_pcapFile
private

Definition at line 19 of file ParameterSSH.h.


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