KPkPass::Field

Search for usage in LXR

KPkPass::Field Class Reference

#include <field.h>

Properties

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

Public Member Functions

 Field (const Field &)
 
 Field (Field &&)
 
QString changeMessage () 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.

◆ 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 26 of file field.cpp.

Member Function Documentation

◆ changeMessage()

QString Field::changeMessage ( ) const
nodiscard

The localized change message for this value.

Definition at line 100 of file field.cpp.

◆ key()

QString Field::key ( ) const
nodiscard

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

Definition at line 43 of file field.cpp.

◆ label()

QString Field::label ( ) const
nodiscard

Localized label for display describing this field.

Definition at line 48 of file field.cpp.

◆ textAlignment()

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

Text alignment.

Definition at line 110 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 56 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 75 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 Mon Nov 18 2024 12:07:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.