Syndication

categoryatomimpl.h
1 /*
2  This file is part of the syndication library
3  SPDX-FileCopyrightText: 2006 Frank Osterfeld <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7 
8 #ifndef SYNDICATION_MAPPER_CATEGORYATOMIMPL_H
9 #define SYNDICATION_MAPPER_CATEGORYATOMIMPL_H
10 
11 #include <category.h>
12 #include <atom/category.h>
13 
14 namespace Syndication
15 {
16 
17 class CategoryAtomImpl;
18 typedef QSharedPointer<CategoryAtomImpl> CategoryAtomImplPtr;
19 
26 {
27 public:
28 
29  explicit CategoryAtomImpl(const Syndication::Atom::Category &category);
30 
31  Q_REQUIRED_RESULT bool isNull() const override;
32 
33  Q_REQUIRED_RESULT QString term() const override;
34 
35  Q_REQUIRED_RESULT QString scheme() const override;
36 
37  Q_REQUIRED_RESULT QString label() const override;
38 
39 private:
40  Syndication::Atom::Category m_category;
41 };
42 
43 } // namespace Syndication
44 
45 #endif // SYNDICATION_MAPPER_CATEGORYATOMIMPL_H
QString term() const override
A term identifying the category, e.g.
A category for categorizing items or whole feeds.
Definition: atom/category.h:32
bool isNull() const override
returns whether this object is a null category
QString scheme() const override
An optional scheme the term is part of.
QString label() const override
An optional human-readable label of the category.
A category for categorizing items or whole feeds.
Definition: category.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Aug 12 2020 23:02:27 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.