• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

mailcommon

  • sources
  • kde-4.12
  • kdepim
  • mailcommon
  • collectionpage
collectionannotationsattribute.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2008 Omat Holding B.V. <info@omat.nl>
3 
4  This library is free software; you can redistribute it and/or modify it
5  under the terms of the GNU Library General Public License as published by
6  the Free Software Foundation; either version 2 of the License, or (at your
7  option) any later version.
8 
9  This library is distributed in the hope that it will be useful, but WITHOUT
10  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
12  License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to the
16  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17  02110-1301, USA.
18 */
19 
20 #ifndef MAILCOMMON_COLLECTIONANNOTATIONSATTRIBUTE_H
21 #define MAILCOMMON_COLLECTIONANNOTATIONSATTRIBUTE_H
22 
23 #include <Akonadi/Attribute>
24 
25 #include <QMap>
26 
27 namespace MailCommon {
28 
29 class CollectionAnnotationsAttribute : public Akonadi::Attribute
30 {
31 public:
32  CollectionAnnotationsAttribute();
33  CollectionAnnotationsAttribute( const QMap<QByteArray, QByteArray> &annotations );
34 
35  void setAnnotations( const QMap<QByteArray, QByteArray> &annotations );
36  QMap<QByteArray, QByteArray> annotations() const;
37 
38  QByteArray type() const;
39  Attribute *clone() const;
40  QByteArray serialized() const;
41  void deserialize( const QByteArray &data );
42 
43 private:
44  QMap<QByteArray, QByteArray> mAnnotations;
45 };
46 
47 }
48 
49 #endif
MailCommon::CollectionAnnotationsAttribute::serialized
QByteArray serialized() const
Definition: collectionannotationsattribute.cpp:57
MailCommon::CollectionAnnotationsAttribute::deserialize
void deserialize(const QByteArray &data)
Definition: collectionannotationsattribute.cpp:72
MailCommon::CollectionAnnotationsAttribute::clone
Attribute * clone() const
Definition: collectionannotationsattribute.cpp:52
MailCommon::CollectionAnnotationsAttribute::CollectionAnnotationsAttribute
CollectionAnnotationsAttribute()
Definition: collectionannotationsattribute.cpp:26
MailCommon::CollectionAnnotationsAttribute
Definition: collectionannotationsattribute.h:29
MailCommon::CollectionAnnotationsAttribute::setAnnotations
void setAnnotations(const QMap< QByteArray, QByteArray > &annotations)
Definition: collectionannotationsattribute.cpp:36
MailCommon::CollectionAnnotationsAttribute::type
QByteArray type() const
Definition: collectionannotationsattribute.cpp:47
MailCommon::CollectionAnnotationsAttribute::annotations
QMap< QByteArray, QByteArray > annotations() const
Definition: collectionannotationsattribute.cpp:42
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

mailcommon

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



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