• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

syndication/rss2

Syndication::RSS2::Category

Syndication::RSS2::Category Class Reference

A category which can be assigned to items or whole feeds. More...

#include <category.h>

Inherits ElementWrapper.

List of all members.


Public Member Functions

QString category () const
 Category ()
 Category (const QDomElement &element)
QString debugInfo () const
QString domain () const

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.

Author:
Frank Osterfeld

Definition at line 41 of file category.h.


Constructor & Destructor Documentation

Syndication::RSS2::Category::Category ( const QDomElement &  element  )  [explicit]

Creates a Category object wrapping a <category> XML element.

Parameters:
element The <category> element to wrap

Definition at line 35 of file category.cpp.

Syndication::RSS2::Category::Category (  ) 

Default constructor, creates a null object, for which isNull() is true.

Definition at line 31 of file category.cpp.


Member Function Documentation

QString Syndication::RSS2::Category::category (  )  const

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 38 of file category.cpp.

QString Syndication::RSS2::Category::debugInfo (  )  const

Returns a description of the object for debugging purposes.

Returns:
debug string

Definition at line 48 of file category.cpp.

QString Syndication::RSS2::Category::domain (  )  const

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 43 of file category.cpp.


The documentation for this class was generated from the following files:
  • category.h
  • category.cpp

syndication/rss2

Skip menu "syndication/rss2"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • File List
  • Class Members

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal