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

akonadi/contact

  • Akonadi
  • ContactMetaData
Public Member Functions | List of all members
Akonadi::ContactMetaData Class Reference

#include <contactmetadata_p.h>

Public Member Functions

 ContactMetaData ()
 
 ~ContactMetaData ()
 
QVariantList customFieldDescriptions () const
 
int displayNameMode () const
 
void load (const Akonadi::Item &contact)
 
void setCustomFieldDescriptions (const QVariantList &descriptions)
 
void setDisplayNameMode (int mode)
 
void store (Akonadi::Item &contact)
 

Detailed Description

A helper class for storing contact specific settings.

Definition at line 36 of file contactmetadata_p.h.

Constructor & Destructor Documentation

ContactMetaData::ContactMetaData ( )

Creates a contact meta data object.

Definition at line 42 of file contactmetadata.cpp.

ContactMetaData::~ContactMetaData ( )

Destroys the contact meta data object.

Definition at line 47 of file contactmetadata.cpp.

Member Function Documentation

QVariantList ContactMetaData::customFieldDescriptions ( ) const

Returns the descriptions of the custom fields of the contact.

Definition at line 101 of file contactmetadata.cpp.

int ContactMetaData::displayNameMode ( ) const

Returns the mode that is used for the display name of that contact.

Definition at line 91 of file contactmetadata.cpp.

void ContactMetaData::load ( const Akonadi::Item &  contact)

Loads the meta data for the given contact.

Definition at line 52 of file contactmetadata.cpp.

void ContactMetaData::setCustomFieldDescriptions ( const QVariantList &  descriptions)

Sets the descriptions of the custom fields of that contact.

Parameters
descriptionsthe descriptions to set The description list contains a QVariantMap for each custom field with the following keys:
  • key (string) The identifier of the field
  • title (string) The i18n'ed title of the field
  • type (string) The type description of the field Possible values for type description are
    • text
    • numeric
    • boolean
    • date
    • time
    • datetime

Definition at line 96 of file contactmetadata.cpp.

void ContactMetaData::setDisplayNameMode ( int  mode)

Sets the mode that is used for the display name of that contact.

Definition at line 86 of file contactmetadata.cpp.

void ContactMetaData::store ( Akonadi::Item &  contact)

Stores the meta data to the given contact.

Definition at line 70 of file contactmetadata.cpp.


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

KDE's Doxygen guidelines are available online.

akonadi/contact

Skip menu "akonadi/contact"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

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