KNSCore::Author
#include <author.h>
Public Member Functions | |
Author (const Author &other) | |
QUrl | avatarUrl () const |
QString | description () const |
QString | email () const |
QString | homepage () const |
QString | id () const |
QString | jabber () const |
QString | name () const |
Author & | operator= (const Author &other)=default |
Author & | operator= (Author &&)=default |
QString | profilepage () const |
void | setAvatarUrl (const QUrl &avatarUrl) |
void | setDescription (const QString &description) |
void | setEmail (const QString &email) |
void | setHomepage (const QString &homepage) |
void | setId (const QString &id) |
void | setJabber (const QString &jabber) |
void | setName (const QString &name) |
void | setProfilepage (const QString &profilepage) |
Detailed Description
KNewStuff author information.
This class provides accessor methods to the author data as used by KNewStuff. It should probably not be used directly by the application.
Definition at line 30 of file core/author.h.
Member Function Documentation
QUrl Author::avatarUrl | ( | ) | const |
Retrieve the url of the user's avatar image.
- Returns
- a url for the user's avatar (may be empty)
Definition at line 132 of file core/author.cpp.
QString Author::description | ( | ) | const |
Retrieve the user's description text.
- Returns
- A long(ish)-form text describing this user, usually self-entered
Definition at line 142 of file core/author.cpp.
QString Author::email | ( | ) | const |
Retrieve the author's email address.
- Returns
- author email address
Definition at line 92 of file core/author.cpp.
QString Author::homepage | ( | ) | const |
Retrieve the author's homepage.
- Returns
- author homepage
Definition at line 112 of file core/author.cpp.
QString KNSCore::Author::id | ( | ) | const |
Retrieve the author's user ID.
- Returns
- the author's user ID
Definition at line 72 of file core/author.cpp.
QString Author::jabber | ( | ) | const |
Retrieve the author's jabber address.
- Returns
- author jabber address
Definition at line 102 of file core/author.cpp.
QString Author::name | ( | ) | const |
QString Author::profilepage | ( | ) | const |
Retrieve the author's profile page.
- Returns
- author profile page
Definition at line 122 of file core/author.cpp.
void Author::setAvatarUrl | ( | const QUrl & | avatarUrl | ) |
Sets the url for the user's avatar image.
Definition at line 127 of file core/author.cpp.
void Author::setDescription | ( | const QString & | description | ) |
Set the user's description.
Definition at line 137 of file core/author.cpp.
void Author::setEmail | ( | const QString & | ) |
Sets the email address of the author.
Definition at line 87 of file core/author.cpp.
void Author::setHomepage | ( | const QString & | homepage | ) |
Sets the homepage of the author.
Definition at line 107 of file core/author.cpp.
void KNSCore::Author::setId | ( | const QString & | id | ) |
Sets the user ID of the author.
Definition at line 67 of file core/author.cpp.
void Author::setJabber | ( | const QString & | jabber | ) |
Sets the jabber address of the author.
Definition at line 97 of file core/author.cpp.
void Author::setName | ( | const QString & | name | ) |
Sets the full name of the author.
Definition at line 77 of file core/author.cpp.
void Author::setProfilepage | ( | const QString & | profilepage | ) |
Sets the profile page of the author, usually located on the server hosting the content.
Definition at line 117 of file core/author.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 18 2021 22:43:50 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.