akregator/src/librss

document.h
1/*
2 * document.h
3 *
4 * Copyright (c) 2001, 2002, 2003 Frerich Raabe <raabe@kde.org>
5 *
6 * This program is distributed in the hope that it will be useful, but WITHOUT
7 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
8 * FOR A PARTICULAR PURPOSE. For licensing and distribution details, check the
9 * accompanying file 'COPYING'.
10 */
11#ifndef LIBRSS_DOCUMENT_H
12#define LIBRSS_DOCUMENT_H
13
14#include "article.h"
15#include "global.h"
16
17class TQDateTime;
18class TQDomDocument;
19
20namespace RSS
21{
22 class Image;
23 class TextInput;
24
31 class TDE_EXPORT Document
32 {
33 public:
37 Document();
38
43 Document(const Document &other);
44
48 Document(const TQDomDocument &doc);
49
55 Document &operator=(const Document &other);
56
60 ~Document();
61
65 bool isValid() const;
66
73 Version version() const;
74
82 TQString verbVersion() const;
83
90 TQString title() const;
91
99 TQString description() const;
100
109 const KURL &link() const;
110
117 Image *image();
118
122 const Image *image() const;
123
130 TextInput *textInput();
131
135 const TextInput *textInput() const;
136
145 const Article::List &articles() const;
146
156 Language language() const;
157
163 TQString copyright() const;
164
169 const TQDateTime &pubDate() const;
170
175 const TQDateTime &lastBuildDate() const;
176
182 TQString rating() const;
183
190 const KURL &docs() const;
191
200 TQString managingEditor() const;
201
209 TQString webMaster() const;
210
219 const HourList &skipHours() const;
220
227 const DayList &skipDays() const;
228 int ttl() const;
229
230 private:
231 struct Private;
232 Private *d;
233 };
234}
235
236#endif // LIBRSS_DOCUMENT_H
Image * image()
RSS 0.90 and upwards.
Definition document.cpp:562
TQString verbVersion() const
Convenience method.
Definition document.cpp:529
const DayList & skipDays() const
RSS 0.91 and upwards.
Definition document.cpp:632
Language language() const
RSS 0.91 and upwards.
Definition document.cpp:587
const TQDateTime & pubDate() const
RSS 0.91 and upwards.
Definition document.cpp:597
TQString description() const
RSS 0.90 and upwards.
Definition document.cpp:552
const KURL & link() const
RSS 0.90 and upwards.
Definition document.cpp:557
TQString rating() const
RSS 0.91 and upwards.
Definition document.cpp:607
TQString managingEditor() const
RSS 0.91 and upwards.
Definition document.cpp:617
Document & operator=(const Document &other)
Assignment operator.
Definition document.cpp:642
TQString webMaster() const
RSS 0.91 and upwards.
Definition document.cpp:622
bool isValid() const
Definition document.cpp:519
TQString title() const
RSS 0.90 and upwards.
Definition document.cpp:547
const TQDateTime & lastBuildDate() const
RSS 0.91 and upwards.
Definition document.cpp:602
const KURL & docs() const
RSS 0.91 and upwards.
Definition document.cpp:612
const HourList & skipHours() const
RSS 0.91 and upwards.
Definition document.cpp:627
Document()
Default constructor.
Definition document.cpp:66
TQString copyright() const
RSS 0.91 and upwards.
Definition document.cpp:592
Version version() const
Definition document.cpp:524
const Article::List & articles() const
RSS 0.90 and upwards.
Definition document.cpp:582
TextInput * textInput()
RSS 0.90 and upwards.
Definition document.cpp:572
Represents an image as stored in a RSS file.
Definition image.h:35
Represents a text input facility as stored in a RSS file for the purpose of allowing users to submit ...
Definition textinput.h:31