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

akonadi

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

#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

Constructor & Destructor Documentation

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

Creates a new special collection attribute.

virtual Akonadi::SpecialCollectionAttribute::~SpecialCollectionAttribute ( ) [virtual]

Destroys the special collection attribute.


Member Function Documentation

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

Creates a copy of this attribute.

Implements Akonadi::Attribute.

Definition at line 42 of file entityhiddenattribute.cpp.

QByteArray Akonadi::SpecialCollectionAttribute::collectionType ( ) const

Returns the special collections type of the collection.

void MessageThreadingAttribute::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 52 of file entityhiddenattribute.cpp.

QByteArray MessageThreadingAttribute::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 47 of file entityhiddenattribute.cpp.

void Akonadi::SpecialCollectionAttribute::setCollectionType ( const QByteArray &  type)

Sets the special collections type of the collection.

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

Returns the type of the attribute.

Implements Akonadi::Attribute.


The documentation for this class was generated from the following files:
  • specialcollectionattribute_p.h
  • entityhiddenattribute.cpp
  • messagefolderattribute.cpp
  • messagethreadingattribute.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu Aug 2 2012 15:25:22 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.5 API Reference

Skip menu "kdepimlibs-4.8.5 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