Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 110492f5122731329f0db69a1df590c3 > files > 5638

kdepimlibs-apidocs-4.10.5-1.fc18.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
  <title>Syndication::Atom::Content Class Reference</title>
<style type="text/css">
  .cp-doNotDisplay { display: none; }
  @media aural, braille, handheld, tty { .cp-doNotDisplay { display: inline; speak: normal; }}
  .cp-edit { text-align: right; }
  @media print, embossed { .cp-edit { display: none; }}
</style>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Style-Type" content="text/css" />
  <link rel="meta" href="http://www.kde.org/labels.rdf" type="application/rdf+xml" title="ICRA labels" />
  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />
  <meta name="no-email-collection" content="http://www.unspam.com/noemailcollection" />
  <script type="text/javascript" src="jquery.js"></script>
  <script type="text/javascript" src="dynsections.js"></script>
  <link rel="shortcut icon" href="../../../favicon.ico" /><link rel="icon" href="../../../favicon.ico" />
  <link rel="stylesheet" media="screen" type="text/css" title="KDE Colors" href="../../../kde.css" />
  <link rel="stylesheet" media="print, embossed" type="text/css" href="../../../print.css" />
  <link rel="stylesheet" media="screen, aural, handheld, tty, braille" type="text/css" title="Flat" href="../../../flat.css" />
  <link rel="stylesheet" type="text/css" href="../../../doxygen.css" />
  <link rel="stylesheet" type="text/css" href="../../../tabs.css" />
</head>
<body>
<ul class="cp-doNotDisplay">
  <li><a href="#cp-content" accesskey="2">Skip to content</a></li>
  <li><a href="#cp-menu" accesskey="5">Skip to link menu</a></li>
</ul>
<div id="container">
<div id="header">
  <div id="header_top"><div><div>
    <img alt ="" src="../../../top-kde.jpg"/>
    </div></div></div>
  <div id="header_bottom">
    <div id="location">
      <ul>
        <li><a href="http://api.kde.org">KDE API Reference</a></li>
        <li><a href="../../../index.html">kdepimlibs-4.10.5 API Reference</a></li>
      </ul>
    </div>
    <div id="menu">
<ul>
<li><a href="http://www.kde.org/">KDE Home</a></li>
<li><a href="http://kde.org/contact/">Contact Us</a></li>
</ul>
</div>
</div>
</div>
<!-- End page header -->
    <div id="body_wrapper">
      <div id="body">
        <!-- begin main content -->
        <div id="right">
          <div class="content">
          <div id="main">
            <div class="clearer">&nbsp;</div>
<h2><a name="content"></a>syndication/atom</h2>
<!-- BC -->
<div id="top">
<!-- Generated by Doxygen 1.8.3.1 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>Syndication</b></li><li class="navelem"><a class="el" href="namespaceSyndication_1_1Atom.html">Atom</a></li><li class="navelem"><a class="el" href="classSyndication_1_1Atom_1_1Content.html">Content</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classSyndication_1_1Atom_1_1Content-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Syndication::Atom::Content Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="content_8h_source.html">content.h</a>&gt;</code></p>

<p>Inherits ElementWrapper.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ae90f6f4c45eb7c935f7559a34d182399"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#ae90f6f4c45eb7c935f7559a34d182399">Format</a> { <a class="el" href="classSyndication_1_1Atom_1_1Content.html#ae90f6f4c45eb7c935f7559a34d182399ac1b38619b7b046b5a73a1dfc59bec6cd">PlainText</a>, 
<a class="el" href="classSyndication_1_1Atom_1_1Content.html#ae90f6f4c45eb7c935f7559a34d182399a9f830a160bdff549320b1d8696a737a6">EscapedHTML</a>, 
<a class="el" href="classSyndication_1_1Atom_1_1Content.html#ae90f6f4c45eb7c935f7559a34d182399a92c6e72de93a6622292167cfc1704f0a">XML</a>, 
<a class="el" href="classSyndication_1_1Atom_1_1Content.html#ae90f6f4c45eb7c935f7559a34d182399aefb3a300bbcf4404dc4025a195438806">Binary</a>
 }</td></tr>
<tr class="separator:ae90f6f4c45eb7c935f7559a34d182399"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7fc7faf5bd4c77c2c62362b5c469c36a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#a7fc7faf5bd4c77c2c62362b5c469c36a">Content</a> ()</td></tr>
<tr class="separator:a7fc7faf5bd4c77c2c62362b5c469c36a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac9a9182b81cbe8702b768daf264fd22"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#aac9a9182b81cbe8702b768daf264fd22">Content</a> (const QDomElement &amp;element)</td></tr>
<tr class="separator:aac9a9182b81cbe8702b768daf264fd22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ce4df91d83d6934dedcda259503a6fe"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#a6ce4df91d83d6934dedcda259503a6fe">Content</a> (const <a class="el" href="classSyndication_1_1Atom_1_1Content.html">Content</a> &amp;other)</td></tr>
<tr class="separator:a6ce4df91d83d6934dedcda259503a6fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32f53f0c2d11ebcfb98bea594e86b4dd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#a32f53f0c2d11ebcfb98bea594e86b4dd">~Content</a> ()</td></tr>
<tr class="separator:a32f53f0c2d11ebcfb98bea594e86b4dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06d554c25de07bc64e430295e4edc198"><td class="memItemLeft" align="right" valign="top">QByteArray&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#a06d554c25de07bc64e430295e4edc198">asByteArray</a> () const </td></tr>
<tr class="separator:a06d554c25de07bc64e430295e4edc198"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e6fc329a78243f47b79e8b081019247"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#a7e6fc329a78243f47b79e8b081019247">asString</a> () const </td></tr>
<tr class="separator:a7e6fc329a78243f47b79e8b081019247"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28c02c38a2a1d18414b438edcd3c58d3"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#a28c02c38a2a1d18414b438edcd3c58d3">debugInfo</a> () const </td></tr>
<tr class="separator:a28c02c38a2a1d18414b438edcd3c58d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d75d89afd92b5a4396a0004cdd45edf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#ae90f6f4c45eb7c935f7559a34d182399">Format</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#a5d75d89afd92b5a4396a0004cdd45edf">format</a> () const </td></tr>
<tr class="separator:a5d75d89afd92b5a4396a0004cdd45edf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8c1cd9a490cf5b736d12c47276b54fa"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#aa8c1cd9a490cf5b736d12c47276b54fa">isBinary</a> () const </td></tr>
<tr class="separator:aa8c1cd9a490cf5b736d12c47276b54fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0606f175bbdffae1bd57e1116411513a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#a0606f175bbdffae1bd57e1116411513a">isContained</a> () const </td></tr>
<tr class="separator:a0606f175bbdffae1bd57e1116411513a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1668e69cc5d566baac055a620e36a354"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#a1668e69cc5d566baac055a620e36a354">isEscapedHTML</a> () const </td></tr>
<tr class="separator:a1668e69cc5d566baac055a620e36a354"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a2e1236986e729f7abe95bf3f6e96ca"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#a8a2e1236986e729f7abe95bf3f6e96ca">isPlainText</a> () const </td></tr>
<tr class="separator:a8a2e1236986e729f7abe95bf3f6e96ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afda23cdc94efdb5b6dfc658a2c9f5e34"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#afda23cdc94efdb5b6dfc658a2c9f5e34">isXML</a> () const </td></tr>
<tr class="separator:afda23cdc94efdb5b6dfc658a2c9f5e34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82d9e8a79f28611fd60d125f03e4b208"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSyndication_1_1Atom_1_1Content.html">Content</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#a82d9e8a79f28611fd60d125f03e4b208">operator=</a> (const <a class="el" href="classSyndication_1_1Atom_1_1Content.html">Content</a> &amp;other)</td></tr>
<tr class="separator:a82d9e8a79f28611fd60d125f03e4b208"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0daeacb3e3c121b3103f29e4dce7c27"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#aa0daeacb3e3c121b3103f29e4dce7c27">src</a> () const </td></tr>
<tr class="separator:aa0daeacb3e3c121b3103f29e4dce7c27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc364f936d50c5731b41b8a729cab301"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#afc364f936d50c5731b41b8a729cab301">type</a> () const </td></tr>
<tr class="separator:afc364f936d50c5731b41b8a729cab301"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:abf48f16d19e18fea34d4163561637f6e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classSyndication_1_1Atom_1_1Content.html#ae90f6f4c45eb7c935f7559a34d182399">Format</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#abf48f16d19e18fea34d4163561637f6e">mapTypeToFormat</a> (const QString &amp;<a class="el" href="classSyndication_1_1Atom_1_1Content.html#afc364f936d50c5731b41b8a729cab301">type</a>, const QString &amp;<a class="el" href="classSyndication_1_1Atom_1_1Content.html#aa0daeacb3e3c121b3103f29e4dce7c27">src</a>=QString())</td></tr>
<tr class="separator:abf48f16d19e18fea34d4163561637f6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The content element either contains or links the content of an entry. </p>
<p>The content is usually plain text or HTML, but arbitrary XML or binary content are also possible. If <a class="el" href="classSyndication_1_1Atom_1_1Content.html#a0606f175bbdffae1bd57e1116411513a" title="returns whether the content is contained in the feed source, or not.">isContained()</a> is false, the content is not contained in the feed source, but linked.</p>
<dl class="section author"><dt>Author</dt><dd>Frank Osterfeld </dd></dl>

<p>Definition at line <a class="el" href="content_8h_source.html#l00046">46</a> of file <a class="el" href="content_8h_source.html">content.h</a>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="ae90f6f4c45eb7c935f7559a34d182399"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classSyndication_1_1Atom_1_1Content.html#ae90f6f4c45eb7c935f7559a34d182399">Syndication::Atom::Content::Format</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>format of the content. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ae90f6f4c45eb7c935f7559a34d182399ac1b38619b7b046b5a73a1dfc59bec6cd"></a>PlainText</em>&nbsp;</td><td class="fielddoc">
<p>the content is plain text (i.e. </p>
<p>"&lt;", "&gt;" etc. are text, not markup </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ae90f6f4c45eb7c935f7559a34d182399a9f830a160bdff549320b1d8696a737a6"></a>EscapedHTML</em>&nbsp;</td><td class="fielddoc">
<p>the content is escaped HTML, (i.e., "&lt;", "&gt;" etc. </p>
<p>are markup) </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ae90f6f4c45eb7c935f7559a34d182399a92c6e72de93a6622292167cfc1704f0a"></a>XML</em>&nbsp;</td><td class="fielddoc">
<p>the content is embedded XML </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ae90f6f4c45eb7c935f7559a34d182399aefb3a300bbcf4404dc4025a195438806"></a>Binary</em>&nbsp;</td><td class="fielddoc">
<p>the content is base64-encoded binary content </p>
</td></tr>
</table>

<p>Definition at line <a class="el" href="content_8h_source.html#l00053">53</a> of file <a class="el" href="content_8h_source.html">content.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a7fc7faf5bd4c77c2c62362b5c469c36a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Syndication::Atom::Content::Content </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>creates a null content object. </p>

<p>Definition at line <a class="el" href="content_8cpp_source.html#l00046">46</a> of file <a class="el" href="content_8cpp_source.html">content.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aac9a9182b81cbe8702b768daf264fd22"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Syndication::Atom::Content::Content </td>
          <td>(</td>
          <td class="paramtype">const QDomElement &amp;&#160;</td>
          <td class="paramname"><em>element</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>creates a <a class="el" href="classSyndication_1_1Atom_1_1Content.html" title="The content element either contains or links the content of an entry.">Content</a> object wrapping an atom:content element. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">element</td><td>a DOM element, should be a atom:content element (although not enforced), otherwise this object will not parse anything useful </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="content_8cpp_source.html#l00050">50</a> of file <a class="el" href="content_8cpp_source.html">content.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6ce4df91d83d6934dedcda259503a6fe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Syndication::Atom::Content::Content </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSyndication_1_1Atom_1_1Content.html">Content</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>creates a copy of another <a class="el" href="classSyndication_1_1Atom_1_1Content.html" title="The content element either contains or links the content of an entry.">Content</a> object </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>the content object to copy </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="content_8cpp_source.html#l00054">54</a> of file <a class="el" href="content_8cpp_source.html">content.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a32f53f0c2d11ebcfb98bea594e86b4dd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Syndication::Atom::Content::~Content </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>destructor </p>

<p>Definition at line <a class="el" href="content_8cpp_source.html#l00058">58</a> of file <a class="el" href="content_8cpp_source.html">content.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a06d554c25de07bc64e430295e4edc198"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QByteArray Syndication::Atom::Content::asByteArray </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>returns binary content as byte array. </p>
<dl class="section return"><dt>Returns</dt><dd>byte array containing the embedded binary data, or an empty array if the content is not in binary format </dd></dl>

<p>Definition at line <a class="el" href="content_8cpp_source.html#l00079">79</a> of file <a class="el" href="content_8cpp_source.html">content.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7e6fc329a78243f47b79e8b081019247"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString Syndication::Atom::Content::asString </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>returns the content as string. </p>
<p>If the content format is Text, the returned string contains the text as HTML. If the content is embedded XML, the XML is returned as string.</p>
<dl class="section return"><dt>Returns</dt><dd>a string representation of the content, or a null string if the content is either binary content or not contained but linked (see <a class="el" href="classSyndication_1_1Atom_1_1Content.html#a0606f175bbdffae1bd57e1116411513a" title="returns whether the content is contained in the feed source, or not.">isContained()</a>) </dd></dl>

<p>Definition at line <a class="el" href="content_8cpp_source.html#l00165">165</a> of file <a class="el" href="content_8cpp_source.html">content.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a28c02c38a2a1d18414b438edcd3c58d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString Syndication::Atom::Content::debugInfo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>returns a description of the content object for debugging purposes </p>
<dl class="section return"><dt>Returns</dt><dd>debug string </dd></dl>

<p>Definition at line <a class="el" href="content_8cpp_source.html#l00185">185</a> of file <a class="el" href="content_8cpp_source.html">content.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5d75d89afd92b5a4396a0004cdd45edf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#ae90f6f4c45eb7c935f7559a34d182399">Content::Format</a> Syndication::Atom::Content::format </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>returns the content format </p>

<p>Definition at line <a class="el" href="content_8cpp_source.html#l00130">130</a> of file <a class="el" href="content_8cpp_source.html">content.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa8c1cd9a490cf5b736d12c47276b54fa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Syndication::Atom::Content::isBinary </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>returns whether the content is binary content or not. </p>
<p>Use <a class="el" href="classSyndication_1_1Atom_1_1Content.html#a06d554c25de07bc64e430295e4edc198" title="returns binary content as byte array.">asByteArray()</a> to access it. </p>

<p>Definition at line <a class="el" href="content_8cpp_source.html#l00140">140</a> of file <a class="el" href="content_8cpp_source.html">content.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0606f175bbdffae1bd57e1116411513a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Syndication::Atom::Content::isContained </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>returns whether the content is contained in the feed source, or not. </p>
<p>If it is not contained, <a class="el" href="classSyndication_1_1Atom_1_1Content.html#aa0daeacb3e3c121b3103f29e4dce7c27" title="If src() is set, the content of this entry is not contained in the feed source, but available on the ...">src()</a> provides a URL to the content. </p>

<p>Definition at line <a class="el" href="content_8cpp_source.html#l00145">145</a> of file <a class="el" href="content_8cpp_source.html">content.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1668e69cc5d566baac055a620e36a354"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Syndication::Atom::Content::isEscapedHTML </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>returns whether the content is escaped HTML or not Use <a class="el" href="classSyndication_1_1Atom_1_1Content.html#a7e6fc329a78243f47b79e8b081019247" title="returns the content as string.">asString()</a> to access it </p>

<p>Definition at line <a class="el" href="content_8cpp_source.html#l00155">155</a> of file <a class="el" href="content_8cpp_source.html">content.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8a2e1236986e729f7abe95bf3f6e96ca"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Syndication::Atom::Content::isPlainText </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>returns whether the content is plain text or not. </p>
<p>Use <a class="el" href="classSyndication_1_1Atom_1_1Content.html#a7e6fc329a78243f47b79e8b081019247" title="returns the content as string.">asString()</a> to access it. </p>

<p>Definition at line <a class="el" href="content_8cpp_source.html#l00150">150</a> of file <a class="el" href="content_8cpp_source.html">content.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="afda23cdc94efdb5b6dfc658a2c9f5e34"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Syndication::Atom::Content::isXML </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>returns whether the content is embedded XML. </p>
<p>Use element() to access the DOM tree, or <a class="el" href="classSyndication_1_1Atom_1_1Content.html#a7e6fc329a78243f47b79e8b081019247" title="returns the content as string.">asString()</a> to get the XML as string. </p>

<p>Definition at line <a class="el" href="content_8cpp_source.html#l00160">160</a> of file <a class="el" href="content_8cpp_source.html">content.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="abf48f16d19e18fea34d4163561637f6e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSyndication_1_1Atom_1_1Content.html#ae90f6f4c45eb7c935f7559a34d182399">Content::Format</a> Syndication::Atom::Content::mapTypeToFormat </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>src</em> = <code>QString()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>maps a mimetype to Format enum according to the <a class="el" href="namespaceSyndication_1_1Atom.html" title="Atom parser and model classes, representing Atom 1.0 documents (Atom 0.3 documents are converted by t...">Atom</a> 1.0 specification </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>a valid mimetype, or one of "text", "html", "xhtml" </td></tr>
    <tr><td class="paramname">src</td><td>content source, see <a class="el" href="classSyndication_1_1Atom_1_1Content.html#aa0daeacb3e3c121b3103f29e4dce7c27" title="If src() is set, the content of this entry is not contained in the feed source, but available on the ...">src()</a> for details. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="content_8cpp_source.html#l00090">90</a> of file <a class="el" href="content_8cpp_source.html">content.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a82d9e8a79f28611fd60d125f03e4b208"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSyndication_1_1Atom_1_1Content.html">Content</a> &amp; Syndication::Atom::Content::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSyndication_1_1Atom_1_1Content.html">Content</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>assigns another content objecct </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>the <a class="el" href="classSyndication_1_1Atom_1_1Content.html" title="The content element either contains or links the content of an entry.">Content</a> object to assign </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="content_8cpp_source.html#l00062">62</a> of file <a class="el" href="content_8cpp_source.html">content.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa0daeacb3e3c121b3103f29e4dce7c27"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString Syndication::Atom::Content::src </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>If <a class="el" href="classSyndication_1_1Atom_1_1Content.html#aa0daeacb3e3c121b3103f29e4dce7c27" title="If src() is set, the content of this entry is not contained in the feed source, but available on the ...">src()</a> is set, the content of this entry is not contained in the feed source, but available on the net. </p>
<p><a class="el" href="classSyndication_1_1Atom_1_1Content.html#aa0daeacb3e3c121b3103f29e4dce7c27" title="If src() is set, the content of this entry is not contained in the feed source, but available on the ...">src()</a> then contains a URL (more precise: IRI reference) linking to remote content. If src is provided, <a class="el" href="classSyndication_1_1Atom_1_1Content.html#afc364f936d50c5731b41b8a729cab301" title="the type of the content.">type()</a> should contain a mimetype, instead of "text", "html" or "xhtml".</p>
<dl class="section return"><dt>Returns</dt><dd>a null string if the content is contained in the feed source, or a URL linking to the remote content </dd></dl>

<p>Definition at line <a class="el" href="content_8cpp_source.html#l00074">74</a> of file <a class="el" href="content_8cpp_source.html">content.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="afc364f936d50c5731b41b8a729cab301"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString Syndication::Atom::Content::type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the type of the content. </p>
<p>This is either "text" (plain text), "html" (escaped HTML), "xhtml" (embedded XHTML) or a mime type</p>
<dl class="section return"><dt>Returns</dt><dd>the content type. If no type is specified, "text" (the default) is returned. </dd></dl>

<p>Definition at line <a class="el" href="content_8cpp_source.html#l00069">69</a> of file <a class="el" href="content_8cpp_source.html">content.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="content_8h_source.html">content.h</a></li>
<li><a class="el" href="content_8cpp_source.html">content.cpp</a></li>
</ul>
</div><!-- contents -->
<div class="copyrights">
This file is part of the KDE documentation.<br/>
Documentation copyright &copy; 1996-2013 The KDE developers.<br/>
Generated on Fri Jul 12 2013 16:48:32 by
<a href="http://www.doxygen.org/index.html">doxygen</a> 1.8.3.1 written
by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, &copy;&nbsp;1997-2006
<p>
KDE's <a href="http://techbase.kde.org/Policies/Library_Documentation_Policy">Doxygen guidelines</a> are available online.
</p>
</div>
            </div>
          </div>
        </div>
        <div id="left">
          <div class="menu_box">
<a name="cp-menu" /><div class="menutitle"><div>
<h2 id="cp-menu-project">syndication/atom</h2>
<a href="#cp-skip-project" class="cp-doNotDisplay">Skip menu "syndication/atom"</a>
</div></div>
<ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="functions.html">Class Members</a></li><li><a href="files.html">File List</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classSyndication_1_1Atom_1_1Category.html">syndication::atom::category</option>,  <option value="classSyndication_1_1Atom_1_1Content.html">syndication::atom::content</option>,  <option value="classSyndication_1_1Atom_1_1Entry.html">syndication::atom::entry</option>,  <option value="classSyndication_1_1Atom_1_1EntryDocument.html">syndication::atom::entrydocument</option>,  <option value="classSyndication_1_1Atom_1_1FeedDocument.html">syndication::atom::feeddocument</option>,  <option value="classSyndication_1_1Atom_1_1Generator.html">syndication::atom::generator</option>,  <option value="classSyndication_1_1Atom_1_1Link.html">syndication::atom::link</option>,  <option value="classSyndication_1_1Atom_1_1Parser.html">syndication::atom::parser</option>,  <option value="classSyndication_1_1Atom_1_1Person.html">syndication::atom::person</option>,  <option value="classSyndication_1_1Atom_1_1Source.html">syndication::atom::source</option>,
</select>
</form>
</div>
-->
<div class="menu_box">
<a name="cp-menu" /><div class="menutitle"><div>
<h2 id="cp-menu-project">kdepimlibs-4.10.5 API Reference</h2>
<a href="#cp-skip-project" class="cp-doNotDisplay">Skip menu "kdepimlibs-4.10.5 API Reference"</a>
</div></div>
<div class="nav_list">
<ul>
<li><a href="../../../akonadi/html/index.html">akonadi</a></li><li>&nbsp;&nbsp;<a href="../../../akonadi/contact/html/index.html">contact</a></li><li>&nbsp;&nbsp;<a href="../../../akonadi/kmime/html/index.html">kmime</a></li><li>&nbsp;&nbsp;<a href="../../../akonadi/socialutils/html/index.html">socialutils</a></li><li><a href="../../../kabc/html/index.html">kabc</a></li><li><a href="../../../kalarmcal/html/index.html">kalarmcal</a></li><li><a href="../../../kblog/html/index.html">kblog</a></li><li><a href="../../../kcal/html/index.html">kcal</a></li><li><a href="../../../kcalcore/html/index.html">kcalcore</a></li><li><a href="../../../kcalutils/html/index.html">kcalutils</a></li><li><a href="../../../kholidays/html/index.html">kholidays</a></li><li><a href="../../../kimap/html/index.html">kimap</a></li><li><a href="../../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../../kioslave/imap4/html/index.html">imap4</a></li><li>&nbsp;&nbsp;<a href="../../../kioslave/mbox/html/index.html">mbox</a></li><li>&nbsp;&nbsp;<a href="../../../kioslave/nntp/html/index.html">nntp</a></li><li><a href="../../../kldap/html/index.html">kldap</a></li><li><a href="../../../kmbox/html/index.html">kmbox</a></li><li><a href="../../../kmime/html/index.html">kmime</a></li><li><a href="../../../kontactinterface/html/index.html">kontactinterface</a></li><li><a href="../../../kpimidentities/html/index.html">kpimidentities</a></li><li><a href="../../../kpimtextedit/html/index.html">kpimtextedit</a></li><li><a href="../../../kpimutils/html/index.html">kpimutils</a></li><li><a href="../../../kresources/html/index.html">kresources</a></li><li><a href="../../../ktnef/html/index.html">ktnef</a></li><li><a href="../../../kxmlrpcclient/html/index.html">kxmlrpcclient</a></li><li><a href="../../../mailtransport/html/index.html">mailtransport</a></li><li><a href="../../../microblog/html/index.html">microblog</a></li><li><a href="../../../qgpgme/html/index.html">qgpgme</a></li><li><a href="../../../syndication/html/index.html">syndication</a></li><li>&nbsp;&nbsp;<a href="../../../syndication/atom/html/index.html">atom</a></li><li>&nbsp;&nbsp;<a href="../../../syndication/rdf/html/index.html">rdf</a></li><li>&nbsp;&nbsp;<a href="../../../syndication/rss2/html/index.html">rss2</a></li>
</ul></div></div>
<!-- api_searchbox -->
          </div>
        </div>
        <div class="clearer"></div>
      </div>
      <div class="clearer"></div>
    </div>
    <div id="end_body"></div>
    <div id="footer"><div id="footer_text">
    Report problems with this website to <a href="https://bugs.kde.org/enter_sysadmin_request.cgi?component=api.kde.org">our bug tracking system</a>.<br>
    Contact the specific authors with questions and comments about the page contents.<p>
    KDE<sup>&#174;</sup> and <a href="/media/images/kde_gear_black.png">the K Desktop Environment<sup>&#174;</sup> logo</a> are registered trademarks of <a href="http://ev.kde.org/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
        <a href="http://www.kde.org/contact/impressum.php">Legal</a></p>
    </div></div>
  </div>
<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-45abe0e0c3bebc77@kde.org">Block me</a>
WARNING END
-->
</body>
</html>