Syndication
8#include "contentvocab.h"
11#include <QCoreApplication>
18class SYNDICATION_NO_EXPORT ContentVocab::ContentVocabPrivate
24 static ContentVocab *sSelf;
25 static void cleanupContentVocab()
31ContentVocab *ContentVocab::ContentVocabPrivate::sSelf =
nullptr;
33ContentVocab::ContentVocab()
34 : d(new ContentVocabPrivate)
36 QString ns = QStringLiteral(
"http://purl.org/rss/1.0/modules/content/");
40 d->encoded = PropertyPtr(
new Property(ns +
QLatin1String(
"encoded")));
43ContentVocab::~ContentVocab() =
default;
45ContentVocab *ContentVocab::self()
47 static ContentVocabPrivate p;
49 p.sSelf =
new ContentVocab;
50 qAddPostRoutine(ContentVocabPrivate::cleanupContentVocab);
55const QString &ContentVocab::namespaceURI()
const
57 return d->namespaceURI;
60PropertyPtr ContentVocab::encoded()
const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:14:15 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.