• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

akonadi

Akonadi::SpecialCollectionAttribute

Akonadi::SpecialCollectionAttribute Class Reference

An Attribute that stores the special collection type of a collection. More...

#include <specialcollectionattribute_p.h>

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

List of all members.

Public Member Functions

 SpecialCollectionAttribute (const QByteArray &type=QByteArray())
virtual ~SpecialCollectionAttribute ()
virtual
SpecialCollectionAttribute * 
clone () const
QByteArray collectionType () const
virtual void deserialize (const QByteArray &data)
virtual QByteArray serialized () const
void setCollectionType (const QByteArray &type)
virtual QByteArray type () const

Detailed Description

An Attribute that stores the special collection type of a collection.

All collections registered with SpecialCollections must have this attribute set.

Author:
Constantin Berzan <exit3219@gmail.com>
Since:
4.4

Definition at line 39 of file specialcollectionattribute_p.h.


Constructor & Destructor Documentation

SpecialCollectionAttribute::SpecialCollectionAttribute ( const QByteArray &  type = QByteArray()  )  [explicit]

Creates a new special collection attribute.

Definition at line 37 of file specialcollectionattribute.cpp.

SpecialCollectionAttribute::~SpecialCollectionAttribute (  )  [virtual]

Destroys the special collection attribute.

Definition at line 43 of file specialcollectionattribute.cpp.


Member Function Documentation

SpecialCollectionAttribute * SpecialCollectionAttribute::clone (  )  const [virtual]

Creates a copy of this attribute.

Implements Akonadi::Attribute.

Definition at line 48 of file specialcollectionattribute.cpp.

QByteArray SpecialCollectionAttribute::collectionType (  )  const

Returns the special collections type of the collection.

Definition at line 74 of file specialcollectionattribute.cpp.

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

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

Parameters:
data The encoded attribute data.

Implements Akonadi::Attribute.

Definition at line 64 of file specialcollectionattribute.cpp.

QByteArray SpecialCollectionAttribute::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 59 of file specialcollectionattribute.cpp.

void SpecialCollectionAttribute::setCollectionType ( const QByteArray &  type  ) 

Sets the special collections type of the collection.

Definition at line 69 of file specialcollectionattribute.cpp.

QByteArray SpecialCollectionAttribute::type (  )  const [virtual]

Returns the type of the attribute.

Implements Akonadi::Attribute.

Definition at line 53 of file specialcollectionattribute.cpp.


The documentation for this class was generated from the following files:
  • specialcollectionattribute_p.h
  • specialcollectionattribute.cpp

akonadi

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.6.2-20100208
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal