KNSCore::Author

Search for usage in LXR

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 133 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 143 of file core/author.cpp.

QString Author::email ( ) const

Retrieve the author's email address.

Returns
author email address

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

QString Author::homepage ( ) const

Retrieve the author's homepage.

Returns
author homepage

Definition at line 113 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 73 of file core/author.cpp.

QString Author::jabber ( ) const

Retrieve the author's jabber address.

Returns
author jabber address

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

QString Author::name ( ) const

Retrieve the author's name.

Returns
author name

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

QString Author::profilepage ( ) const

Retrieve the author's profile page.

Returns
author profile page

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

void Author::setAvatarUrl ( const QUrl avatarUrl)

Sets the url for the user's avatar image.

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

void Author::setDescription ( const QString description)

Set the user's description.

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

void Author::setEmail ( const QString email)

Sets the email address of the author.

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

void Author::setHomepage ( const QString homepage)

Sets the homepage of the author.

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

void KNSCore::Author::setId ( const QString id)

Sets the user ID of the author.

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

void Author::setJabber ( const QString jabber)

Sets the jabber address of the author.

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

void Author::setName ( const QString name)

Sets the full name of the author.

Definition at line 78 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 118 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-2021 The KDE developers.
Generated on Tue Apr 13 2021 22:41:44 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.