13 QObject *parent =
nullptr,
14 const QString& szPrefix = QString());
16 uint16_t GetPort()
const;
17 void SetPort(uint16_t newPort);
18 QString GetUser()
const;
19 void SetUser(
const QString &newUser);
20 QString GetPassword()
const;
21 void SetPassword(
const QString &newPassword);
22 bool GetAnonymousLogin()
const;
23 void SetAnonymousLogin(
bool newAnonymousLogin);
24 bool GetReadOnly()
const;
25 void SetReadOnly(
bool newReadOnly);
27 QString GetRoot()
const;
28 void SetRoot(
const QString &newRoot);
35 void SetConnectCount(
int newConnectCount);
37 bool GetListenAll()
const;
38 void SetListenAll(
bool newListenAll);
40 QStringList GetListen()
const;
41 void SetListen(
const QStringList &newListen);
43 QStringList GetWhitelist()
const;
44 void SetWhitelist(
const QStringList &newWhitelist);
46 QStringList GetBlacklist()
const;
47 void SetBlacklist(
const QStringList &newBlacklist);
54 bool m_bAnonymousLogin;
59 QStringList m_Whitelist;
60 QStringList m_Blacklist;
64 virtual int OnLoad(QSettings &set)
override;
65 virtual int OnSave(QSettings &set)
override;