• 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
  • SpecialCollectionAttribute
Public Member Functions | List of all members
Akonadi::SpecialCollectionAttribute Class Reference

#include <specialcollectionattribute.h>

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

Public Member Functions

 SpecialCollectionAttribute (const QByteArray &type=QByteArray())
 
 ~SpecialCollectionAttribute () override
 
SpecialCollectionAttribute * clone () const override
 
QByteArray collectionType () const
 
void deserialize (const QByteArray &data) override
 
QByteArray serialized () const override
 
void setCollectionType (const QByteArray &type)
 
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

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

All collections registered with SpecialCollections must have this attribute set.

Author
Constantin Berzan exit3[email protected][email protected][email protected]gmail[email protected].com
Since
4.4

Definition at line 39 of file specialcollectionattribute.h.

Constructor & Destructor Documentation

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

Creates a new special collection attribute.

Definition at line 34 of file specialcollectionattribute.cpp.

SpecialCollectionAttribute::~SpecialCollectionAttribute ( )
override

Destroys the special collection attribute.

Definition at line 40 of file specialcollectionattribute.cpp.

Member Function Documentation

SpecialCollectionAttribute * SpecialCollectionAttribute::clone ( ) const
overridevirtual

Creates a copy of this attribute.

Implements Akonadi::Attribute.

Definition at line 45 of file specialcollectionattribute.cpp.

QByteArray SpecialCollectionAttribute::collectionType ( ) const

Returns the special collections type of the collection.

Definition at line 71 of file specialcollectionattribute.cpp.

void SpecialCollectionAttribute::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 61 of file specialcollectionattribute.cpp.

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

void SpecialCollectionAttribute::setCollectionType ( const QByteArray &  type)

Sets the special collections type of the collection.

Definition at line 66 of file specialcollectionattribute.cpp.

QByteArray SpecialCollectionAttribute::type ( ) const
overridevirtual

Returns the type of the attribute.

Implements Akonadi::Attribute.

Definition at line 50 of file specialcollectionattribute.cpp.


The documentation for this class was generated from the following files:
  • specialcollectionattribute.h
  • specialcollectionattribute.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Sun Dec 8 2019 03:45:45 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