|
QtPass 1.5.1
Multi-platform GUI for pass, the standard unix password manager.
|
#include <filecontent.h>
Public Member Functions | |
| auto | getPassword () const -> QString |
| auto | getNamedValues () const -> NamedValues |
| auto | getRemainingData () const -> QString |
| auto | getRemainingDataForDisplay () const -> QString |
Static Public Member Functions | |
| static auto | parse (const QString &fileContent, const QStringList &templateFields, bool allFields) -> FileContent |
| parse parses the given fileContent in a FileContent object. The password is accessible through getPassword. The named value pairs (name: value) are parsed and depeding on the templateFields and allFields parameters accessible through getNamedValues, getRemainingData or getRemainingDataForDisplay. | |
Definition at line 27 of file filecontent.h.
| auto FileContent::getNamedValues | ( | ) | const -> NamedValues |
Definition at line 45 of file filecontent.cpp.
Here is the caller graph for this function:| auto FileContent::getPassword | ( | ) | const -> QString |
Definition at line 43 of file filecontent.cpp.
Here is the caller graph for this function:| auto FileContent::getRemainingData | ( | ) | const -> QString |
Definition at line 49 of file filecontent.cpp.
Here is the caller graph for this function:| auto FileContent::getRemainingDataForDisplay | ( | ) | const -> QString |
@like getRemainingData but without data that should not be displayed (like a TOTP secret).
Definition at line 53 of file filecontent.cpp.
Here is the caller graph for this function:
|
static |
parse parses the given fileContent in a FileContent object. The password is accessible through getPassword. The named value pairs (name: value) are parsed and depeding on the templateFields and allFields parameters accessible through getNamedValues, getRemainingData or getRemainingDataForDisplay.
| fileContent | the file content to parse. |
| templateFields | the fields in the template. Fields in the template will always be in getNamedValues() at the beginning of the list in the same order. |
| allFields | whether all fields should be considered as named values. If set to false only templateFields are returned in getNamedValues(). |
Definition at line 12 of file filecontent.cpp.
Here is the caller graph for this function: