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

Public Member Functions

 CParameterSSHTunnel (CParameterOperate *parent=nullptr, const QString &szPrefix=QString())
 
QString GetSourceHost () const
 
int SetSourceHost (const QString szHost)
 
quint16 GetSourcePort () const
 
int SetSourcePort (const quint16 nPort)
 
- Public Member Functions inherited from CParameterSSH
 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.
 

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_szSourceHost
 
quint16 m_nSourcePort
 

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.
 
- Public Attributes inherited from CParameterSSH
CParameterNet m_Net
 
- Protected Slots inherited from CParameterOperate
virtual void slotSetGlobalParameters ()
 Call after set CParameterPlugin.
 
- Properties inherited from CParameter
bool Modified
 

Detailed Description

Definition at line 27 of file ParameterSSH.h.

Constructor & Destructor Documentation

◆ CParameterSSHTunnel()

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

Definition at line 40 of file ParameterSSH.cpp.

Member Function Documentation

◆ GetSourceHost()

QString CParameterSSHTunnel::GetSourceHost ( ) const

Definition at line 46 of file ParameterSSH.cpp.

◆ GetSourcePort()

quint16 CParameterSSHTunnel::GetSourcePort ( ) const

Definition at line 57 of file ParameterSSH.cpp.

◆ OnLoad()

int CParameterSSHTunnel::OnLoad ( QSettings &  set)
overrideprotectedvirtual

Reimplemented from CParameterSSH.

Definition at line 68 of file ParameterSSH.cpp.

◆ OnSave()

int CParameterSSHTunnel::OnSave ( QSettings &  set)
overrideprotectedvirtual

Reimplemented from CParameterSSH.

Definition at line 75 of file ParameterSSH.cpp.

◆ SetSourceHost()

int CParameterSSHTunnel::SetSourceHost ( const QString  szHost)

Definition at line 51 of file ParameterSSH.cpp.

◆ SetSourcePort()

int CParameterSSHTunnel::SetSourcePort ( const quint16  nPort)

Definition at line 62 of file ParameterSSH.cpp.

Member Data Documentation

◆ m_nSourcePort

quint16 CParameterSSHTunnel::m_nSourcePort
private

Definition at line 43 of file ParameterSSH.h.

◆ m_szSourceHost

QString CParameterSSHTunnel::m_szSourceHost
private

Definition at line 42 of file ParameterSSH.h.


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