玉兔远程控制 0.1.0-bate10
载入中...
搜索中...
未找到
Public 成员函数 | Protected 成员函数 | Private 属性 | 所有成员列表
CParameterSftpServer类 参考
类 CParameterSftpServer 继承关系图:
Inheritance graph
[图例]
CParameterSftpServer 的协作图:
Collaboration graph
[图例]

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())
 
CParameterPluginGetPluginParameters ()
 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.h7 行定义.

构造及析构函数说明

◆ CParameterSftpServer()

CParameterSftpServer::CParameterSftpServer ( QObject *  parent = nullptr,
const QString &  szPrefix = QString() 
)
explicit

在文件 ParameterSftpServer.cpp5 行定义.

成员函数说明

◆ GetAnonymousLogin()

bool CParameterSftpServer::GetAnonymousLogin ( ) const

在文件 ParameterSftpServer.cpp44 行定义.

◆ GetReadOnly()

bool CParameterSftpServer::GetReadOnly ( ) const

在文件 ParameterSftpServer.cpp57 行定义.

◆ GetRoot()

QString CParameterSftpServer::GetRoot ( ) const

在文件 ParameterSftpServer.cpp70 行定义.

◆ OnLoad()

int CParameterSftpServer::OnLoad ( QSettings &  set)
overrideprotectedvirtual

重载 CParameterServer .

在文件 ParameterSftpServer.cpp22 行定义.

◆ OnSave()

int CParameterSftpServer::OnSave ( QSettings &  set)
overrideprotectedvirtual

重载 CParameterServer .

在文件 ParameterSftpServer.cpp33 行定义.

◆ SetAnonymousLogin()

void CParameterSftpServer::SetAnonymousLogin ( bool  newAnonymousLogin)

在文件 ParameterSftpServer.cpp49 行定义.

◆ SetReadOnly()

void CParameterSftpServer::SetReadOnly ( bool  newReadOnly)

在文件 ParameterSftpServer.cpp62 行定义.

◆ SetRoot()

void CParameterSftpServer::SetRoot ( const QString &  newRoot)

在文件 ParameterSftpServer.cpp75 行定义.

类成员变量说明

◆ m_bAnonymousLogin

bool CParameterSftpServer::m_bAnonymousLogin
private

在文件 ParameterSftpServer.h19 行定义.

◆ m_bReadOnly

bool CParameterSftpServer::m_bReadOnly
private

在文件 ParameterSftpServer.h24 行定义.

◆ m_szRoot

QString CParameterSftpServer::m_szRoot
private

在文件 ParameterSftpServer.h29 行定义.


该类的文档由以下文件生成: