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

akonadi

  • Akonadi
  • ContactMetaDataAttribute
Public Member Functions
Akonadi::ContactMetaDataAttribute Class Reference

#include <contactmetadataattribute_p.h>

Inheritance diagram for Akonadi::ContactMetaDataAttribute:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ContactMetaDataAttribute ()
 ~ContactMetaDataAttribute ()
virtual Attribute * clone () const
virtual void deserialize (const QByteArray &data)
QVariantMap metaData () const
virtual QByteArray serialized () const
void setMetaData (const QVariantMap &data)
virtual QByteArray type () const

Detailed Description

Attribute to store contact specific meta data.

Author:
Tobias Koenig <tokoe@kde.org>

Constructor & Destructor Documentation

Akonadi::ContactMetaDataAttribute::ContactMetaDataAttribute ( )

Creates a new contact meta data attribute.

Akonadi::ContactMetaDataAttribute::~ContactMetaDataAttribute ( )

Destroys the contact meta data attribute.


Member Function Documentation

virtual Attribute* Akonadi::ContactMetaDataAttribute::clone ( ) const [virtual]

Creates a copy of this attribute.

Implements Akonadi::Attribute.

virtual void Akonadi::ContactMetaDataAttribute::deserialize ( const QByteArray &  data) [virtual]

Sets the data of this attribute, using the same encoding as returned by toByteArray().

Parameters:
dataThe encoded attribute data.

Implements Akonadi::Attribute.

QVariantMap Akonadi::ContactMetaDataAttribute::metaData ( ) const

Returns the meta data.

virtual QByteArray Akonadi::ContactMetaDataAttribute::serialized ( ) const [virtual]

Returns a QByteArray representation of the attribute which will be storaged.

This can be raw binary data, no encoding needs to be applied.

Implements Akonadi::Attribute.

void Akonadi::ContactMetaDataAttribute::setMetaData ( const QVariantMap &  data)

Sets the meta data.

virtual QByteArray Akonadi::ContactMetaDataAttribute::type ( ) const [virtual]

Returns the type of the attribute.

Implements Akonadi::Attribute.


The documentation for this class was generated from the following file:
  • contactmetadataattribute_p.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 14 2012 04:53:11 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Modules
  • Related Pages

kdepimlibs-4.8.3 API Reference

Skip menu "kdepimlibs-4.8.3 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
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