PasswordsCfg Class Reference

Public Member Functions

bool isHidingPasswords () const
 
bool isRememberingConnectPhrase () const
 
int maxNumberOfServersPerPassword () const
 
void removeServerPhrase (const QString &phrase)
 
void saveServerPhrase (const QString &phrase, const Server *server, const QString &type)
 Stores server phrase in persistence along its use case. More...
 
QList< ServerPasswordserverPasswords () const
 
QStringList serverPhrases () const
 
void setHidePasswords (bool val)
 
void setMaxNumberOfServersPerPassword (int val)
 
void setRememberConnectPhrase (bool val)
 
void setServerPasswords (const QList< ServerPassword > &val)
 
ServerPassword suggestPassword (const Server *server, const QString &type)
 Suggests best password basing on several criteria. More...
 

Static Public Member Functions

static void initIni (const QString &path)
 

Detailed Description

Definition at line 38 of file passwordscfg.h.

Member Function Documentation

void PasswordsCfg::saveServerPhrase ( const QString &  phrase,
const Server server,
const QString &  type 
)

Stores server phrase in persistence along its use case.

Parameters
phrasePhrase to store
serverServer on which the password is being used.
typePassword type, one of ServerPasswordType consts or custom.

Definition at line 132 of file passwordscfg.cpp.

ServerPassword PasswordsCfg::suggestPassword ( const Server server,
const QString &  type 
)

Suggests best password basing on several criteria.

Parameters
serverServer for which a password shall be suggested.
typePassword type, one of ServerPasswordType consts or custom.

Definition at line 235 of file passwordscfg.cpp.


The documentation for this class was generated from the following files: