<?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>KBlog::BlogMedia 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"> </div> <h2><a name="content"></a>KBlog Client Library</h2> <!-- BC --> <div id="top"> <!-- Generated by Doxygen 1.8.3.1 --> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceKBlog.html">KBlog</a></li><li class="navelem"><a class="el" href="classKBlog_1_1BlogMedia.html">BlogMedia</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="classKBlog_1_1BlogMedia-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">KBlog::BlogMedia Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <<a class="el" href="blogmedia_8h_source.html">blogmedia.h</a>></code></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:a4a0fdf81ddc92a4420b675681106a470"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBlog_1_1BlogMedia.html#a4a0fdf81ddc92a4420b675681106a470">Status</a> { <a class="el" href="classKBlog_1_1BlogMedia.html#a4a0fdf81ddc92a4420b675681106a470ada43c4265e0f8cb1cb92e2987427f480">New</a>, <a class="el" href="classKBlog_1_1BlogMedia.html#a4a0fdf81ddc92a4420b675681106a470a6009a3357b880c68369f6a8c1d78fa66">Created</a>, <a class="el" href="classKBlog_1_1BlogMedia.html#a4a0fdf81ddc92a4420b675681106a470ad6859e300bb5b77efb3a3846c1d0e9b1">Error</a> }</td></tr> <tr class="separator:a4a0fdf81ddc92a4420b675681106a470"><td class="memSeparator" colspan="2"> </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:a5c7d11a6998a75d58ff61fea355074a0"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBlog_1_1BlogMedia.html#a5c7d11a6998a75d58ff61fea355074a0">BlogMedia</a> ()</td></tr> <tr class="separator:a5c7d11a6998a75d58ff61fea355074a0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9e71767ba168428a54e99086ee694fb8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBlog_1_1BlogMedia.html#a9e71767ba168428a54e99086ee694fb8">BlogMedia</a> (const <a class="el" href="classKBlog_1_1BlogMedia.html">BlogMedia</a> &media)</td></tr> <tr class="separator:a9e71767ba168428a54e99086ee694fb8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a690f3b4cf71547b60d1756d518c227de"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBlog_1_1BlogMedia.html#a690f3b4cf71547b60d1756d518c227de">~BlogMedia</a> ()</td></tr> <tr class="separator:a690f3b4cf71547b60d1756d518c227de"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a94616298426232ca241292a90469f96b"><td class="memItemLeft" align="right" valign="top">QByteArray </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBlog_1_1BlogMedia.html#a94616298426232ca241292a90469f96b">data</a> () const </td></tr> <tr class="separator:a94616298426232ca241292a90469f96b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a51610f28cbf9420a71e6248173aeab5c"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBlog_1_1BlogMedia.html#a51610f28cbf9420a71e6248173aeab5c">error</a> () const </td></tr> <tr class="separator:a51610f28cbf9420a71e6248173aeab5c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5449e7dd41c3c9946ec79e43da5a7d25"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBlog_1_1BlogMedia.html#a5449e7dd41c3c9946ec79e43da5a7d25">mimetype</a> () const </td></tr> <tr class="separator:a5449e7dd41c3c9946ec79e43da5a7d25"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad63fec52bfe5a030856efdcc2748e047"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBlog_1_1BlogMedia.html#ad63fec52bfe5a030856efdcc2748e047">name</a> () const </td></tr> <tr class="separator:ad63fec52bfe5a030856efdcc2748e047"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a238a802dfdb9ebe8a8eee5a89c657b9b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKBlog_1_1BlogMedia.html">BlogMedia</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBlog_1_1BlogMedia.html#a238a802dfdb9ebe8a8eee5a89c657b9b">operator=</a> (const <a class="el" href="classKBlog_1_1BlogMedia.html">BlogMedia</a> &media)</td></tr> <tr class="separator:a238a802dfdb9ebe8a8eee5a89c657b9b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2e2c3b72bcb89f86d0db2cd9e033eec0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBlog_1_1BlogMedia.html#a2e2c3b72bcb89f86d0db2cd9e033eec0">setData</a> (const QByteArray &<a class="el" href="classKBlog_1_1BlogMedia.html#a94616298426232ca241292a90469f96b">data</a>)</td></tr> <tr class="separator:a2e2c3b72bcb89f86d0db2cd9e033eec0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aea1e38d0a2f56c509f75014e08016045"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBlog_1_1BlogMedia.html#aea1e38d0a2f56c509f75014e08016045">setError</a> (const QString &<a class="el" href="classKBlog_1_1BlogMedia.html#a51610f28cbf9420a71e6248173aeab5c">error</a>)</td></tr> <tr class="separator:aea1e38d0a2f56c509f75014e08016045"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac3dd72de2678570b9e4fc9fc22062e40"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBlog_1_1BlogMedia.html#ac3dd72de2678570b9e4fc9fc22062e40">setMimetype</a> (const QString &<a class="el" href="classKBlog_1_1BlogMedia.html#a5449e7dd41c3c9946ec79e43da5a7d25">mimetype</a>)</td></tr> <tr class="separator:ac3dd72de2678570b9e4fc9fc22062e40"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9cd264a6ff43dcce4013af4566d97001"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBlog_1_1BlogMedia.html#a9cd264a6ff43dcce4013af4566d97001">setName</a> (const QString &<a class="el" href="classKBlog_1_1BlogMedia.html#ad63fec52bfe5a030856efdcc2748e047">name</a>)</td></tr> <tr class="separator:a9cd264a6ff43dcce4013af4566d97001"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9c5915c873c0ab10e99e6086bbde9a02"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBlog_1_1BlogMedia.html#a9c5915c873c0ab10e99e6086bbde9a02">setStatus</a> (<a class="el" href="classKBlog_1_1BlogMedia.html#a4a0fdf81ddc92a4420b675681106a470">Status</a> <a class="el" href="classKBlog_1_1BlogMedia.html#a1e713d1618ee98f27a450c486e0eb781">status</a>)</td></tr> <tr class="separator:a9c5915c873c0ab10e99e6086bbde9a02"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad26d0e28edf457f392394eb07129ba89"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBlog_1_1BlogMedia.html#ad26d0e28edf457f392394eb07129ba89">setUrl</a> (const KUrl &<a class="el" href="classKBlog_1_1BlogMedia.html#a409f53c9650ede0b0a58250a96861898">url</a>)</td></tr> <tr class="separator:ad26d0e28edf457f392394eb07129ba89"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1e713d1618ee98f27a450c486e0eb781"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKBlog_1_1BlogMedia.html#a4a0fdf81ddc92a4420b675681106a470">Status</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBlog_1_1BlogMedia.html#a1e713d1618ee98f27a450c486e0eb781">status</a> () const </td></tr> <tr class="separator:a1e713d1618ee98f27a450c486e0eb781"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2dba99fc2c23eaad3a7d9f5d0421e944"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBlog_1_1BlogMedia.html#a2dba99fc2c23eaad3a7d9f5d0421e944">swap</a> (<a class="el" href="classKBlog_1_1BlogMedia.html">BlogMedia</a> &other)</td></tr> <tr class="separator:a2dba99fc2c23eaad3a7d9f5d0421e944"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a409f53c9650ede0b0a58250a96861898"><td class="memItemLeft" align="right" valign="top">KUrl </td><td class="memItemRight" valign="bottom"><a class="el" href="classKBlog_1_1BlogMedia.html#a409f53c9650ede0b0a58250a96861898">url</a> () const </td></tr> <tr class="separator:a409f53c9650ede0b0a58250a96861898"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>A class that represents a media object on the server. </p> <div class="fragment"><div class="line"><a class="code" href="classKBlog_1_1BlogMedia.html" title="A class that represents a media object on the server.">KBlog::BlogMedia</a> *media = <span class="keyword">new</span> <a class="code" href="classKBlog_1_1BlogMedia.html#a5c7d11a6998a75d58ff61fea355074a0" title="Default constructor.">BlogMedia</a>();</div> <div class="line">post->setMimetype( <span class="stringliteral">"some_mimetype"</span> );</div> <div class="line">post->setData( some_qbytestream );</div> </div><!-- fragment --><dl class="section author"><dt>Author</dt><dd>Christian Weilbach <christian_weilbach@web.de> </dd></dl> <p>Definition at line <a class="el" href="blogmedia_8h_source.html#l00048">48</a> of file <a class="el" href="blogmedia_8h_source.html">blogmedia.h</a>.</p> </div><h2 class="groupheader">Member Enumeration Documentation</h2> <a class="anchor" id="a4a0fdf81ddc92a4420b675681106a470"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="classKBlog_1_1BlogMedia.html#a4a0fdf81ddc92a4420b675681106a470">KBlog::BlogMedia::Status</a></td> </tr> </table> </div><div class="memdoc"> <p>The different possible status. </p> <p>At the moment you cannot do much with media objects. </p> <table class="fieldtable"> <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a4a0fdf81ddc92a4420b675681106a470ada43c4265e0f8cb1cb92e2987427f480"></a>New</em> </td><td class="fielddoc"> <p>Status of freshly constructed media object on the client side. </p> </td></tr> <tr><td class="fieldname"><em><a class="anchor" id="a4a0fdf81ddc92a4420b675681106a470a6009a3357b880c68369f6a8c1d78fa66"></a>Created</em> </td><td class="fielddoc"> <p>Status of a media object successfully created on the server. </p> </td></tr> <tr><td class="fieldname"><em><a class="anchor" id="a4a0fdf81ddc92a4420b675681106a470ad6859e300bb5b77efb3a3846c1d0e9b1"></a>Error</em> </td><td class="fielddoc"> <p>Status when an error on uploading has occurred. </p> </td></tr> </table> <p>Definition at line <a class="el" href="blogmedia_8h_source.html#l00138">138</a> of file <a class="el" href="blogmedia_8h_source.html">blogmedia.h</a>.</p> </div> </div> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a5c7d11a6998a75d58ff61fea355074a0"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">KBlog::BlogMedia::BlogMedia </td> <td>(</td> <td class="paramname"></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>Default constructor. </p> <p>Creates an empty <a class="el" href="classKBlog_1_1BlogMedia.html" title="A class that represents a media object on the server.">BlogMedia</a> object. </p> <p>Definition at line <a class="el" href="blogmedia_8cpp_source.html#l00043">43</a> of file <a class="el" href="blogmedia_8cpp_source.html">blogmedia.cpp</a>.</p> </div> </div> <a class="anchor" id="a9e71767ba168428a54e99086ee694fb8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KBlog::BlogMedia::BlogMedia </td> <td>(</td> <td class="paramtype">const <a class="el" href="classKBlog_1_1BlogMedia.html">BlogMedia</a> & </td> <td class="paramname"><em>media</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Copy Constructor needed for list handling. </p> <p>Definition at line <a class="el" href="blogmedia_8cpp_source.html#l00048">48</a> of file <a class="el" href="blogmedia_8cpp_source.html">blogmedia.cpp</a>.</p> </div> </div> <a class="anchor" id="a690f3b4cf71547b60d1756d518c227de"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">KBlog::BlogMedia::~BlogMedia </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Virtual default destructor. </p> <p>Definition at line <a class="el" href="blogmedia_8cpp_source.html#l00060">60</a> of file <a class="el" href="blogmedia_8cpp_source.html">blogmedia.cpp</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a94616298426232ca241292a90469f96b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QByteArray KBlog::BlogMedia::data </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the data of the file. </p> <dl class="section return"><dt>Returns</dt><dd>The data.</dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classKBlog_1_1BlogMedia.html#a2e2c3b72bcb89f86d0db2cd9e033eec0" title="Set the data of the file.">setData( const QByteArray& )</a> </dd></dl> <p>Definition at line <a class="el" href="blogmedia_8cpp_source.html#l00095">95</a> of file <a class="el" href="blogmedia_8cpp_source.html">blogmedia.cpp</a>.</p> </div> </div> <a class="anchor" id="a51610f28cbf9420a71e6248173aeab5c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KBlog::BlogMedia::error </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the error string. </p> <dl class="section return"><dt>Returns</dt><dd>The error string. </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classKBlog_1_1BlogMedia.html#aea1e38d0a2f56c509f75014e08016045" title="Set the error of the object.">setError( const QString& )</a> </dd></dl> <p>Definition at line <a class="el" href="blogmedia_8cpp_source.html#l00115">115</a> of file <a class="el" href="blogmedia_8cpp_source.html">blogmedia.cpp</a>.</p> </div> </div> <a class="anchor" id="a5449e7dd41c3c9946ec79e43da5a7d25"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KBlog::BlogMedia::mimetype </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the mimetype. </p> <dl class="section return"><dt>Returns</dt><dd>The mimetype of the object </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classKBlog_1_1BlogMedia.html#ac3dd72de2678570b9e4fc9fc22062e40" title="Set the mimtype.">setMimetype( const QString& )</a> </dd></dl> <p>Definition at line <a class="el" href="blogmedia_8cpp_source.html#l00085">85</a> of file <a class="el" href="blogmedia_8cpp_source.html">blogmedia.cpp</a>.</p> </div> </div> <a class="anchor" id="ad63fec52bfe5a030856efdcc2748e047"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QString KBlog::BlogMedia::name </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the wished name. </p> <p>This is most likely the filename on the server side (at least with wordpress).</p> <dl class="section return"><dt>Returns</dt><dd>The wished name on the server. </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classKBlog_1_1BlogMedia.html#a9cd264a6ff43dcce4013af4566d97001" title="Sets the name.">setName( const QString& )</a> </dd></dl> <p>Definition at line <a class="el" href="blogmedia_8cpp_source.html#l00065">65</a> of file <a class="el" href="blogmedia_8cpp_source.html">blogmedia.cpp</a>.</p> </div> </div> <a class="anchor" id="a238a802dfdb9ebe8a8eee5a89c657b9b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classKBlog_1_1BlogMedia.html">BlogMedia</a> & KBlog::BlogMedia::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classKBlog_1_1BlogMedia.html">BlogMedia</a> & </td> <td class="paramname"><em>media</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Overloaded for QList handling. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">media</td><td>The media file to copy. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="blogmedia_8cpp_source.html#l00125">125</a> of file <a class="el" href="blogmedia_8cpp_source.html">blogmedia.cpp</a>.</p> </div> </div> <a class="anchor" id="a2e2c3b72bcb89f86d0db2cd9e033eec0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KBlog::BlogMedia::setData </td> <td>(</td> <td class="paramtype">const QByteArray & </td> <td class="paramname"><em>data</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the data of the file. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">data</td><td>This is the data stream.</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classKBlog_1_1BlogMedia.html#a94616298426232ca241292a90469f96b" title="Returns the data of the file.">data()</a> </dd></dl> <p>Definition at line <a class="el" href="blogmedia_8cpp_source.html#l00100">100</a> of file <a class="el" href="blogmedia_8cpp_source.html">blogmedia.cpp</a>.</p> </div> </div> <a class="anchor" id="aea1e38d0a2f56c509f75014e08016045"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KBlog::BlogMedia::setError </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"><em>error</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the error of the object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">error</td><td>This is the error string.</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classKBlog_1_1BlogMedia.html#a51610f28cbf9420a71e6248173aeab5c" title="Returns the error string.">error()</a> </dd></dl> <p>Definition at line <a class="el" href="blogmedia_8cpp_source.html#l00120">120</a> of file <a class="el" href="blogmedia_8cpp_source.html">blogmedia.cpp</a>.</p> </div> </div> <a class="anchor" id="ac3dd72de2678570b9e4fc9fc22062e40"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KBlog::BlogMedia::setMimetype </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"><em>mimetype</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the mimtype. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">mimetype</td><td>This is the mimetype.</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classKBlog_1_1BlogMedia.html#a5449e7dd41c3c9946ec79e43da5a7d25" title="Returns the mimetype.">mimetype()</a> </dd></dl> <p>Definition at line <a class="el" href="blogmedia_8cpp_source.html#l00090">90</a> of file <a class="el" href="blogmedia_8cpp_source.html">blogmedia.cpp</a>.</p> </div> </div> <a class="anchor" id="a9cd264a6ff43dcce4013af4566d97001"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KBlog::BlogMedia::setName </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"><em>name</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the name. </p> <p>This will most likely be the filename on the server side (at least with wordpress). </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>The whished name for the object.</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classKBlog_1_1BlogMedia.html#ad63fec52bfe5a030856efdcc2748e047" title="Returns the wished name.">name()</a> </dd></dl> <p>Definition at line <a class="el" href="blogmedia_8cpp_source.html#l00070">70</a> of file <a class="el" href="blogmedia_8cpp_source.html">blogmedia.cpp</a>.</p> </div> </div> <a class="anchor" id="a9c5915c873c0ab10e99e6086bbde9a02"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KBlog::BlogMedia::setStatus </td> <td>(</td> <td class="paramtype"><a class="el" href="classKBlog_1_1BlogMedia.html#a4a0fdf81ddc92a4420b675681106a470">BlogMedia::Status</a> </td> <td class="paramname"><em>status</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the status. </p> <p>Note: You should <em>not</em> set this on your own it is used mostly internally. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">status</td><td>This is the status.</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classKBlog_1_1BlogMedia.html#a1e713d1618ee98f27a450c486e0eb781" title="Returns the status.">status()</a> </dd></dl> <p>Definition at line <a class="el" href="blogmedia_8cpp_source.html#l00110">110</a> of file <a class="el" href="blogmedia_8cpp_source.html">blogmedia.cpp</a>.</p> </div> </div> <a class="anchor" id="ad26d0e28edf457f392394eb07129ba89"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KBlog::BlogMedia::setUrl </td> <td>(</td> <td class="paramtype">const KUrl & </td> <td class="paramname"><em>url</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the url of the server side object. </p> <p>Note: You should <em>not</em> set this on your own normally. It is used internally in <a class="el" href="classKBlog_1_1MetaWeblog.html" title="A class that can be used for access to MetaWeblog blogs.">MetaWeblog</a>. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">url</td><td>The whished name for the object.</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classKBlog_1_1BlogMedia.html#a409f53c9650ede0b0a58250a96861898" title="Returns the server side url.">url()</a> </dd></dl> <p>Definition at line <a class="el" href="blogmedia_8cpp_source.html#l00080">80</a> of file <a class="el" href="blogmedia_8cpp_source.html">blogmedia.cpp</a>.</p> </div> </div> <a class="anchor" id="a1e713d1618ee98f27a450c486e0eb781"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classKBlog_1_1BlogMedia.html#a4a0fdf81ddc92a4420b675681106a470">BlogMedia::Status</a> KBlog::BlogMedia::status </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the status. </p> <dl class="section return"><dt>Returns</dt><dd>This is the status.</dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classKBlog_1_1BlogMedia.html#a9c5915c873c0ab10e99e6086bbde9a02" title="Set the status.">setStatus( Status )</a> </dd></dl> <p>Definition at line <a class="el" href="blogmedia_8cpp_source.html#l00105">105</a> of file <a class="el" href="blogmedia_8cpp_source.html">blogmedia.cpp</a>.</p> </div> </div> <a class="anchor" id="a2dba99fc2c23eaad3a7d9f5d0421e944"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void KBlog::BlogMedia::swap </td> <td>(</td> <td class="paramtype"><a class="el" href="classKBlog_1_1BlogMedia.html">BlogMedia</a> & </td> <td class="paramname"><em>other</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>The swap operator. </p> <p>Definition at line <a class="el" href="blogmedia_8h_source.html#l00188">188</a> of file <a class="el" href="blogmedia_8h_source.html">blogmedia.h</a>.</p> </div> </div> <a class="anchor" id="a409f53c9650ede0b0a58250a96861898"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KUrl KBlog::BlogMedia::url </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the server side url. </p> <dl class="section return"><dt>Returns</dt><dd>The url on the server. </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classKBlog_1_1BlogMedia.html#ad26d0e28edf457f392394eb07129ba89" title="Sets the url of the server side object.">setUrl( const KUrl& )</a> </dd></dl> <p>Definition at line <a class="el" href="blogmedia_8cpp_source.html#l00075">75</a> of file <a class="el" href="blogmedia_8cpp_source.html">blogmedia.cpp</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="blogmedia_8h_source.html">blogmedia.h</a></li> <li><a class="el" href="blogmedia_8cpp_source.html">blogmedia.cpp</a></li> </ul> </div><!-- contents --> <div class="copyrights"> This file is part of the KDE documentation.<br/> Documentation copyright © 1996-2013 The KDE developers.<br/> Generated on Fri Jul 12 2013 16:47:57 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>, © 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">KBlog Client Library</h2> <a href="#cp-skip-project" class="cp-doNotDisplay">Skip menu "KBlog Client Library"</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="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="functions.html">Class Members</a></li><li><a href="files.html">File List</a></li><li><a href="pages.html">Related Pages</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="classKBlog_1_1Blog.html">kblog::blog</option>, <option value="classKBlog_1_1BlogComment.html">kblog::blogcomment</option>, <option value="classKBlog_1_1Blogger1.html">kblog::blogger1</option>, <option value="classKBlog_1_1BlogMedia.html">kblog::blogmedia</option>, <option value="classKBlog_1_1BlogPost.html">kblog::blogpost</option>, <option value="classKBlog_1_1GData.html">kblog::gdata</option>, <option value="classKBlog_1_1MetaWeblog.html">kblog::metaweblog</option>, <option value="classKBlog_1_1MovableType.html">kblog::movabletype</option>, <option value="classKBlog_1_1WordpressBuggy.html">kblog::wordpressbuggy</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> <a href="../../akonadi/contact/html/index.html">contact</a></li><li> <a href="../../akonadi/kmime/html/index.html">kmime</a></li><li> <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> <a href="../../kioslave/imap4/html/index.html">imap4</a></li><li> <a href="../../kioslave/mbox/html/index.html">mbox</a></li><li> <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> <a href="../../syndication/atom/html/index.html">atom</a></li><li> <a href="../../syndication/rdf/html/index.html">rdf</a></li><li> <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>®</sup> and <a href="/media/images/kde_gear_black.png">the K Desktop Environment<sup>®</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>