_8h

namespace.h File Reference
#include "kcontacts_export.h"
#include <QMetaType>
Include dependency graph for namespace.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef QFlags< AddressFormatFieldKContacts::AddressFormatFields
 

Enumerations

enum class  KContacts::AddressFormatField {
  NoField = 0 , Country = 1 , Region = 2 , Locality = 4 ,
  DependentLocality = 8 , SortingCode = 16 , PostalCode = 32 , StreetAddress = 64 ,
  Organization = 128 , Name = 256 , PostOfficeBox = 512
}
 
enum class  KContacts::AddressFormatPreference { Generic , Business }
 
enum class  KContacts::AddressFormatScriptPreference { Local , Latin }
 
enum class  KContacts::AddressFormatStyle {
  Postal , MultiLineDomestic , MultiLineInternational , SingleLineDomestic ,
  SingleLineInternational , GeoUriQuery
}
 

Detailed Description

Everything that needs to go in to the KContacts Q_NAMESPACE meta object.

Definition in file namespace.h.

Typedef Documentation

◆ AddressFormatFields

typedef QFlags< AddressFormatField > KContacts::AddressFormatFields

A set of address fields.

See also
KContacts::AddressFormat
Since
5.92

Definition at line 65 of file namespace.h.

Enumeration Type Documentation

◆ AddressFormatField

enum class KContacts::AddressFormatField
strong

Address field types.

These are the field types that can be referenced in address format rules.

Note
Not all of those are represented by vCard and thus KContacts, but exist only for compatibility with libaddressinput, so format rules from that can be consumed directly.
See also
KContacts::AddressFormat
Since
5.92

Definition at line 44 of file namespace.h.

◆ AddressFormatPreference

Indicate whether to prefer an address format for (postal) business address or a generic one.

See also
KContacts::AddressFormatRepository
Since
5.92

Definition at line 82 of file namespace.h.

◆ AddressFormatScriptPreference

Indicate whether to use a address format in the local script or a Latin transliteration.

See also
KContacts::AddressFormatRepository
Since
5.92

Definition at line 72 of file namespace.h.

◆ AddressFormatStyle

enum class KContacts::AddressFormatStyle
strong

Address formatting styles.

See also
KContacts::Address::formatted
Since
5.92
Enumerator
Postal 

Format used for addressing postal mail.

MultiLineDomestic 

Multi-line format without country, for displaying.

MultiLineInternational 

Multi-line format including the country, for displaying.

SingleLineDomestic 

Single-line format without country, for displaying.

SingleLineInternational 

Single-line format including the country, for displaying.

GeoUriQuery 

Format used in geo: URI query expressions.

Definition at line 25 of file namespace.h.

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.