| 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 | |
| 12 | namespace Syndication |
| 13 | { |
| 14 | ImageRSS2Impl::ImageRSS2Impl(const Syndication::RSS2::Image &image) |
| 15 | : m_image(image) |
| 16 | { |
| 17 | } |
| 18 | |
| 19 | bool ImageRSS2Impl::isNull() const |
| 20 | { |
| 21 | return m_image.isNull(); |
| 22 | } |
| 23 | |
| 24 | QString ImageRSS2Impl::url() const |
| 25 | { |
| 26 | return m_image.url(); |
| 27 | } |
| 28 | |
| 29 | QString ImageRSS2Impl::title() const |
| 30 | { |
| 31 | return m_image.title(); |
| 32 | } |
| 33 | |
| 34 | QString ImageRSS2Impl::link() const |
| 35 | { |
| 36 | return m_image.link(); |
| 37 | } |
| 38 | |
| 39 | QString ImageRSS2Impl::description() const |
| 40 | { |
| 41 | return m_image.description(); |
| 42 | } |
| 43 | |
| 44 | uint ImageRSS2Impl::height() const |
| 45 | { |
| 46 | return m_image.height(); |
| 47 | } |
| 48 | |
| 49 | uint ImageRSS2Impl::width() const |
| 50 | { |
| 51 | return m_image.width(); |
| 52 | } |
| 53 | |
| 54 | } // namespace Syndication |
| 55 |
