Search for usage in LXR

KNSCore::Author Class Reference

#include <author.h>


QString email
QString name

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

Josef Spillner (spill.nosp@m.ner@.nosp@m.kde.o.nosp@m.rg)

Definition at line 31 of file core/author.h.

Property Documentation

◆ email

QString KNSCore::Author::email

Definition at line 35 of file core/author.h.

◆ name

QString KNSCore::Author::name

Definition at line 34 of file core/author.h.

Constructor & Destructor Documentation

◆ Author() [1/2]

Author::Author ( )

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

◆ Author() [2/2]

KNSCore::Author::Author ( const Author & other)

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

Member Function Documentation

◆ avatarUrl()

QUrl Author::avatarUrl ( ) const

Retrieve the url of the user's avatar image.

a url for the user's avatar (may be empty)

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

◆ description()

QString Author::description ( ) const

Retrieve the user's description text.

A long(ish)-form text describing this user, usually self-entered

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

◆ email()

QString Author::email ( ) const

Retrieve the author's email address.

author email address

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

◆ homepage()

QString Author::homepage ( ) const

Retrieve the author's homepage.

author homepage

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

◆ id()

QString KNSCore::Author::id ( ) const

Retrieve the author's user ID.

the author's user ID

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

◆ jabber()

QString Author::jabber ( ) const

Retrieve the author's jabber address.

author jabber address

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

◆ name()

QString Author::name ( ) const

Retrieve the author's name.

author name

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

◆ operator=()

Author & Author::operator= ( const Author & other)

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

◆ profilepage()

QString Author::profilepage ( ) const

Retrieve the author's profile page.

author profile page

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

◆ setAvatarUrl()

void Author::setAvatarUrl ( const QUrl & avatarUrl)

Sets the url for the user's avatar image.

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

◆ setDescription()

void Author::setDescription ( const QString & description)

Set the user's description.

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

◆ setEmail()

void Author::setEmail ( const QString & email)

Sets the email address of the author.

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

◆ setHomepage()

void Author::setHomepage ( const QString & homepage)

Sets the homepage of the author.

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

◆ setId()

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

Sets the user ID of the author.

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

◆ setJabber()

void Author::setJabber ( const QString & jabber)

Sets the jabber address of the author.

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

◆ setName()

void Author::setName ( const QString & name)

Sets the full name of the author.

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

◆ setProfilepage()

void Author::setProfilepage ( const QString & profilepage)

Sets the profile page of the author, usually located on the server hosting the content.

Definition at line 103 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-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:21:35 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.