Pages
API Documentation
On this page

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

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:

[read-only] name : QString

Access functions:

  • QString name() 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()

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.