Syndication

imagerss2impl.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 "imagerss2impl.h"
9
10#include <QString>
11
12namespace Syndication
13{
14ImageRSS2Impl::ImageRSS2Impl(const Syndication::RSS2::Image &image)
15 : m_image(image)
16{
17}
18
19bool ImageRSS2Impl::isNull() const
20{
21 return m_image.isNull();
22}
23
24QString ImageRSS2Impl::url() const
25{
26 return m_image.url();
27}
28
29QString ImageRSS2Impl::title() const
30{
31 return m_image.title();
32}
33
34QString ImageRSS2Impl::link() const
35{
36 return m_image.link();
37}
38
39QString ImageRSS2Impl::description() const
40{
41 return m_image.description();
42}
43
44uint ImageRSS2Impl::height() const
45{
46 return m_image.height();
47}
48
49uint ImageRSS2Impl::width() const
50{
51 return m_image.width();
52}
53
54} // namespace Syndication
An RSS2 image, used to describe feed logos.
Definition rss2/image.h:24
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:14:15 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.