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

akonadi

  • akonadi
  • socialutils
socialnetworkattributes.h
1/*
2 Copyright (C) 2012 Martin Klapetek <martin.klapetek@gmail.com>
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17*/
18
19#ifndef AKONADI_SOCIALUTILS_SOCIALNETWORKATTRIBUTES_H
20#define AKONADI_SOCIALUTILS_SOCIALNETWORKATTRIBUTES_H
21
22#include "libakonadisocialutils_export.h"
23
24#include "akonadi/attribute.h"
25
26#include <QString>
27#include <QVariantMap>
28
29namespace Akonadi {
30
31class SocialNetworkAttributesPrivate;
32
33class LIBAKONADISOCIALUTILS_EXPORT SocialNetworkAttributes : public Akonadi::Attribute
34{
35 public:
36 SocialNetworkAttributes();
37
45 SocialNetworkAttributes( const QString &userName, const QString &networkName,
46 bool canPublish, uint maxPostLength );
47 ~SocialNetworkAttributes();
48
49 void deserialize( const QByteArray &data );
50 QByteArray serialized() const;
51 Akonadi::Attribute *clone() const;
52 QByteArray type() const;
53
57 QString userName() const;
58
62 QString networkName() const;
63
67 bool canPublish() const;
68
72 uint maxPostLength() const;
73
74 private:
75 SocialNetworkAttributesPrivate * const d;
76};
77
78}
79
80#endif // SOCIALNETWORKATTRIBUTES_H
Akonadi::Attribute
Provides interface for custom attributes for Entity.
Definition attribute.h:139
Akonadi
FreeBusyManager::Singleton.
Definition actionstatemanager_p.h:28
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 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
  • Related Pages

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • 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