File indexing completed on 2024-04-21 04:01:00

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 "imagerdfimpl.h"
0009 
0010 namespace Syndication
0011 {
0012 ImageRDFImpl::ImageRDFImpl(const Syndication::RDF::Image &image)
0013     : m_image(image)
0014 {
0015 }
0016 
0017 bool ImageRDFImpl::isNull() const
0018 {
0019     return m_image.isNull();
0020 }
0021 
0022 QString ImageRDFImpl::url() const
0023 {
0024     return m_image.url();
0025 }
0026 
0027 QString ImageRDFImpl::title() const
0028 {
0029     return m_image.title();
0030 }
0031 
0032 QString ImageRDFImpl::link() const
0033 {
0034     return m_image.link();
0035 }
0036 
0037 QString ImageRDFImpl::description() const
0038 {
0039     return QString();
0040 }
0041 
0042 uint ImageRDFImpl::height() const
0043 {
0044     return 0;
0045 }
0046 
0047 uint ImageRDFImpl::width() const
0048 {
0049     return 0;
0050 }
0051 
0052 } // namespace Syndication