syndication/rdf
Syndication::RDF::Item Class Reference
#include <item.h>
Inheritance diagram for Syndication::RDF::Item:
Public Member Functions | |
Item () | |
Item (ResourcePtr resource, DocumentPtr doc=DocumentPtr()) | |
Item (const Item &other) | |
virtual | ~Item () |
bool | accept (SpecificItemVisitor *visitor) |
DublinCore | dc () const |
QString | debugInfo () const |
QString | description () const |
QString | encodedContent () const |
QString | link () const |
Item & | operator= (const Item &other) |
bool | operator== (const Item &other) const |
QString | title () const |
Public Member Functions inherited from Syndication::RDF::ResourceWrapper | |
ResourceWrapper () | |
ResourceWrapper (const ResourceWrapper &other) | |
ResourceWrapper (ResourcePtr resource) | |
virtual | ~ResourceWrapper () |
bool | isNull () const |
ResourceWrapper & | operator= (const ResourceWrapper &other) |
bool | operator== (const ResourceWrapper &other) const |
ResourcePtr | resource () const |
Detailed Description
An RSS 1.0 item.
(It is a convenience wrapper for the underlying RDF resource, which can be accessed via resource()).
Constructor & Destructor Documentation
Syndication::RDF::Item::Item | ( | ) |
|
explicit |
Syndication::RDF::Item::Item | ( | const Item & | other | ) |
|
virtual |
Member Function Documentation
bool Syndication::RDF::Item::accept | ( | SpecificItemVisitor * | visitor | ) |
DublinCore Syndication::RDF::Item::dc | ( | ) | const |
QString Syndication::RDF::Item::debugInfo | ( | ) | const |
QString Syndication::RDF::Item::description | ( | ) | const |
A brief description/abstract of the item.
if encodedContent() is not provided, this can also contain the full content.
- Returns
- description as HTML, or a null string if not specified
QString Syndication::RDF::Item::encodedContent | ( | ) | const |
QString Syndication::RDF::Item::link | ( | ) | const |
bool Syndication::RDF::Item::operator== | ( | const Item & | other | ) | const |
compares two item instances.
Two instances are equal, if the wrapped resources are equal. See ResourceWrapper::operator==() for details.
- Parameters
-
other the item to compare this item to
QString Syndication::RDF::Item::title | ( | ) | const |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.