玉兔远程控制 0.1.0-bate11
载入中...
搜索中...
未找到
CParameterFtpServer类 参考
类 CParameterFtpServer 继承关系图:
CParameterFtpServer 的协作图:

Public 成员函数

 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 成员函数 继承自 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

详细描述

在文件 ParameterFtpServer.h6 行定义.

构造及析构函数说明

◆ CParameterFtpServer()

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

在文件 ParameterFtpServer.cpp5 行定义.

成员函数说明

◆ GetAnonymousLogin()

bool CParameterFtpServer::GetAnonymousLogin ( ) const

在文件 ParameterFtpServer.cpp40 行定义.

◆ GetReadOnly()

bool CParameterFtpServer::GetReadOnly ( ) const

在文件 ParameterFtpServer.cpp53 行定义.

◆ GetRoot()

QString CParameterFtpServer::GetRoot ( ) const

在文件 ParameterFtpServer.cpp66 行定义.

◆ OnLoad()

int CParameterFtpServer::OnLoad ( QSettings & set)
overrideprotectedvirtual

重载 CParameterServer .

在文件 ParameterFtpServer.cpp18 行定义.

◆ OnSave()

int CParameterFtpServer::OnSave ( QSettings & set)
overrideprotectedvirtual

重载 CParameterServer .

在文件 ParameterFtpServer.cpp29 行定义.

◆ SetAnonymousLogin()

void CParameterFtpServer::SetAnonymousLogin ( bool newAnonymousLogin)

在文件 ParameterFtpServer.cpp45 行定义.

◆ SetReadOnly()

void CParameterFtpServer::SetReadOnly ( bool newReadOnly)

在文件 ParameterFtpServer.cpp58 行定义.

◆ SetRoot()

void CParameterFtpServer::SetRoot ( const QString & newRoot)

在文件 ParameterFtpServer.cpp71 行定义.

类成员变量说明

◆ m_bAnonymousLogin

bool CParameterFtpServer::m_bAnonymousLogin
private

在文件 ParameterFtpServer.h17 行定义.

◆ m_bReadOnly

bool CParameterFtpServer::m_bReadOnly
private

在文件 ParameterFtpServer.h22 行定义.

◆ m_szRoot

QString CParameterFtpServer::m_szRoot
private

在文件 ParameterFtpServer.h27 行定义.


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