• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

syndication/atom

  • syndication
  • atom
source.h
1/*
2 * This file is part of the syndication library
3 *
4 * Copyright (C) 2006 Frank Osterfeld <osterfeld@kde.org>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 *
21 */
22
23#ifndef SYNDICATION_ATOM_SOURCE_H
24#define SYNDICATION_ATOM_SOURCE_H
25
26#include <syndication/elementwrapper.h>
27
28#include <ctime>
29
30class QDomElement;
31class QString;
32
33template <class T> class QList;
34
35namespace Syndication {
36namespace Atom {
37
38class Category;
39class Generator;
40class Link;
41class Person;
42
49class SYNDICATION_EXPORT Source : public ElementWrapper
50{
51 public:
52
56 Source();
57
65 explicit Source(const QDomElement& element);
66
70 QList<Person> authors() const;
71
75 QList<Person> contributors() const;
76
80 QList<Category> categories() const;
81
86 Generator generator() const;
87
93 QString icon() const;
94
101 QString id() const;
102
107 QList<Link> links() const;
108
114 QString logo() const;
115
122 QString rights() const;
123
130 QString subtitle() const;
131
137 QString title() const;
138
145 time_t updated() const;
146
152 QString debugInfo() const;
153};
154
155} // namespace Atom
156} // namespace Syndication
157
158#endif // SYNDICATION_ATOM_SOURCE_H
Syndication::Atom::Category
A category for categorizing items or whole feeds.
Definition category.h:46
Syndication::Atom::Generator
Description of the agent used to generate the feed.
Definition generator.h:40
Syndication::Atom::Link
A link, pointing to webpages, media files on the web ("podcast"), related content,...
Definition link.h:40
Syndication::Atom::Person
describes a person, with name and optional URI and e-mail address.
Definition person.h:41
Syndication::Atom::Source::updated
time_t updated() const
The datetime of the last modification of the source feed content.
Definition source.cpp:163
Syndication::Atom::Source::contributors
QList< Person > contributors() const
contributors to the original content (optional)
Definition source.cpp:67
Syndication::Atom::Source::id
QString id() const
a string that unambigously identifies the source feed (optional)
Definition source.cpp:117
Syndication::Atom::Source::title
QString title() const
source feed title (optional).
Definition source.cpp:158
Syndication::Atom::Source::authors
QList< Person > authors() const
authors of the original content (optional)
Definition source.cpp:48
Syndication::Atom::Source::debugInfo
QString debugInfo() const
description of this source object for debugging purposes
Definition source.cpp:170
Syndication::Atom::Source::subtitle
QString subtitle() const
description or subtitle of the source feed (optional).
Definition source.cpp:153
Syndication::Atom::Source::rights
QString rights() const
copyright information (optional)
Definition source.cpp:148
Syndication::Atom::Source::icon
QString icon() const
URL of an image serving as a feed icon (optional)
Definition source.cpp:111
Syndication::Atom::Source::Source
Source()
creates a null source object
Definition source.cpp:40
Syndication::Atom::Source::generator
Generator generator() const
description of the software which generated the source feed (optional)
Definition source.cpp:105
Syndication::Atom::Source::logo
QString logo() const
URL of an image, the logo of the source feed (optional)
Definition source.cpp:142
Syndication::Atom::Source::categories
QList< Category > categories() const
categories the source feed is assigned to (optional)
Definition source.cpp:86
Syndication::Atom::Source::links
QList< Link > links() const
a list of links.
Definition source.cpp:123
Syndication::Atom
Atom parser and model classes, representing Atom 1.0 documents (Atom 0.3 documents are converted by t...
Definition atom.h:43
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

syndication/atom

Skip menu "syndication/atom"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Members
  • File List

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal