KNSCore::Author Class
KNewStuff author information. More...
- Header:
#include <KNSCore/Author> - CMake:
find_package(KF6 REQUIRED COMPONENTS NewStuff)
target_link_libraries(mytarget PRIVATE KF6::NewStuff)
List of all members, including inherited members
Properties
Public Functions
- Author()
- QUrl avatarUrl() const
- QString description() const
- QString email() const
- QString homepage() const
- QString id() const
- QString jabber() const
- QString name() const
- 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
This class provides accessor methods to the author data as used by KNewStuff.
Warning: This class should probably not be used directly by the application.
Property Documentation
[read-only] email : QString
Access functions:
QStringemail() const
[read-only] name : QString
Access functions:
QStringname() const
Member Function Documentation
[explicit] Author::Author()
QUrl Author::avatarUrl() const
Returns the author's avatar image URL (may be empty).
See also setAvatarUrl()
QString Author::description() const
Returns A long(ish)-form text describing this author, usually self-entered.
See also setDescription()
QString Author::email() const
Returns the author's email address.
Note: Getter function for property email.
See also setEmail()
QString Author::homepage() const
Returns the author's homepage URL.
See also setHomepage()
QString Author::id() const
Returns the author's user ID.
See also setId()
QString Author::jabber() const
Returns the author's jabber address.
See also setJabber()
QString Author::name() const
Returns the author's full name.
Note: Getter function for property name.
See also setName()
QString Author::profilepage() const
Returns the author's profile page URL.
See also setProfilepage()
void Author::setAvatarUrl(const QUrl &avatarUrl)
Sets the author's avatar image URL to avatarUrl.
See also avatarUrl()
void Author::setDescription(const QString &description)
Sets the author's description.
See also description()
void Author::setEmail(const QString &email)
Sets the author's email address.
See also email()
void Author::setHomepage(const QString &homepage)
Sets the author's homepage URL.
See also homepage()
void Author::setId(const QString &id)
Sets the author's user ID to id.
See also id()
void Author::setJabber(const QString &jabber)
Sets the author's jabber address.
See also jabber()
void Author::setName(const QString &name)
Sets the author's full name.
See also name()
void Author::setProfilepage(const QString &profilepage)
Sets the profile page of the author, usually located on the server hosting the content.
profilepage is the URL of the author's profile page
See also profilepage()