|
Rabbit Remote Control 0.1.0-bate10
|


Public Member Functions | |
| CParameterFtpServer (QObject *parent=nullptr, const QString &szPrefix=QString()) | |
| bool | GetAnonymousLogin () const |
| void | SetAnonymousLogin (bool newAnonymousLogin) |
| bool | GetReadOnly () const |
| void | SetReadOnly (bool newReadOnly) |
| QString | GetRoot () const |
| void | SetRoot (const QString &newRoot) |
Public Member Functions inherited from CParameterServer | |
| CParameterServer (QObject *parent=nullptr, const QString &szPrefix=QString()) | |
| bool | GetAnonymousLogin () const |
| void | SetAnonymousLogin (bool newAnonymousLogin) |
| bool | GetReadOnly () const |
| void | SetReadOnly (bool newReadOnly) |
| QString | GetRoot () const |
| void | SetRoot (const QString &newRoot) |
| int | GetConnectCount () const |
| Connect count. | |
| void | SetConnectCount (int newConnectCount) |
| bool | GetListenAll () const |
| void | SetListenAll (bool newListenAll) |
| QStringList | GetListen () const |
| void | SetListen (const QStringList &newListen) |
| QString | GetHostKeyFile () const |
| void | SetHostKeyFile (const QString &key) |
| qint64 | GetAuthenticateTime () const |
| Get authenticate time out. | |
| void | SetAuthenticateTime (qint64 tm) |
| Set authenticate time out. | |
| int | GetAuthenticateAttempts () const |
| Get authenticate attempts. | |
| void | SetAuthenticateAttempts (int attempts) |
| Set authenticate attempts. | |
Public Member Functions inherited from CParameterOperate | |
| CParameterOperate (QObject *parent, const QString &szPrefix=QString()) | |
| CParameterPlugin * | GetPluginParameters () |
| Get CParameterPlugin. | |
| int | SetPluginParameters (CParameterPlugin *p) |
| const QString | GetName () const |
| void | SetName (const QString &szName) |
| int | LoadPassword (const QString &szTitle, const QString &szKey, QString &password, QSettings &set) |
| Restore password. | |
| int | SavePassword (const QString &szKey, const QString &password, QSettings &set, bool bSave=false) |
Public Member Functions inherited from CParameter | |
| CParameter (QObject *parent, 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) |
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 | |
| bool | m_bAnonymousLogin |
| bool | m_bReadOnly |
| QString | m_szRoot |
Additional Inherited Members | |
Signals inherited from CParameterOperate | |
| void | sigSetPluginParameters () |
| 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 CParameterServer | |
| CParameterNet | m_Net |
| CParameterFilter | m_WhiteFilter |
| CParameterFilter | m_BlackFilter |
Protected Slots inherited from CParameterServer | |
| virtual void | slotSetPluginParameters () override |
Protected Slots inherited from CParameterOperate | |
| virtual void | slotSetPluginParameters () |
| Call after set CParameterPlugin. | |
Properties inherited from CParameter | |
| bool | Modified |
Definition at line 6 of file ParameterFtpServer.h.
|
explicit |
Definition at line 5 of file ParameterFtpServer.cpp.
| bool CParameterFtpServer::GetAnonymousLogin | ( | ) | const |
Definition at line 40 of file ParameterFtpServer.cpp.
| bool CParameterFtpServer::GetReadOnly | ( | ) | const |
Definition at line 53 of file ParameterFtpServer.cpp.
| QString CParameterFtpServer::GetRoot | ( | ) | const |
Definition at line 66 of file ParameterFtpServer.cpp.
|
overrideprotectedvirtual |
Reimplemented from CParameterServer.
Definition at line 18 of file ParameterFtpServer.cpp.
|
overrideprotectedvirtual |
Reimplemented from CParameterServer.
Definition at line 29 of file ParameterFtpServer.cpp.
| void CParameterFtpServer::SetAnonymousLogin | ( | bool | newAnonymousLogin | ) |
Definition at line 45 of file ParameterFtpServer.cpp.
| void CParameterFtpServer::SetReadOnly | ( | bool | newReadOnly | ) |
Definition at line 58 of file ParameterFtpServer.cpp.
| void CParameterFtpServer::SetRoot | ( | const QString & | newRoot | ) |
Definition at line 71 of file ParameterFtpServer.cpp.
|
private |
Definition at line 17 of file ParameterFtpServer.h.
|
private |
Definition at line 22 of file ParameterFtpServer.h.
|
private |
Definition at line 27 of file ParameterFtpServer.h.