Syndication

syndicationvocab.h
1 /*
2  This file is part of the syndication library
3  SPDX-FileCopyrightText: 2006 Frank Osterfeld <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7 
8 #ifndef SYNDICATION_RDF_SYNDICATIONVOCAB_H
9 #define SYNDICATION_RDF_SYNDICATIONVOCAB_H
10 
11 #include <QSharedPointer>
12 
13 #include <syndication_export.h>
14 
15 class QString;
16 
17 namespace Syndication
18 {
19 namespace RDF
20 {
21 //@cond PRIVATE
22 class Property;
23 typedef QSharedPointer<Property> PropertyPtr;
24 //@endcond
25 
26 /**
27  * Singleton providing Property constants for
28  * the Syndication module.
29  * For a specification, see
30  * http://web.resource.org/rss/1.0/modules/syndication/
31  *
32  * @author Frank Osterfeld
33  */
34 class SYNDICATION_EXPORT SyndicationVocab
35 {
36 public:
37  /**
38  * destructor
39  */
40  ~SyndicationVocab();
41 
42  /**
43  * returns the singleton instance
44  */
45  static SyndicationVocab *self();
46 
47  /**
48  * namespace URI of the syndication vocabulary,
49  * @p "http://purl.org/rss/1.0/modules/syndication/"
50  */
51  const QString &namespaceURI() const;
52 
53  /**
54  * updatePeriod property, see Syndication::updatePeriod() for more
55  * information.
56  */
57  PropertyPtr updatePeriod() const;
58 
59  /**
60  * updateFrequency property, see Syndication::updateFrequency() for more
61  * information.
62  */
63  PropertyPtr updateFrequency() const;
64 
65  /**
66  * updateBase property, see Syndication::updateBase() for more
67  * information.
68  */
69  PropertyPtr updateBase() const;
70 
71 private:
72  SYNDICATION_NO_EXPORT SyndicationVocab();
73  Q_DISABLE_COPY(SyndicationVocab)
74  class SyndicationVocabPrivate;
75  SyndicationVocabPrivate *const d;
76 };
77 
78 } // namespace RDF
79 } // namespace Syndication
80 
81 #endif // SYNDICATION_RDF_SYNDICATIONVOCAB_H
Property
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Nov 30 2023 03:51:26 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.