QtPass 2.0.0
Developer documentation
Loading...
Searching...
No Matches
NamedValue Struct Reference

A name/value pair parsed from a password file field. More...

#include <filecontent.h>

Public Attributes

QString name
 Field name (the part before the colon in "name: value").
QString value
 Field value (the part after the colon in "name: value").
QString originalLine
 The field's verbatim source line, colon and spacing intact.

Detailed Description

A name/value pair parsed from a password file field.

Definition at line 21 of file filecontent.h.

Member Data Documentation

◆ name

QString NamedValue::name

Field name (the part before the colon in "name: value").

Definition at line 25 of file filecontent.h.

◆ originalLine

QString NamedValue::originalLine

The field's verbatim source line, colon and spacing intact.

The edit dialog writes an untouched field back from this, so saving does not reformat key:value to key: value, trim the value, or drop a field whose value is empty. Empty when the field has no source line (a template field the file did not fill).

Definition at line 38 of file filecontent.h.

◆ value

QString NamedValue::value

Field value (the part after the colon in "name: value").

Definition at line 29 of file filecontent.h.


The documentation for this struct was generated from the following file: