KPkPass::Field

Search for usage in LXR

KPkPass::Field Class Reference

#include <field.h>

Properties

QString changeMessage
 
QString currencyCode
 
QString key
 
QString label
 
Qt::Alignment textAlignment
 
QVariant value
 
QString valueDisplayString
 

Public Member Functions

 Field (const Field &)
 
 Field (Field &&)
 
QString changeMessage () const
 
QString currencyCode () const
 
QString key () const
 
QString label () const
 
Fieldoperator= (const Field &)
 
Qt::Alignment textAlignment () const
 
QVariant value () const
 
QString valueDisplayString () const
 

Detailed Description

Property Documentation

◆ changeMessage

QString KPkPass::Field::changeMessage
read

Definition at line 35 of file field.h.

◆ currencyCode

QString KPkPass::Field::currencyCode
read

Definition at line 37 of file field.h.

◆ key

QString KPkPass::Field::key
read

Definition at line 31 of file field.h.

◆ label

QString KPkPass::Field::label
read

Definition at line 32 of file field.h.

◆ textAlignment

Qt::Alignment KPkPass::Field::textAlignment
read

Definition at line 36 of file field.h.

◆ value

QVariant KPkPass::Field::value
read

Definition at line 33 of file field.h.

◆ valueDisplayString

QString KPkPass::Field::valueDisplayString
read

Definition at line 34 of file field.h.

Constructor & Destructor Documentation

◆ Field()

Field::Field ( )

Definition at line 27 of file field.cpp.

Member Function Documentation

◆ changeMessage()

QString Field::changeMessage ( ) const
nodiscard

The localized change message for this value.

Definition at line 115 of file field.cpp.

◆ currencyCode()

QString Field::currencyCode ( ) const
nodiscard

Currency code.

Definition at line 138 of file field.cpp.

◆ key()

QString Field::key ( ) const
nodiscard

Field key, unique in the pass but not meant for display.

Definition at line 44 of file field.cpp.

◆ label()

QString Field::label ( ) const
nodiscard

Localized label for display describing this field.

Definition at line 49 of file field.cpp.

◆ textAlignment()

Qt::Alignment Field::textAlignment ( ) const
nodiscard

Text alignment.

Definition at line 125 of file field.cpp.

◆ value()

QVariant Field::value ( ) const
nodiscard

Value of this field.

This can either be a localized string (most common), a date/time value or a number. Use this for data extraction, prefer valueDisplayString() for displaying data.

Definition at line 57 of file field.cpp.

◆ valueDisplayString()

QString Field::valueDisplayString ( ) const
nodiscard

Value of this field, as a localized string for display.

Use this rather than value() for display.

Definition at line 83 of file field.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.