KNewStuff

core/author.h
1 /*
2  This file is part of KNewStuff2.
3  SPDX-FileCopyrightText: 2002 Cornelius Schumacher <[email protected]>
4  SPDX-FileCopyrightText: 2003-2007 Josef Spillner <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.1-or-later
7 */
8 
9 #ifndef KNEWSTUFF3_AUTHOR_P_H
10 #define KNEWSTUFF3_AUTHOR_P_H
11 
12 #include <QString>
13 #include <QUrl>
14 
15 #include "knewstuffcore_export.h"
16 
17 namespace KNSCore
18 {
19 struct AuthorPrivate;
20 
30 class KNEWSTUFFCORE_EXPORT Author
31 {
32 public:
33  explicit Author();
34  Author(const Author &other);
35  Author& operator=(const Author &other) = default;
36  Author& operator=(Author&&) = default;
37  ~Author();
38 
42  void setId(const QString &id);
43 
48  QString id() const;
49 
53  void setName(const QString &name);
54 
60  QString name() const;
61 
65  void setEmail(const QString &email);
66 
72  QString email() const;
73 
77  void setJabber(const QString &jabber);
78 
84  QString jabber() const;
85 
89  void setHomepage(const QString &homepage);
90 
96  QString homepage() const;
97 
101  void setProfilepage(const QString &profilepage);
102 
108  QString profilepage() const;
109 
113  void setAvatarUrl(const QUrl &avatarUrl);
114 
120  QUrl avatarUrl() const;
121 
127  QString description() const;
131  void setDescription(const QString &description);
132 private:
133  QString mName;
134  QString mEmail;
135  QString mJabber;
136  QString mHomepage;
137 };
138 
139 }
140 
141 #endif
Contains the core functionality for handling interaction with NewStuff providers. ...
KNewStuff author information.
Definition: core/author.h:30
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 18 2021 22:43:49 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.