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

akonadi

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

#include <collectionrightsattribute_p.h>

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

List of all members.

Public Member Functions

 CollectionRightsAttribute ()
 ~CollectionRightsAttribute ()
virtual CollectionRightsAttribute * clone () const
virtual void deserialize (const QByteArray &)
Collection::Rights rights () const
virtual QByteArray serialized () const
void setRights (Collection::Rights rights)
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 that stores the rights of a collection.

Every collection can have rights set which describes whether the collection is readable or writable. That information is stored in this custom attribute.

Note:
You shouldn't use this class directly but the convenience methods Collection::rights() and Collection::setRights() instead.
Author:
Tobias Koenig tokoe.nosp@m.@kde.nosp@m..org

Definition at line 44 of file collectionrightsattribute_p.h.


Constructor & Destructor Documentation

Akonadi::CollectionRightsAttribute::CollectionRightsAttribute ( )

Creates a new collection rights attribute.

Akonadi::CollectionRightsAttribute::~CollectionRightsAttribute ( )

Destroys the collection rights attribute.


Member Function Documentation

virtual CollectionRightsAttribute* Akonadi::CollectionRightsAttribute::clone ( ) const
virtual

Creates a copy of this attribute.

Implements Akonadi::Attribute.

virtual void Akonadi::CollectionRightsAttribute::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.

Collection::Rights Akonadi::CollectionRightsAttribute::rights ( ) const

Returns the rights of the collection.

virtual QByteArray Akonadi::CollectionRightsAttribute::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::CollectionRightsAttribute::setRights ( Collection::Rights  rights)

Sets the rights of the collection.

virtual QByteArray Akonadi::CollectionRightsAttribute::type ( ) const
virtual

Returns the type of the attribute.

Implements Akonadi::Attribute.


The documentation for this class was generated from the following file:
  • collectionrightsattribute_p.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Sep 24 2012 09:06:30 by doxygen 1.8.1.1 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.9.1 API Reference

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