KContacts::AddressFormatElement

Search for usage in LXR

KContacts::AddressFormatElement Class Reference

#include <addressformat.h>

Properties

KContacts::AddressFormatField field
 
bool isField
 
bool isLiteral
 
bool isSeparator
 
QString literal
 

Public Member Functions

 AddressFormatElement (const AddressFormatElement &)
 
AddressFormatField field () const
 
bool isField () const
 
bool isLiteral () const
 
bool isSeparator () const
 
QString literal () const
 
AddressFormatElementoperator= (const AddressFormatElement &)
 

Detailed Description

A single element in an address format.

A format element can be one of three types:

  • a field from the address data
  • a literal string
  • a separator
Since
5.92
See also
KContacts::AddressFormat

Definition at line 30 of file addressformat.h.

Property Documentation

◆ field

KContacts::AddressFormatField KContacts::AddressFormatElement::field
read

Definition at line 34 of file addressformat.h.

◆ isField

bool KContacts::AddressFormatElement::isField
read

Definition at line 33 of file addressformat.h.

◆ isLiteral

bool KContacts::AddressFormatElement::isLiteral
read

Definition at line 35 of file addressformat.h.

◆ isSeparator

bool KContacts::AddressFormatElement::isSeparator
read

Definition at line 37 of file addressformat.h.

◆ literal

QString KContacts::AddressFormatElement::literal
read

Definition at line 36 of file addressformat.h.

Constructor & Destructor Documentation

◆ AddressFormatElement()

AddressFormatElement::AddressFormatElement ( )
explicit

Definition at line 21 of file addressformat.cpp.

Member Function Documentation

◆ field()

AddressFormatField AddressFormatElement::field ( ) const

Definition at line 35 of file addressformat.cpp.

◆ isField()

bool AddressFormatElement::isField ( ) const

Definition at line 30 of file addressformat.cpp.

◆ isLiteral()

bool AddressFormatElement::isLiteral ( ) const

Definition at line 40 of file addressformat.cpp.

◆ isSeparator()

bool AddressFormatElement::isSeparator ( ) const

Definition at line 50 of file addressformat.cpp.

◆ literal()

QString AddressFormatElement::literal ( ) const

Definition at line 45 of file addressformat.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 Nov 22 2024 12:06:34 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.