KNSCore::Author

KNSCore::Author Class Reference

#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
 
Authoroperator= (const Author &other)=default
 
Authoroperator= (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.

Author
Josef Spillner (spill[email protected][email protected][email protected]kde.o[email protected]rg)

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

Retrieve the author's name.

Returns
author name

Definition at line 82 of file core/author.cpp.

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 email)

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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Aug 12 2020 22:42:03 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.