File indexing completed on 2024-04-28 07:50:15

0001 /*
0002     This file is part of the syndication library
0003     SPDX-FileCopyrightText: 2006 Frank Osterfeld <osterfeld@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #include "categoryatomimpl.h"
0009 
0010 #include <QString>
0011 
0012 namespace Syndication
0013 {
0014 CategoryAtomImpl::CategoryAtomImpl(const Syndication::Atom::Category &category)
0015     : m_category(category)
0016 {
0017 }
0018 
0019 bool CategoryAtomImpl::isNull() const
0020 {
0021     return m_category.isNull();
0022 }
0023 
0024 QString CategoryAtomImpl::term() const
0025 {
0026     return m_category.term();
0027 }
0028 
0029 QString CategoryAtomImpl::scheme() const
0030 {
0031     return m_category.scheme();
0032 }
0033 
0034 QString CategoryAtomImpl::label() const
0035 {
0036     return m_category.label();
0037 }
0038 
0039 } // namespace Syndication