syndication/rdf
23 #include "syndicationvocab.h"
26 #include <QtCore/QCoreApplication>
27 #include <QtCore/QString>
29 namespace Syndication {
32 class SyndicationVocab::SyndicationVocabPrivate
41 static SyndicationVocab *sSelf;
42 static void cleanupSyndicationVocab()
48 SyndicationVocab *SyndicationVocab::SyndicationVocabPrivate::sSelf = 0;
50 SyndicationVocab::SyndicationVocab() : d(new SyndicationVocabPrivate)
52 QString ns = QLatin1String(
"http://purl.org/rss/1.0/modules/syndication/");
56 d->updatePeriod = PropertyPtr(
new Property(ns + QLatin1String(
"updatePeriod")) );
57 d->updateFrequency = PropertyPtr(
new Property(ns + QLatin1String(
"updateFrequency")) );
58 d->updateBase = PropertyPtr(
new Property(ns + QLatin1String(
"updateBase")) );
69 static SyndicationVocabPrivate p;
72 qAddPostRoutine(SyndicationVocabPrivate::cleanupSyndicationVocab);
79 return d->namespaceURI;
84 return d->updatePeriod;
89 return d->updateFrequency;
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:26:28 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.