Kgapi

contactsgroup.h
1 /*
2  * This file is part of LibKGAPI library
3  *
4  * SPDX-FileCopyrightText: 2013 Daniel Vrátil <[email protected]>
5  *
6  * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7  */
8 
9 
10 #ifndef LIBKGAPI2_CONTACTSGROUP_H
11 #define LIBKGAPI2_CONTACTSGROUP_H
12 
13 #include "object.h"
14 #include "types.h"
15 #include "kgapicontacts_export.h"
16 
17 #include <QDateTime>
18 
19 namespace KGAPI2
20 {
21 
34 class KGAPICONTACTS_EXPORT ContactsGroup : public KGAPI2::Object
35 {
36  public:
37 
41  ContactsGroup();
42 
46  ContactsGroup(const ContactsGroup &other);
47 
51  ~ContactsGroup() override;
52 
56  bool operator==(const ContactsGroup &other) const;
57 
63  void setId(const QString &id);
64 
68  QString id() const;
69 
75  void setTitle(const QString &title);
76 
80  QString title() const;
81 
87  void setContent(const QString &content);
88 
92  QString content() const;
93 
99  void setUpdated(const QDateTime &updated);
100 
104  QDateTime updated() const;
105 
116  void setIsSystemGroup(const bool isSystemGroup);
117 
121  bool isSystemGroup() const;
122 
123  private:
124  class Private;
125  Private * const d;
126 
127 };
128 
129 } // namespace KGAPI2
130 
131 #endif // LIBKGAPI2_CONTACTSGROUP_H
Base class for all objects.
Definition: object.h:31
Represents a contacts group.
Definition: contactsgroup.h:34
A job to fetch a single map tile described by a StaticMapUrl.
Definition: blog.h:16
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Sep 22 2020 23:10:49 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.