KAddressBookImportExport::KAddressBookImportExportContactFields

KAddressBookImportExport::KAddressBookImportExportContactFields Class Reference

#include <kaddressbookimportexportcontactfields.h>

Public Types

enum  Field {
  Undefined = 0, FormattedName, Prefix, GivenName,
  AdditionalName, FamilyName, Suffix, NickName,
  Birthday, Anniversary, HomeAddressStreet, HomeAddressPostOfficeBox,
  HomeAddressLocality, HomeAddressRegion, HomeAddressPostalCode, HomeAddressCountry,
  HomeAddressLabel, BusinessAddressStreet, BusinessAddressPostOfficeBox, BusinessAddressLocality,
  BusinessAddressRegion, BusinessAddressPostalCode, BusinessAddressCountry, BusinessAddressLabel,
  HomePhone, BusinessPhone, MobilePhone, HomeFax,
  BusinessFax, CarPhone, Isdn, Pager,
  PreferredEmail, Email2, Email3, Email4,
  Mailer, Title, Role, Organization,
  Note, Homepage, BlogFeed, Profession,
  Office, Manager, Assistant, Spouse
}
 
typedef QVector< FieldFields
 

Static Public Member Functions

static Fields allFields ()
 
static QString label (Field field)
 
static void setValue (Field field, const QString &value, KContacts::Addressee &contact)
 
static QString value (Field field, const KContacts::Addressee &contact)
 

Detailed Description

Contact fields for import/export.

Definition at line 29 of file kaddressbookimportexportcontactfields.h.

Member Typedef Documentation

Member Enumeration Documentation

Describes the standard fields that are available for every contact.

Definition at line 36 of file kaddressbookimportexportcontactfields.h.

Member Function Documentation

KAddressBookImportExportContactFields::Fields KAddressBookImportExportContactFields::allFields ( )
static

Returns a list of all available fields.

Definition at line 132 of file kaddressbookimportexportcontactfields.cpp.

QString KAddressBookImportExportContactFields::label ( Field  field)
static

Returns the i18n label for the field.

Definition at line 27 of file kaddressbookimportexportcontactfields.cpp.

void KAddressBookImportExportContactFields::setValue ( Field  field,
const QString value,
KContacts::Addressee contact 
)
static

Sets the value of the field for the contact.

Definition at line 188 of file kaddressbookimportexportcontactfields.cpp.

QString KAddressBookImportExportContactFields::value ( Field  field,
const KContacts::Addressee contact 
)
static

Returns the value for the field of the contact.

Definition at line 439 of file kaddressbookimportexportcontactfields.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Jul 10 2020 23:16:36 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.