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

Akonadi Social Utils Library

  • sources
  • kde-4.12
  • kdepimlibs
  • 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 
29 namespace Akonadi {
30 
31 class SocialNetworkAttributesPrivate;
32 
33 class 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
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Akonadi Social Utils Library

Skip menu "Akonadi Social Utils Library"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Members
  • File List
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

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