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

akonadi

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

#include <contactmetadataattribute_p.h>

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

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
 
- Public Member Functions inherited from Akonadi::Attribute
virtual ~Attribute ()
 

Additional Inherited Members

- Public Types inherited from Akonadi::Attribute
typedef QList< Attribute * > List
 

Detailed Description

Attribute to store contact specific meta data.

Author
Tobias Koenig tokoe.nosp@m.@kde.nosp@m..org

Definition at line 38 of file contactmetadataattribute_p.h.

Constructor & Destructor Documentation

ContactMetaDataAttribute::ContactMetaDataAttribute ( )

Creates a new contact meta data attribute.

Definition at line 34 of file contactmetadataattribute.cpp.

ContactMetaDataAttribute::~ContactMetaDataAttribute ( )

Destroys the contact meta data attribute.

Definition at line 39 of file contactmetadataattribute.cpp.

Member Function Documentation

Attribute * ContactMetaDataAttribute::clone ( ) const
virtual

Creates a copy of this attribute.

Implements Akonadi::Attribute.

Definition at line 59 of file contactmetadataattribute.cpp.

void 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.

Definition at line 77 of file contactmetadataattribute.cpp.

QVariantMap ContactMetaDataAttribute::metaData ( ) const

Returns the meta data.

Definition at line 49 of file contactmetadataattribute.cpp.

QByteArray 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.

Definition at line 67 of file contactmetadataattribute.cpp.

void ContactMetaDataAttribute::setMetaData ( const QVariantMap &  data)

Sets the meta data.

Definition at line 44 of file contactmetadataattribute.cpp.

QByteArray ContactMetaDataAttribute::type ( ) const
virtual

Returns the type of the attribute.

Implements Akonadi::Attribute.

Definition at line 54 of file contactmetadataattribute.cpp.


The documentation for this class was generated from the following files:
  • contactmetadataattribute_p.h
  • contactmetadataattribute.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by doxygen 1.8.7 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 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