syndication/rdf
Syndication::RDF::Item Class Reference
An RSS 1.0 item. More...
#include <item.h>
Inheritance diagram for Syndication::RDF::Item:

Public Member Functions | |
| bool | accept (SpecificItemVisitor *visitor) |
| DublinCore | dc () const |
| QString | debugInfo () const |
| QString | description () const |
| QString | encodedContent () const |
| Item (const Item &other) | |
| Item (ResourcePtr resource, DocumentPtr doc=DocumentPtr()) | |
| Item () | |
| QString | link () const |
| Item & | operator= (const Item &other) |
| bool | operator== (const Item &other) const |
| QString | title () const |
| virtual | ~Item () |
Detailed Description
An RSS 1.0 item.
(It is a convenience wrapper for the underlying RDF resource, which can be accessed via resource()).
Definition at line 48 of file item.h.
Constructor & Destructor Documentation
| Syndication::RDF::Item::Item | ( | ) |
| Syndication::RDF::Item::Item | ( | ResourcePtr | resource, | |
| DocumentPtr | doc = DocumentPtr() | |||
| ) | [explicit] |
| Syndication::RDF::Item::Item | ( | const Item & | other | ) |
| Syndication::RDF::Item::~Item | ( | ) | [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 |
assigns another item
- Parameters:
-
other the item to assign
Reimplemented from Syndication::RDF::ResourceWrapper.
| 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
Reimplemented from Syndication::RDF::ResourceWrapper.
| QString Syndication::RDF::Item::title | ( | ) | const |
The documentation for this class was generated from the following files:
KDE 4.3 API Reference