|
玉兔远程控制 0.1.0-bate10
|


Public 成员函数 | |
| CParameterSftpServer (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 成员函数 继承自 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 成员函数 继承自 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 成员函数 继承自 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 () |
| 检查参数是否有效,以决定是否使用或者保存参数。 派生类一般只要重载 OnCheckValidity() ,用于检查参数。 | |
Protected 成员函数 | |
| virtual int | OnLoad (QSettings &set) override |
| virtual int | OnSave (QSettings &set) override |
Protected 成员函数 继承自 CParameterOperate | |
| QByteArray | PasswordSum (const std::string &password, const std::string &key) |
Protected 成员函数 继承自 CParameter | |
| virtual bool | OnCheckValidity () |
| 检查参数是否有效 | |
| int | SetModified (bool bModified=true) |
| 在设置参数时,如果有修改,则调用。 | |
| bool | GetModified () |
| 参数是否有修改 | |
Private 属性 | |
| bool | m_bAnonymousLogin |
| bool | m_bReadOnly |
| QString | m_szRoot |
额外继承的成员函数 | |
信号 继承自 CParameterOperate | |
| void | sigSetPluginParameters () |
| 仅由此类使用 | |
| void | sigNameChanged (const QString &name=QString()) |
信号 继承自 CParameter | |
| void | sigChanged () |
| 当参数改变时,触发 通常如果需要,则相应的参数会对应一个改变事件。 | |
Public 属性 继承自 CParameterServer | |
| CParameterNet | m_Net |
| CParameterFilter | m_WhiteFilter |
| CParameterFilter | m_BlackFilter |
Protected 槽 继承自 CParameterServer | |
| virtual void | slotSetPluginParameters () override |
Protected 槽 继承自 CParameterOperate | |
| virtual void | slotSetPluginParameters () |
| 设置 CParameterPlugin 后调用,用于初始化与 CParameterPlugin 有关的操作。 | |
属性 继承自 CParameter | |
| bool | Modified |
在文件 ParameterSftpServer.h 第 7 行定义.
|
explicit |
在文件 ParameterSftpServer.cpp 第 5 行定义.
| bool CParameterSftpServer::GetAnonymousLogin | ( | ) | const |
在文件 ParameterSftpServer.cpp 第 44 行定义.
| bool CParameterSftpServer::GetReadOnly | ( | ) | const |
在文件 ParameterSftpServer.cpp 第 57 行定义.
| QString CParameterSftpServer::GetRoot | ( | ) | const |
在文件 ParameterSftpServer.cpp 第 70 行定义.
|
overrideprotectedvirtual |
重载 CParameterServer .
在文件 ParameterSftpServer.cpp 第 22 行定义.
|
overrideprotectedvirtual |
重载 CParameterServer .
在文件 ParameterSftpServer.cpp 第 33 行定义.
| void CParameterSftpServer::SetAnonymousLogin | ( | bool | newAnonymousLogin | ) |
在文件 ParameterSftpServer.cpp 第 49 行定义.
| void CParameterSftpServer::SetReadOnly | ( | bool | newReadOnly | ) |
在文件 ParameterSftpServer.cpp 第 62 行定义.
| void CParameterSftpServer::SetRoot | ( | const QString & | newRoot | ) |
在文件 ParameterSftpServer.cpp 第 75 行定义.
|
private |
在文件 ParameterSftpServer.h 第 19 行定义.
|
private |
在文件 ParameterSftpServer.h 第 24 行定义.
|
private |
在文件 ParameterSftpServer.h 第 29 行定义.