• Skip to content
  • Skip to link menu
Brand

API Documentation

  1. KDE API Reference
  2. KDE PIM
  3. Akonadi
  • KDE Home
  • Contact Us

Quick Links

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

Class Picker

About

PIM Storage Framework

Maintainer
Daniel Vrátil
Supported platforms
Linux
Community
IRC: #akonadi on Freenode
Mailing list: kde-pim
Use with CMake
find_package(KF5AkonadiCore)
target_link_libraries(yourapp KF5::AkonadiCore)
Use with QMake
QT += AkonadiCore 
Clone
git clone git://anongit.kde.org/akonadi.git
Browse source
Akonadi on cgit.kde.org

Akonadi

  • View on LXR
  • Akonadi
  • CollectionIdentificationAttribute
Public Member Functions | List of all members
Akonadi::CollectionIdentificationAttribute Class Reference

#include <collectionidentificationattribute.h>

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

Public Member Functions

 CollectionIdentificationAttribute (const QByteArray &identifier=QByteArray(), const QByteArray &folderNamespace=QByteArray(), const QByteArray &name=QByteArray(), const QByteArray &organizationUnit=QByteArray(), const QByteArray &mail=QByteArray())
 
Attribute * clone () const override
 
QByteArray collectionNamespace () const
 
void deserialize (const QByteArray &data) override
 
QByteArray identifier () const
 
QByteArray mail () const
 
QByteArray name () const
 
QByteArray ou () const
 
QByteArray serialized () const override
 
void setCollectionNamespace (const QByteArray &ns)
 
void setIdentifier (const QByteArray &identifier)
 
void setMail (const QByteArray &)
 
void setName (const QByteArray &)
 
void setOu (const QByteArray &)
 
QByteArray type () const override
 
- 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 additional information on a collection that can be used for searching.

Additional indexed properties that can be used for searching.

Author
Christian Mollekopf molle[email protected]kopf[email protected]@kola[email protected]bsys[email protected].com
Since
4.15

Definition at line 37 of file collectionidentificationattribute.h.

Member Function Documentation

Akonadi::Attribute * CollectionIdentificationAttribute::clone ( ) const
overridevirtual

Creates a copy of this attribute.

Implements Akonadi::Attribute.

Definition at line 113 of file collectionidentificationattribute.cpp.

void CollectionIdentificationAttribute::deserialize ( const QByteArray &  data)
overridevirtual

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 129 of file collectionidentificationattribute.cpp.

QByteArray CollectionIdentificationAttribute::serialized ( ) const
overridevirtual

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 118 of file collectionidentificationattribute.cpp.

void CollectionIdentificationAttribute::setCollectionNamespace ( const QByteArray &  ns)

Sets a namespace the collection is in.

Initially used are:

  • "person" for a collection shared by a person.
  • "shared" for a collection shared by a person.

Definition at line 98 of file collectionidentificationattribute.cpp.

void CollectionIdentificationAttribute::setIdentifier ( const QByteArray &  identifier)

Sets an identifier for the collection.

Definition at line 58 of file collectionidentificationattribute.cpp.

QByteArray CollectionIdentificationAttribute::type ( ) const
overridevirtual

Returns the type of the attribute.

Implements Akonadi::Attribute.

Definition at line 108 of file collectionidentificationattribute.cpp.


The documentation for this class was generated from the following files:
  • collectionidentificationattribute.h
  • collectionidentificationattribute.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Thu Dec 12 2019 02:46:59 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

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