File indexing completed on 2024-12-01 03:45:41
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 "categoryrss2impl.h" 0009 0010 #include <QString> 0011 0012 namespace Syndication 0013 { 0014 CategoryRSS2Impl::CategoryRSS2Impl(const Syndication::RSS2::Category &category) 0015 : m_category(category) 0016 { 0017 } 0018 0019 bool CategoryRSS2Impl::isNull() const 0020 { 0021 return m_category.isNull(); 0022 } 0023 0024 QString CategoryRSS2Impl::term() const 0025 { 0026 return m_category.category(); 0027 } 0028 0029 QString CategoryRSS2Impl::scheme() const 0030 { 0031 return m_category.domain(); 0032 } 0033 0034 QString CategoryRSS2Impl::label() const 0035 { 0036 return QString(); 0037 } 0038 0039 } // namespace Syndication