Syndication::RSS2::Category
#include <category.h>

Additional Inherited Members | |
![]() | |
static QString | childNodesAsXML (const QDomElement &parent) |
Detailed Description
A category which can be assigned to items or whole feeds.
These can be simple tags as known from delicious or Technorati, or a category from a hierarchical taxonomy or ontology.
Definition at line 27 of file rss2/category.h.
Constructor & Destructor Documentation
◆ Category() [1/2]
|
explicit |
Creates a Category object wrapping a <category>
XML element.
- Parameters
-
element The <category>
element to wrap
Definition at line 22 of file rss2/category.cpp.
◆ Category() [2/2]
Default constructor, creates a null object, for which isNull() is true
.
Definition at line 17 of file rss2/category.cpp.
Member Function Documentation
◆ category()
Name of the category.
This is both to be used as identifier and as human-readable string. It can bea forward-slash-separated string to identify a hierarchic location in the domain indicated by domain(). Examples: "General", "Programming", "Funny", "Books/History".
- Returns
- The category identifier/name as string or a null string for null objects.
Definition at line 26 of file rss2/category.cpp.
◆ debugInfo()
Returns a description of the object for debugging purposes.
- Returns
- debug string
Definition at line 36 of file rss2/category.cpp.
◆ domain()
optional, identifies the domain of the category, i.e.
a categorization taxonomy.
- Returns
- The domain of the category, or a null string if none is set (and for null objects)
Definition at line 31 of file rss2/category.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:55:49 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.