23 #ifndef id1E18D75F_28FA_48A1_9CACE55638B41394 24 #define id1E18D75F_28FA_48A1_9CACE55638B41394 31 #include <QStringList> 41 static void initIni(
const QString &path);
46 bool isHidingPasswords()
const;
47 bool isRememberingConnectPhrase()
const;
48 int maxNumberOfServersPerPassword()
const;
49 void removeServerPhrase(
const QString &phrase);
62 QList<ServerPassword> serverPasswords()
const;
63 QStringList serverPhrases()
const;
64 void setHidePasswords(
bool val);
65 void setMaxNumberOfServersPerPassword(
int val);
66 void setRememberConnectPhrase(
bool val);
67 void setServerPasswords(
const QList<ServerPassword> &val);
82 static QSettings *settings;
86 void cutServers(QList<ServerPassword> &passwords)
const;
87 void cutStoredServers();
88 void storeServerPasswords(
const QList<ServerPassword> &val);
A representation of a server for a given game.
void saveServerPhrase(const QString &phrase, const Server *server, const QString &type)
Stores server phrase in persistence along its use case.
ServerPassword suggestPassword(const Server *server, const QString &type)
Suggests best password basing on several criteria.