File indexing completed on 2024-10-06 03:44:26
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 "imagerss2impl.h" 0009 0010 #include <QString> 0011 0012 namespace Syndication 0013 { 0014 ImageRSS2Impl::ImageRSS2Impl(const Syndication::RSS2::Image &image) 0015 : m_image(image) 0016 { 0017 } 0018 0019 bool ImageRSS2Impl::isNull() const 0020 { 0021 return m_image.isNull(); 0022 } 0023 0024 QString ImageRSS2Impl::url() const 0025 { 0026 return m_image.url(); 0027 } 0028 0029 QString ImageRSS2Impl::title() const 0030 { 0031 return m_image.title(); 0032 } 0033 0034 QString ImageRSS2Impl::link() const 0035 { 0036 return m_image.link(); 0037 } 0038 0039 QString ImageRSS2Impl::description() const 0040 { 0041 return m_image.description(); 0042 } 0043 0044 uint ImageRSS2Impl::height() const 0045 { 0046 return m_image.height(); 0047 } 0048 0049 uint ImageRSS2Impl::width() const 0050 { 0051 return m_image.width(); 0052 } 0053 0054 } // namespace Syndication