QtPass  1.2.3
Multi-platform GUI for pass, the standard unix password manager.
passwordconfiguration.h
Go to the documentation of this file.
1 #ifndef PASSWORDCONFIGURATION_H
2 #define PASSWORDCONFIGURATION_H
3 
4 #include <QString>
5 
14  enum characterSet {
15  ALLCHARS = 0,
19  CHARSETS_COUNT // have to be last, for easier initialization of arrays
20  } selected;
24  int length;
31  "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890~!@#$%^&"
32  "*()_-+={}[]|:;<>,.?"; /*AllChars*/
33  Characters[ALPHABETICAL] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstu"
34  "vwxyz"; /*Only Alphabetical*/
35  Characters[ALPHANUMERIC] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstu"
36  "vwxyz1234567890"; /*Alphabetical and Numerical*/
37  Characters[CUSTOM] = Characters[ALLCHARS]; // this may be redefined by user
38  }
39 };
40 
41 #endif // PASSWORDCONFIGURATION_H
int length
Length of the password.
Holds the Password configuration settings.
enum PasswordConfiguration::characterSet selected
QString Characters[CHARSETS_COUNT]
The different character sets.
characterSet
The selected character set.