syndication/atom
23 #ifndef SYNDICATION_ATOM_CONTENT_H
24 #define SYNDICATION_ATOM_CONTENT_H
26 #include <syndication/elementwrapper.h>
28 #include <QtCore/QString>
30 #include <boost/shared_ptr.hpp>
35 namespace Syndication {
46 class SYNDICATION_EXPORT
Content :
public ElementWrapper
72 static Format mapTypeToFormat(
const QString& type,
73 const QString& src=QString());
86 explicit Content(
const QDomElement& element);
114 QString type()
const;
139 QString asString()
const;
147 QByteArray asByteArray()
const;
152 Format format()
const;
159 bool isContained()
const;
172 bool isBinary()
const;
178 bool isPlainText()
const;
184 bool isEscapedHTML()
const;
192 QString debugInfo()
const;
195 class ContentPrivate;
196 boost::shared_ptr<ContentPrivate> d;
202 #endif // SYNDICATION_ATOM_CONTENT_H
Format
format of the content.
@ XML
the content is embedded XML
The content element either contains or links the content of an entry.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.