fix cli commands, translations and codestyle

This commit is contained in:
thez3ro
2018-02-06 01:17:36 +01:00
parent 6723f4215a
commit 1bfbb9242c
30 changed files with 70 additions and 67 deletions

View File

@@ -61,13 +61,13 @@ public:
int getbits() const;
static const int DefaultLength = 16;
static const bool DefaultLower = (DefaultCharset & LowerLetters) != 0;
static const bool DefaultUpper = (DefaultCharset & UpperLetters) != 0;
static const bool DefaultNumbers = (DefaultCharset & Numbers) != 0;
static const bool DefaultSpecial = (DefaultCharset & SpecialCharacters) != 0;
static const bool DefaultEASCII = (DefaultCharset & EASCII) != 0;
static const bool DefaultLookAlike = (DefaultFlags & ExcludeLookAlike) != 0;
static const bool DefaultFromEveryGroup = (DefaultFlags & CharFromEveryGroup) != 0;
static constexpr bool DefaultLower = (DefaultCharset & LowerLetters) != 0;
static constexpr bool DefaultUpper = (DefaultCharset & UpperLetters) != 0;
static constexpr bool DefaultNumbers = (DefaultCharset & Numbers) != 0;
static constexpr bool DefaultSpecial = (DefaultCharset & SpecialCharacters) != 0;
static constexpr bool DefaultEASCII = (DefaultCharset & EASCII) != 0;
static constexpr bool DefaultLookAlike = (DefaultFlags & ExcludeLookAlike) != 0;
static constexpr bool DefaultFromEveryGroup = (DefaultFlags & CharFromEveryGroup) != 0;
private:
QVector<PasswordGroup> passwordGroups() const;