syndication/rdf
Syndication::RDF::Item Class Reference
#include <item.h>
Inheritance diagram for Syndication::RDF::Item:
Public Member Functions | |
| Item () | |
| Item (const Item &other) | |
| Item (ResourcePtr resource, DocumentPtr doc=DocumentPtr()) | |
| 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
◆ Item() [1/3]
| Syndication::RDF::Item::Item | ( | ) |
◆ Item() [2/3]
|
explicit |
◆ Item() [3/3]
| Syndication::RDF::Item::Item | ( | const Item & | other | ) |
◆ ~Item()
|
virtual |
Member Function Documentation
◆ accept()
| bool Syndication::RDF::Item::accept | ( | SpecificItemVisitor * | visitor | ) |
◆ dc()
| DublinCore Syndication::RDF::Item::dc | ( | ) | const |
◆ debugInfo()
| QString Syndication::RDF::Item::debugInfo | ( | ) | const |
◆ description()
| 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
◆ encodedContent()
| QString Syndication::RDF::Item::encodedContent | ( | ) | const |
◆ link()
| QString Syndication::RDF::Item::link | ( | ) | const |
◆ operator=()
◆ operator==()
| 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
◆ title()
| 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-2025 The KDE developers.
Generated on Thu Jul 24 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Thu Jul 24 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.