_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< AddressFormatField > KContacts::AddressFormatFields
 

Enumerations

enum  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  KContacts::AddressFormatPreference { Generic, Business }
 
enum  KContacts::AddressFormatScriptPreference { Local, Latin }
 
enum  KContacts::AddressFormatStyle {
  KContacts::AddressFormatStyle::Postal, KContacts::AddressFormatStyle::MultiLineDomestic, KContacts::AddressFormatStyle::MultiLineInternational, KContacts::AddressFormatStyle::SingleLineDomestic,
  KContacts::AddressFormatStyle::SingleLineInternational, KContacts::AddressFormatStyle::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

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

Address formatting styles.

See also
KContacts::Address::formatted
Since
5.92

Definition at line 25 of file namespace.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Sep 26 2022 04:17:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.