Syndication

categoryrss2impl.cpp
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 "categoryrss2impl.h"
9
10#include <QString>
11
12namespace Syndication
13{
14CategoryRSS2Impl::CategoryRSS2Impl(const Syndication::RSS2::Category &category)
15 : m_category(category)
16{
17}
18
19bool CategoryRSS2Impl::isNull() const
20{
21 return m_category.isNull();
22}
23
24QString CategoryRSS2Impl::term() const
25{
26 return m_category.category();
27}
28
29QString CategoryRSS2Impl::scheme() const
30{
31 return m_category.domain();
32}
33
34QString CategoryRSS2Impl::label() const
35{
36 return QString();
37}
38
39} // namespace Syndication
A category which can be assigned to items or whole feeds.
Category category(StandardShortcut id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 12:02:35 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.