Pages
API Documentation
On this page

Syndication::Atom::Person Class

describes a person, with name and optional URI and e-mail address. Used to describe authors and contributors of feeds/entries. More...

  • Header: #include <Syndication/Atom/Person>
  • CMake: find_package(KF6 REQUIRED COMPONENTS Syndication)
    target_link_libraries(mytarget PRIVATE KF6::Syndication)
  • Inherits: Syndication::ElementWrapper

List of all members, including inherited members

Public Functions

Detailed Description

Member Function Documentation

Person::Person()

creates a null person object

[explicit] Person::Person(const QDomElement &element)

creates a Person object wrapping an Atom Person Construct (atom:author, atom:contributor tags)

element a DOM element, should be a Atom Person Construct (although not enforced), otherwise this object will not parse anything useful

QString Person::debugInfo() const

description for debugging purposes

Returns debug string

QString Person::email() const

returns an e-mail address associated with the person. (optional)

Returns an e-mail address, or a null string if not specified

QString Person::name() const

a human-readable name for the person. (required) The name is a required attribute of person constructs.

Returns a human-readable name of the person

QString Person::uri() const

A URI associated with the person (optional). Usually the homepage.

Returns the URI of the person, or a null string if not specified

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