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>
35namespace Syndication {
46class 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;
The content element either contains or links the content of an entry.
Format
format of the content.
@ XML
the content is embedded XML
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.