|
| | CParameterFtpServer (QObject *parent=nullptr, const QString &szPrefix=QString()) |
| |
| uint16_t | GetPort () const |
| |
| void | SetPort (uint16_t newPort) |
| |
| QString | GetUser () const |
| |
| void | SetUser (const QString &newUser) |
| |
| QString | GetPassword () const |
| |
| void | SetPassword (const QString &newPassword) |
| |
| 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=nullptr, 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=nullptr, 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.
|
| |
|
| virtual int | OnLoad (QSettings &set) override |
| |
| virtual int | OnSave (QSettings &set) override |
| |
| QByteArray | PasswordSum (const std::string &password, const std::string &key) |
| |
| 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.
|
| |
Definition at line 7 of file ParameterFtpServer.h.
◆ 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 |
◆ GetPassword()
| QString CParameterFtpServer::GetPassword |
( |
| ) |
const |
◆ GetPort()
| uint16_t CParameterFtpServer::GetPort |
( |
| ) |
const |
◆ GetReadOnly()
| bool CParameterFtpServer::GetReadOnly |
( |
| ) |
const |
◆ GetRoot()
| QString CParameterFtpServer::GetRoot |
( |
| ) |
const |
◆ GetUser()
| QString CParameterFtpServer::GetUser |
( |
| ) |
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 | ) |
|
◆ SetPassword()
| void CParameterFtpServer::SetPassword |
( |
const QString & |
newPassword | ) |
|
◆ SetPort()
| void CParameterFtpServer::SetPort |
( |
uint16_t |
newPort | ) |
|
◆ SetReadOnly()
| void CParameterFtpServer::SetReadOnly |
( |
bool |
newReadOnly | ) |
|
◆ SetRoot()
| void CParameterFtpServer::SetRoot |
( |
const QString & |
newRoot | ) |
|
◆ SetUser()
| void CParameterFtpServer::SetUser |
( |
const QString & |
newUser | ) |
|
◆ 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_nPort
| uint16_t CParameterFtpServer::m_nPort |
|
private |
◆ m_szPassword
| QString CParameterFtpServer::m_szPassword |
|
private |
◆ m_szRoot
| QString CParameterFtpServer::m_szRoot |
|
private |
◆ m_szUser
| QString CParameterFtpServer::m_szUser |
|
private |
◆ m_Whitelist
| QStringList CParameterFtpServer::m_Whitelist |
|
private |
The documentation for this class was generated from the following files: