|
| | 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) |
| |
| int | GetConnectCount () const |
| | Connect count.
|
| |
| void | SetConnectCount (int newConnectCount) |
| |
| bool | GetListenAll () const |
| |
| void | SetListenAll (bool newListenAll) |
| |
| QStringList | GetListen () const |
| |
| void | SetListen (const QStringList &newListen) |
| |
| QStringList | GetWhitelist () const |
| |
| void | SetWhitelist (const QStringList &newWhitelist) |
| |
| QStringList | GetBlacklist () const |
| |
| void | SetBlacklist (const QStringList &newBlacklist) |
| |
| | CParameterOperate (QObject *parent, const QString &szPrefix=QString()) |
| |
| CParameterPlugin * | GetGlobalParameters () |
| | Get CParameterPlugin
|
| |
| int | SetGlobalParameters (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) |
| |
| | 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() ,用于检查参数。
|
| |
◆ CParameterFtpServer()
| CParameterFtpServer::CParameterFtpServer |
( |
QObject * |
parent = nullptr, |
|
|
const QString & |
szPrefix = QString() |
|
) |
| |
|
explicit |
◆ GetAnonymousLogin()
| bool CParameterFtpServer::GetAnonymousLogin |
( |
| ) |
const |
◆ GetBlacklist()
| QStringList CParameterFtpServer::GetBlacklist |
( |
| ) |
const |
◆ GetConnectCount()
| int CParameterFtpServer::GetConnectCount |
( |
| ) |
const |
◆ GetListen()
| QStringList CParameterFtpServer::GetListen |
( |
| ) |
const |
◆ GetListenAll()
| bool CParameterFtpServer::GetListenAll |
( |
| ) |
const |
◆ GetReadOnly()
| bool CParameterFtpServer::GetReadOnly |
( |
| ) |
const |
◆ GetRoot()
| QString CParameterFtpServer::GetRoot |
( |
| ) |
const |
◆ GetWhitelist()
| QStringList CParameterFtpServer::GetWhitelist |
( |
| ) |
const |
◆ OnLoad()
| int CParameterFtpServer::OnLoad |
( |
QSettings & |
set | ) |
|
|
overrideprotectedvirtual |
◆ OnSave()
| int CParameterFtpServer::OnSave |
( |
QSettings & |
set | ) |
|
|
overrideprotectedvirtual |
◆ SetAnonymousLogin()
| void CParameterFtpServer::SetAnonymousLogin |
( |
bool |
newAnonymousLogin | ) |
|
◆ SetBlacklist()
| void CParameterFtpServer::SetBlacklist |
( |
const QStringList & |
newBlacklist | ) |
|
◆ SetConnectCount()
| void CParameterFtpServer::SetConnectCount |
( |
int |
newConnectCount | ) |
|
◆ SetListen()
| void CParameterFtpServer::SetListen |
( |
const QStringList & |
newListen | ) |
|
◆ SetListenAll()
| void CParameterFtpServer::SetListenAll |
( |
bool |
newListenAll | ) |
|
◆ SetReadOnly()
| void CParameterFtpServer::SetReadOnly |
( |
bool |
newReadOnly | ) |
|
◆ SetRoot()
| void CParameterFtpServer::SetRoot |
( |
const QString & |
newRoot | ) |
|
◆ SetWhitelist()
| void CParameterFtpServer::SetWhitelist |
( |
const QStringList & |
newWhitelist | ) |
|
◆ m_bAnonymousLogin
| bool CParameterFtpServer::m_bAnonymousLogin |
|
private |
◆ m_Blacklist
| QStringList CParameterFtpServer::m_Blacklist |
|
private |
◆ m_bListenAll
| bool CParameterFtpServer::m_bListenAll |
|
private |
◆ m_bReadOnly
| bool CParameterFtpServer::m_bReadOnly |
|
private |
◆ m_ConnectCount
| int CParameterFtpServer::m_ConnectCount |
|
private |
◆ m_Listen
| QStringList CParameterFtpServer::m_Listen |
|
private |
◆ m_Net
◆ m_szRoot
| QString CParameterFtpServer::m_szRoot |
|
private |
◆ m_Whitelist
| QStringList CParameterFtpServer::m_Whitelist |
|
private |
该类的文档由以下文件生成: