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