1 | /* |
---|---|
2 | This file is part of the syndication library |
3 | SPDX-FileCopyrightText: 2006 Frank Osterfeld <osterfeld@kde.org> |
4 | |
5 | SPDX-License-Identifier: LGPL-2.0-or-later |
6 | */ |
7 | |
8 | #include "categoryatomimpl.h" |
9 | |
10 | #include <QString> |
11 | |
12 | namespace Syndication |
13 | { |
14 | CategoryAtomImpl::CategoryAtomImpl(const Syndication::Atom::Category &category) |
15 | : m_category(category) |
16 | { |
17 | } |
18 | |
19 | bool CategoryAtomImpl::isNull() const |
20 | { |
21 | return m_category.isNull(); |
22 | } |
23 | |
24 | QString CategoryAtomImpl::term() const |
25 | { |
26 | return m_category.term(); |
27 | } |
28 | |
29 | QString CategoryAtomImpl::scheme() const |
30 | { |
31 | return m_category.scheme(); |
32 | } |
33 | |
34 | QString CategoryAtomImpl::label() const |
35 | { |
36 | return m_category.label(); |
37 | } |
38 | |
39 | } // namespace Syndication |
40 |