syndication/atom
#include <link.h>
Inherits ElementWrapper.
Public Member Functions | |
| Link () | |
| Link (const QDomElement &element) | |
| QString | debugInfo () const |
| QString | href () const |
| QString | hrefLanguage () const |
| uint | length () const |
| QString | rel () const |
| QString | title () const |
| QString | type () const |
Detailed Description
A link, pointing to webpages, media files on the web ("podcast"), related content, etc.
See rel() for details.
Constructor & Destructor Documentation
| Syndication::Atom::Link::Link | ( | ) |
|
explicit |
Member Function Documentation
| QString Syndication::Atom::Link::debugInfo | ( | ) | const |
| QString Syndication::Atom::Link::href | ( | ) | const |
| QString Syndication::Atom::Link::hrefLanguage | ( | ) | const |
| uint Syndication::Atom::Link::length | ( | ) | const |
| QString Syndication::Atom::Link::rel | ( | ) | const |
the relation between the feed/entry and the linked resource.
The value of rel() is usually one of the following:
"alternate": The URL points to an alternate version of the feed/entry. In practice, this is the article described in an entry, or the homepage of the feed.
"enclosure": The link describes an Enclosure. See Syndication::Enclosure for more information.
"related": links to web resources with related content. E.g., an article discussing KDE might link to the KDE homepage.
"self": "identifies a resource equivalent to the containing
element". This is usually the URL of the feed source itself.
"via": The link points to the source of the information contained in the feed/entry
- Returns
- the rel value specified in the feed. Default value is
"alternate"
| QString Syndication::Atom::Link::title | ( | ) | const |
| QString Syndication::Atom::Link::type | ( | ) | const |
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:35 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference