Syndication

syndicationvocab.h
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#ifndef SYNDICATION_RDF_SYNDICATIONVOCAB_H
9#define SYNDICATION_RDF_SYNDICATIONVOCAB_H
10
11#include <QSharedPointer>
12
13#include "../syndication_export.h"
14
15#include <memory>
16
17class QString;
18
19namespace Syndication
20{
21namespace RDF
22{
23//@cond PRIVATE
24class Property;
25typedef QSharedPointer<Property> PropertyPtr;
26//@endcond
27
28/**
29 * Singleton providing Property constants for
30 * the Syndication module.
31 * For a specification, see
32 * http://web.resource.org/rss/1.0/modules/syndication/
33 *
34 * @author Frank Osterfeld
35 */
37{
38public:
39 /**
40 * destructor
41 */
43
44 /**
45 * returns the singleton instance
46 */
47 static SyndicationVocab *self();
48
49 /**
50 * namespace URI of the syndication vocabulary,
51 * @p "http://purl.org/rss/1.0/modules/syndication/"
52 */
53 const QString &namespaceURI() const;
54
55 /**
56 * updatePeriod property, see Syndication::updatePeriod() for more
57 * information.
58 */
60
61 /**
62 * updateFrequency property, see Syndication::updateFrequency() for more
63 * information.
64 */
66
67 /**
68 * updateBase property, see Syndication::updateBase() for more
69 * information.
70 */
71 PropertyPtr updateBase() const;
72
73private:
75 Q_DISABLE_COPY(SyndicationVocab)
76 class SyndicationVocabPrivate;
77 std::unique_ptr<SyndicationVocabPrivate> const d;
78};
79
80} // namespace RDF
81} // namespace Syndication
82
83#endif // SYNDICATION_RDF_SYNDICATIONVOCAB_H
Singleton providing Property constants for the Syndication module.
PropertyPtr updatePeriod() const
updatePeriod property, see Syndication::updatePeriod() for more information.
PropertyPtr updateBase() const
updateBase property, see Syndication::updateBase() for more information.
static SyndicationVocab * self()
returns the singleton instance
const QString & namespaceURI() const
namespace URI of the syndication vocabulary, "http://purl.org/rss/1.0/modules/syndication/"
PropertyPtr updateFrequency() const
updateFrequency property, see Syndication::updateFrequency() for more information.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.