• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kaddressbook

Public Types | Static Public Member Functions | List of all members
ContactFields Class Reference

#include <contactfields.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< Field > Fields
 

Static Public Member Functions

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

Detailed Description

Definition at line 26 of file contactfields.h.

Member Typedef Documentation

typedef QVector<Field> ContactFields::Fields

Defines a list of Field enums.

Definition at line 95 of file contactfields.h.

Member Enumeration Documentation

enum ContactFields::Field

Describes the standard fields that are available for every contact.

Enumerator
Undefined 
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 

Definition at line 33 of file contactfields.h.

Member Function Documentation

ContactFields::Fields ContactFields::allFields ( )
static

Returns a list of all available fields.

Definition at line 177 of file contactfields.cpp.

QString ContactFields::label ( Field  field)
static

Returns the i18n label for the field.

Definition at line 25 of file contactfields.cpp.

void ContactFields::setValue ( Field  field,
const QString &  value,
KABC::Addressee &  contact 
)
static

Sets the value of the field for the contact.

Definition at line 233 of file contactfields.cpp.

QString ContactFields::value ( Field  field,
const KABC::Addressee &  contact 
)
static

Returns the value for the field of the contact.

Definition at line 480 of file contactfields.cpp.


The documentation for this class was generated from the following files:
  • contactfields.h
  • contactfields.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kaddressbook

Skip menu "kaddressbook"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal