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

syndication/atom

  • syndication
  • atom
entry.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_ENTRY_H
24#define SYNDICATION_ATOM_ENTRY_H
25
26#include <syndication/elementwrapper.h>
27#include <syndication/specificitem.h>
28
29#include <QtCore/QList>
30
31#include <ctime>
32
33class QDomElement;
34class QString;
35
36namespace Syndication {
37
38class SpecificItemVisitor;
39
40namespace Atom {
41
42class Category;
43class Content;
44class Link;
45class Person;
46class Source;
47
53class SYNDICATION_EXPORT Entry : public ElementWrapper, public SpecificItem
54{
55 public:
56
60 Entry();
61
68 explicit Entry(const QDomElement& element);
69
76 bool accept(SpecificItemVisitor* visitor);
77
86 QList<Person> authors() const;
87
91 QList<Category> categories() const;
92
96 QList<Person> contributors() const;
97
103 QString id() const;
104
112 QList<Link> links() const;
113
120 QString rights() const;
121
131 Source source() const;
132
138 time_t published() const;
139
145 time_t updated() const;
146
154 QString summary() const;
155
161 QString title() const;
162
169 Content content() const;
170
175 QList<QDomElement> unhandledElements() const;
176
183 void setFeedAuthors(const QList<Person>& feedAuthors);
184
190 QString debugInfo() const;
191
192 private:
193
194 QList<Person> m_feedAuthors;
195};
196
197
198} // namespace Atom
199} // namespace Syndication
200
201#endif // SYNDICATION_ATOM_ENTRY_H
Syndication::Atom::Content
The content element either contains or links the content of an entry.
Definition content.h:47
Syndication::Atom::Entry
an Atom entry, equivalent to the "items" in the RSS world.
Definition entry.h:54
Syndication::Atom::Source
If an entry was copied from another feed, this class contains a description of the source feed.
Definition source.h:50
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 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