Search for usage in LXR

KPkPass::Field Class Reference

#include <field.h>


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

Definition at line 35 of file field.h.

◆ key

QString KPkPass::Field::key

Definition at line 31 of file field.h.

◆ label

QString KPkPass::Field::label

Definition at line 32 of file field.h.

◆ textAlignment

Qt::Alignment KPkPass::Field::textAlignment

Definition at line 36 of file field.h.

◆ value

QVariant KPkPass::Field::value

Definition at line 33 of file field.h.

◆ valueDisplayString

QString KPkPass::Field::valueDisplayString

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

The localized change message for this value.

Definition at line 100 of file field.cpp.

◆ key()

QString Field::key ( ) const

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

Definition at line 43 of file field.cpp.

◆ label()

QString Field::label ( ) const

Localized label for display describing this field.

Definition at line 48 of file field.cpp.

◆ textAlignment()

Qt::Alignment Field::textAlignment ( ) const

Text alignment.

Definition at line 110 of file field.cpp.

◆ value()

QVariant Field::value ( ) const

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

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 Fri May 17 2024 11:51:24 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.