Search for usage in LXR

KContacts::AddressFormatElement Class Reference

#include <addressformat.h>


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
See also

Definition at line 30 of file addressformat.h.

Property Documentation

◆ field

KContacts::AddressFormatField KContacts::AddressFormatElement::field

Definition at line 34 of file addressformat.h.

◆ isField

bool KContacts::AddressFormatElement::isField

Definition at line 33 of file addressformat.h.

◆ isLiteral

bool KContacts::AddressFormatElement::isLiteral

Definition at line 35 of file addressformat.h.

◆ isSeparator

bool KContacts::AddressFormatElement::isSeparator

Definition at line 37 of file addressformat.h.

◆ literal

QString KContacts::AddressFormatElement::literal

Definition at line 36 of file addressformat.h.

Constructor & Destructor Documentation

◆ AddressFormatElement()

AddressFormatElement::AddressFormatElement ( )

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 Tue Mar 26 2024 11:14:08 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.