QtPass 2.0.0
Developer documentation
Loading...
Searching...
No Matches
filecontent.h File Reference

Parser for a decrypted password entry: password line, key: value fields, remaining text and the OTP configuration. More...

#include <QList>
#include <QString>
#include <QStringList>
#include <functional>
Include dependency graph for filecontent.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  NamedValue
 A name/value pair parsed from a password file field. More...
class  NamedValues
 The NamedValues class is mostly a list of NamedValue but also has a method to take a specific NamedValue pair out of the list. More...
class  FileContent
 Represents the parsed contents of a password file. More...

Functions

bool operator== (const NamedValue &a, const NamedValue &b)
 Two fields are equal when name and value match; originalLine is formatting, not content, and is left out so tests can compare against literals.

Detailed Description

Parser for a decrypted password entry: password line, key: value fields, remaining text and the OTP configuration.

Definition in file filecontent.h.

Function Documentation

◆ operator==()

bool operator== ( const NamedValue & a,
const NamedValue & b )
inline

Two fields are equal when name and value match; originalLine is formatting, not content, and is left out so tests can compare against literals.

Parameters
aOne field.
bThe other field.
Returns
true when both name and value are equal.

Definition at line 49 of file filecontent.h.

Here is the call graph for this function:
Here is the caller graph for this function: