QtPass 2.0.0
Developer documentation
Loading...
Searching...
No Matches
ConfigDialog::ProfileProblems Struct Reference

What is wrong with one profile's fields; empty strings where nothing is. More...

Public Member Functions

auto none () const -> bool
 Whether all three fields are fine.
auto first () const -> QString
 The first complaint, for a tooltip on the profile's row.

Public Attributes

QString name
 Empty or duplicate name; empty when fine.
QString path
 Missing store path; empty when fine.
QString key
QString sharedKey

Detailed Description

What is wrong with one profile's fields; empty strings where nothing is.

Definition at line 253 of file configdialog.h.

Member Function Documentation

◆ first()

auto ConfigDialog::ProfileProblems::first ( ) const -> QString
inlinenodiscard

The first complaint, for a tooltip on the profile's row.

Returns
The name, path or key complaint, in that order; empty if none.

Definition at line 271 of file configdialog.h.

Here is the caller graph for this function:

◆ none()

auto ConfigDialog::ProfileProblems::none ( ) const -> bool
inlinenodiscard

Whether all three fields are fine.

Returns
true when name, path and key have no complaint.

Definition at line 264 of file configdialog.h.

Here is the caller graph for this function:

Member Data Documentation

◆ key

QString ConfigDialog::ProfileProblems::key

Signing key that is no fingerprint list; empty when fine.

Definition at line 256 of file configdialog.h.

◆ name

QString ConfigDialog::ProfileProblems::name

Empty or duplicate name; empty when fine.

Definition at line 254 of file configdialog.h.

◆ path

QString ConfigDialog::ProfileProblems::path

Missing store path; empty when fine.

Definition at line 255 of file configdialog.h.

◆ sharedKey

QString ConfigDialog::ProfileProblems::sharedKey

Not a problem, a warning: other profiles sign with the same key. It neither blocks OK nor marks the row.

Definition at line 259 of file configdialog.h.


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