|
Rabbit Remote Control 0.1.0-bate1
|


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()) | |
| CParameterPlugin * | GetGlobalParameters () |
| Get CParameterPlugin. | |
| int | SetGlobalParameters (CParameterPlugin *p) |
| const QString | GetName () const |
| void | SetName (const QString &szName) |
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. | |
| void | sigNameChanged (const QString &name=QString()) |
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 |
Definition at line 27 of file ParameterSSH.h.
|
explicit |
Definition at line 40 of file ParameterSSH.cpp.
| QString CParameterSSHTunnel::GetSourceHost | ( | ) | const |
Definition at line 46 of file ParameterSSH.cpp.
| quint16 CParameterSSHTunnel::GetSourcePort | ( | ) | const |
Definition at line 57 of file ParameterSSH.cpp.
|
overrideprotectedvirtual |
Reimplemented from CParameterSSH.
Definition at line 68 of file ParameterSSH.cpp.
|
overrideprotectedvirtual |
Reimplemented from CParameterSSH.
Definition at line 75 of file ParameterSSH.cpp.
| int CParameterSSHTunnel::SetSourceHost | ( | const QString | szHost | ) |
Definition at line 51 of file ParameterSSH.cpp.
| int CParameterSSHTunnel::SetSourcePort | ( | const quint16 | nPort | ) |
Definition at line 62 of file ParameterSSH.cpp.
|
private |
Definition at line 43 of file ParameterSSH.h.
|
private |
Definition at line 42 of file ParameterSSH.h.