QtPass  1.3.2
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
PasswordConfiguration::characterSet
characterSet
The selected character set.
Definition: passwordconfiguration.h:14
PasswordConfiguration::CUSTOM
@ CUSTOM
Definition: passwordconfiguration.h:18
PasswordConfiguration::length
int length
Length of the password.
Definition: passwordconfiguration.h:24
PasswordConfiguration::ALPHANUMERIC
@ ALPHANUMERIC
Definition: passwordconfiguration.h:17
PasswordConfiguration::PasswordConfiguration
PasswordConfiguration()
Definition: passwordconfiguration.h:29
PasswordConfiguration::ALPHABETICAL
@ ALPHABETICAL
Definition: passwordconfiguration.h:16
PasswordConfiguration::ALLCHARS
@ ALLCHARS
Definition: passwordconfiguration.h:15
PasswordConfiguration::selected
enum PasswordConfiguration::characterSet selected
PasswordConfiguration::CHARSETS_COUNT
@ CHARSETS_COUNT
Definition: passwordconfiguration.h:19
PasswordConfiguration
Holds the Password configuration settings.
Definition: passwordconfiguration.h:10
PasswordConfiguration::Characters
QString Characters[CHARSETS_COUNT]
The different character sets.
Definition: passwordconfiguration.h:28