Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > 110492f5122731329f0db69a1df590c3 > files > 1988

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>KABC::Picture 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>kabc</h2>
<!-- BC -->
<div id="top">
<!-- Generated by Doxygen 1.8.3.1 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>KABC</b></li><li class="navelem"><a class="el" href="classKABC_1_1Picture.html">Picture</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classKABC_1_1Picture-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">KABC::Picture Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="picture_8h_source.html">picture.h</a>&gt;</code></p>
<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:a8995e51ea021e90aaa42bb44a51d2b39"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#a8995e51ea021e90aaa42bb44a51d2b39">Picture</a> ()</td></tr>
<tr class="separator:a8995e51ea021e90aaa42bb44a51d2b39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1e317f3f28e21d07ba5a33f4928a51b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#aa1e317f3f28e21d07ba5a33f4928a51b">Picture</a> (const QString &amp;<a class="el" href="classKABC_1_1Picture.html#aea17b48c6d22de92930db8c497339a80">url</a>)</td></tr>
<tr class="separator:aa1e317f3f28e21d07ba5a33f4928a51b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e9403557179bcbae51d9f3c0f5758ec"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#a8e9403557179bcbae51d9f3c0f5758ec">Picture</a> (const QImage &amp;<a class="el" href="classKABC_1_1Picture.html#ab00ee9823e532c1b88e196f3a4143bd0">data</a>)</td></tr>
<tr class="separator:a8e9403557179bcbae51d9f3c0f5758ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e1df7cbc105b1f5e3b16d86174366bc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#a7e1df7cbc105b1f5e3b16d86174366bc">Picture</a> (const <a class="el" href="classKABC_1_1Picture.html">Picture</a> &amp;picture)</td></tr>
<tr class="separator:a7e1df7cbc105b1f5e3b16d86174366bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a277f070f83063fa0922d2c1de8889a58"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#a277f070f83063fa0922d2c1de8889a58">~Picture</a> ()</td></tr>
<tr class="separator:a277f070f83063fa0922d2c1de8889a58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab00ee9823e532c1b88e196f3a4143bd0"><td class="memItemLeft" align="right" valign="top">QImage&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#ab00ee9823e532c1b88e196f3a4143bd0">data</a> () const </td></tr>
<tr class="separator:ab00ee9823e532c1b88e196f3a4143bd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad28c7b5981eb935bb1ec784ff4ceacb0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#ad28c7b5981eb935bb1ec784ff4ceacb0">isEmpty</a> () const </td></tr>
<tr class="separator:ad28c7b5981eb935bb1ec784ff4ceacb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90b0f2e5065e7985d3063ef88f80dbf4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#a90b0f2e5065e7985d3063ef88f80dbf4">isIntern</a> () const </td></tr>
<tr class="separator:a90b0f2e5065e7985d3063ef88f80dbf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaae7d3a039fcc64fa4e12ffefa07303c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#aaae7d3a039fcc64fa4e12ffefa07303c">operator!=</a> (const <a class="el" href="classKABC_1_1Picture.html">Picture</a> &amp;) const </td></tr>
<tr class="separator:aaae7d3a039fcc64fa4e12ffefa07303c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b162b77f98449b8ba83d48413b723d7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKABC_1_1Picture.html">Picture</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#a8b162b77f98449b8ba83d48413b723d7">operator=</a> (const <a class="el" href="classKABC_1_1Picture.html">Picture</a> &amp;other)</td></tr>
<tr class="separator:a8b162b77f98449b8ba83d48413b723d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0db738bf6f9d8f660e4b908a2432e85"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#ac0db738bf6f9d8f660e4b908a2432e85">operator==</a> (const <a class="el" href="classKABC_1_1Picture.html">Picture</a> &amp;) const </td></tr>
<tr class="separator:ac0db738bf6f9d8f660e4b908a2432e85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac41b044c91e3eff47a8872c501080fb9"><td class="memItemLeft" align="right" valign="top">QByteArray&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#ac41b044c91e3eff47a8872c501080fb9">rawData</a> () const </td></tr>
<tr class="separator:ac41b044c91e3eff47a8872c501080fb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a932974411f95286e9965be93a26a39a7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#a932974411f95286e9965be93a26a39a7">setData</a> (const QImage &amp;<a class="el" href="classKABC_1_1Picture.html#ab00ee9823e532c1b88e196f3a4143bd0">data</a>)</td></tr>
<tr class="separator:a932974411f95286e9965be93a26a39a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82adb5228c9e67448b7750dc2d4dd1a2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#a82adb5228c9e67448b7750dc2d4dd1a2">setRawData</a> (const QByteArray &amp;<a class="el" href="classKABC_1_1Picture.html#ac41b044c91e3eff47a8872c501080fb9">rawData</a>, const QString &amp;<a class="el" href="classKABC_1_1Picture.html#a92f5a219a49d625a67ed1c06b1fd1539">type</a>)</td></tr>
<tr class="separator:a82adb5228c9e67448b7750dc2d4dd1a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bac90467f2cbccdeec43cfbde8378d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#a4bac90467f2cbccdeec43cfbde8378d6">setType</a> (const QString &amp;<a class="el" href="classKABC_1_1Picture.html#a92f5a219a49d625a67ed1c06b1fd1539">type</a>)</td></tr>
<tr class="separator:a4bac90467f2cbccdeec43cfbde8378d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b04b8b77c4c0ee8096402e99abfd7ba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#a0b04b8b77c4c0ee8096402e99abfd7ba">setUrl</a> (const QString &amp;<a class="el" href="classKABC_1_1Picture.html#aea17b48c6d22de92930db8c497339a80">url</a>)</td></tr>
<tr class="separator:a0b04b8b77c4c0ee8096402e99abfd7ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2ca9ac66396914dd368a0abe0955a20"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#ac2ca9ac66396914dd368a0abe0955a20">setUrl</a> (const QString &amp;<a class="el" href="classKABC_1_1Picture.html#aea17b48c6d22de92930db8c497339a80">url</a>, const QString &amp;<a class="el" href="classKABC_1_1Picture.html#a92f5a219a49d625a67ed1c06b1fd1539">type</a>)</td></tr>
<tr class="separator:ac2ca9ac66396914dd368a0abe0955a20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cc75b867bd5f12d1af8b95cbedf578c"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#a6cc75b867bd5f12d1af8b95cbedf578c">toString</a> () const </td></tr>
<tr class="separator:a6cc75b867bd5f12d1af8b95cbedf578c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92f5a219a49d625a67ed1c06b1fd1539"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#a92f5a219a49d625a67ed1c06b1fd1539">type</a> () const </td></tr>
<tr class="separator:a92f5a219a49d625a67ed1c06b1fd1539"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea17b48c6d22de92930db8c497339a80"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#aea17b48c6d22de92930db8c497339a80">url</a> () const </td></tr>
<tr class="separator:aea17b48c6d22de92930db8c497339a80"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a673ac3d1b92ba7cc7b1107c92ef0d3af"><td class="memItemLeft" align="right" valign="top">QDataStream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#a673ac3d1b92ba7cc7b1107c92ef0d3af">operator&lt;&lt;</a> (QDataStream &amp;, const <a class="el" href="classKABC_1_1Picture.html">Picture</a> &amp;)</td></tr>
<tr class="separator:a673ac3d1b92ba7cc7b1107c92ef0d3af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a445f1463aa91fd6f9a3d4a88e42826de"><td class="memItemLeft" align="right" valign="top">QDataStream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKABC_1_1Picture.html#a445f1463aa91fd6f9a3d4a88e42826de">operator&gt;&gt;</a> (QDataStream &amp;, <a class="el" href="classKABC_1_1Picture.html">Picture</a> &amp;)</td></tr>
<tr class="separator:a445f1463aa91fd6f9a3d4a88e42826de"><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>A class to store a picture of an addressee. </p>
<p>It can store the data directly or an url reference to a picture. </p>

<p>Definition at line <a class="el" href="picture_8h_source.html#l00037">37</a> of file <a class="el" href="picture_8h_source.html">picture.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a8995e51ea021e90aaa42bb44a51d2b39"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Picture::Picture </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates an empty picture. </p>

<p>Definition at line <a class="el" href="picture_8cpp_source.html#l00053">53</a> of file <a class="el" href="picture_8cpp_source.html">picture.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa1e317f3f28e21d07ba5a33f4928a51b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Picture::Picture </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>url</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a picture which points to the given url. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">url</td><td>A URL that describes the location of the picture file. </td></tr>
  </table>
  </dd>
</dl>

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

</div>
</div>
<a class="anchor" id="a8e9403557179bcbae51d9f3c0f5758ec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Picture::Picture </td>
          <td>(</td>
          <td class="paramtype">const QImage &amp;&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a picture with the given data. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>The raw data of the picture. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="picture_8cpp_source.html#l00064">64</a> of file <a class="el" href="picture_8cpp_source.html">picture.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7e1df7cbc105b1f5e3b16d86174366bc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Picture::Picture </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classKABC_1_1Picture.html">Picture</a> &amp;&#160;</td>
          <td class="paramname"><em>picture</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy constructor. </p>
<p>Fast operation, <a class="el" href="classKABC_1_1Picture.html" title="A class to store a picture of an addressee.">Picture</a>'s data is implicitly shared.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">picture</td><td>The <a class="el" href="classKABC_1_1Picture.html" title="A class to store a picture of an addressee.">Picture</a> instance to copy from </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="picture_8cpp_source.html#l00070">70</a> of file <a class="el" href="picture_8cpp_source.html">picture.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a277f070f83063fa0922d2c1de8889a58"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Picture::~Picture </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="picture_8cpp_source.html#l00075">75</a> of file <a class="el" href="picture_8cpp_source.html">picture.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ab00ee9823e532c1b88e196f3a4143bd0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QImage Picture::data </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the image data of this picture. </p>

<p>Definition at line <a class="el" href="picture_8cpp_source.html#l00188">188</a> of file <a class="el" href="picture_8cpp_source.html">picture.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad28c7b5981eb935bb1ec784ff4ceacb0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Picture::isEmpty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns true, if the picture is empty. </p>

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

</div>
</div>
<a class="anchor" id="a90b0f2e5065e7985d3063ef88f80dbf4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Picture::isIntern </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns whether the picture is described by a URL (extern) or by the raw data (intern). </p>
<p>When this method returns 'true' you can use <a class="el" href="classKABC_1_1Picture.html#ab00ee9823e532c1b88e196f3a4143bd0" title="Returns the image data of this picture.">data()</a> to get the raw data. Otherwise you can request the URL of this picture by <a class="el" href="classKABC_1_1Picture.html#aea17b48c6d22de92930db8c497339a80" title="Returns the location URL of this picture.">url()</a> and load the raw data from that location. </p>

<p>Definition at line <a class="el" href="picture_8cpp_source.html#l00178">178</a> of file <a class="el" href="picture_8cpp_source.html">picture.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aaae7d3a039fcc64fa4e12ffefa07303c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Picture::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classKABC_1_1Picture.html">Picture</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Not-Equal operator. </p>

<p>Definition at line <a class="el" href="picture_8cpp_source.html#l00125">125</a> of file <a class="el" href="picture_8cpp_source.html">picture.cpp</a>.</p>

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

<p>Assignment operator. </p>
<p>Fast operation, <a class="el" href="classKABC_1_1Picture.html" title="A class to store a picture of an addressee.">Picture</a>'s data is implicitly shared.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>The <a class="el" href="classKABC_1_1Picture.html" title="A class to store a picture of an addressee.">Picture</a> instance to assign to <code>this</code> </td></tr>
  </table>
  </dd>
</dl>

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

</div>
</div>
<a class="anchor" id="ac0db738bf6f9d8f660e4b908a2432e85"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Picture::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classKABC_1_1Picture.html">Picture</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Equality operator. </p>

<p>Definition at line <a class="el" href="picture_8cpp_source.html#l00088">88</a> of file <a class="el" href="picture_8cpp_source.html">picture.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac41b044c91e3eff47a8872c501080fb9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QByteArray Picture::rawData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the raw data of this picture. </p>
<dl class="section since"><dt>Since</dt><dd>4.10 </dd></dl>

<p>Definition at line <a class="el" href="picture_8cpp_source.html#l00197">197</a> of file <a class="el" href="picture_8cpp_source.html">picture.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a932974411f95286e9965be93a26a39a7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Picture::setData </td>
          <td>(</td>
          <td class="paramtype">const QImage &amp;&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the image data of the picture. </p>
<p>When using this function, <a class="el" href="classKABC_1_1Picture.html#a90b0f2e5065e7985d3063ef88f80dbf4" title="Returns whether the picture is described by a URL (extern) or by the raw data (intern).">isIntern()</a> will return 'true' until you use <a class="el" href="classKABC_1_1Picture.html#a0b04b8b77c4c0ee8096402e99abfd7ba" title="Sets a URL for the location of the picture file.">setUrl()</a>. This also sets type to "png" or "jpeg" depending on whether the image has an alpha channel or not.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>The image data of the picture. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="picture_8cpp_source.html#l00151">151</a> of file <a class="el" href="picture_8cpp_source.html">picture.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a82adb5228c9e67448b7750dc2d4dd1a2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Picture::setRawData </td>
          <td>(</td>
          <td class="paramtype">const QByteArray &amp;&#160;</td>
          <td class="paramname"><em>rawData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the raw data of the picture. </p>
<p>When using this function, <a class="el" href="classKABC_1_1Picture.html#a90b0f2e5065e7985d3063ef88f80dbf4" title="Returns whether the picture is described by a URL (extern) or by the raw data (intern).">isIntern()</a> will return 'true' until you use <a class="el" href="classKABC_1_1Picture.html#a0b04b8b77c4c0ee8096402e99abfd7ba" title="Sets a URL for the location of the picture file.">setUrl()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rawData</td><td>The raw data of the picture. </td></tr>
    <tr><td class="paramname">type</td><td>The encoding format of the image, e.g. jpeg or png </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>4.10 </dd></dl>

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

</div>
</div>
<a class="anchor" id="a4bac90467f2cbccdeec43cfbde8378d6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Picture::setType </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the type of the picture. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd>type should only be set along with <a class="el" href="classKABC_1_1Picture.html#a82adb5228c9e67448b7750dc2d4dd1a2" title="Sets the raw data of the picture.">setRawData()</a> </dd></dl>

<p>Definition at line <a class="el" href="picture_8cpp_source.html#l00173">173</a> of file <a class="el" href="picture_8cpp_source.html">picture.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0b04b8b77c4c0ee8096402e99abfd7ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Picture::setUrl </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>url</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets a URL for the location of the picture file. </p>
<p>When using this function, <a class="el" href="classKABC_1_1Picture.html#a90b0f2e5065e7985d3063ef88f80dbf4" title="Returns whether the picture is described by a URL (extern) or by the raw data (intern).">isIntern()</a> will return 'false' until you use <a class="el" href="classKABC_1_1Picture.html#a932974411f95286e9965be93a26a39a7" title="Sets the image data of the picture.">setData()</a>. This also clears the type, as it is unknown.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">url</td><td>The location URL of the picture file. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="picture_8cpp_source.html#l00137">137</a> of file <a class="el" href="picture_8cpp_source.html">picture.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac2ca9ac66396914dd368a0abe0955a20"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Picture::setUrl </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>url</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets a URL for the location of the picture file. </p>
<p>When using this function, <a class="el" href="classKABC_1_1Picture.html#a90b0f2e5065e7985d3063ef88f80dbf4" title="Returns whether the picture is described by a URL (extern) or by the raw data (intern).">isIntern()</a> will return 'false' until you use <a class="el" href="classKABC_1_1Picture.html#a932974411f95286e9965be93a26a39a7" title="Sets the image data of the picture.">setData()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">url</td><td>The location URL of the picture file. </td></tr>
    <tr><td class="paramname">type</td><td>The encoding format of the image, e.g. jpeg or png </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>4.10 </dd></dl>

<p>Definition at line <a class="el" href="picture_8cpp_source.html#l00144">144</a> of file <a class="el" href="picture_8cpp_source.html">picture.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6cc75b867bd5f12d1af8b95cbedf578c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString Picture::toString </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns string representation of the picture. </p>

<p>Definition at line <a class="el" href="picture_8cpp_source.html#l00215">215</a> of file <a class="el" href="picture_8cpp_source.html">picture.cpp</a>.</p>

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

<p>Returns the type of this picture. </p>

<p>Definition at line <a class="el" href="picture_8cpp_source.html#l00210">210</a> of file <a class="el" href="picture_8cpp_source.html">picture.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aea17b48c6d22de92930db8c497339a80"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString Picture::url </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the location URL of this picture. </p>

<p>Definition at line <a class="el" href="picture_8cpp_source.html#l00183">183</a> of file <a class="el" href="picture_8cpp_source.html">picture.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a673ac3d1b92ba7cc7b1107c92ef0d3af"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QDataStream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">QDataStream &amp;&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKABC_1_1Picture.html">Picture</a> &amp;&#160;</td>
          <td class="paramname">&#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">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Serializes the <code>picture</code> object into the <code>stream</code>. </p>

</div>
</div>
<a class="anchor" id="a445f1463aa91fd6f9a3d4a88e42826de"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QDataStream&amp; operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype">QDataStream &amp;&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKABC_1_1Picture.html">Picture</a> &amp;&#160;</td>
          <td class="paramname">&#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">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Initializes the <code>picture</code> object from the <code>stream</code>. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="picture_8h_source.html">picture.h</a></li>
<li><a class="el" href="picture_8cpp_source.html">picture.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:49:41 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">kabc</h2>
<a href="#cp-skip-project" class="cp-doNotDisplay">Skip menu "kabc"</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="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="classKABC_1_1Address.html">kabc::address</option>,  <option value="classKABC_1_1AddressBook.html">kabc::addressbook</option>,  <option value="classKABC_1_1AddressBook_1_1ConstIterator.html">kabc::addressbook::constiterator</option>,  <option value="classKABC_1_1AddressBook_1_1Iterator.html">kabc::addressbook::iterator</option>,  <option value="classKABC_1_1AddresseeDialog.html">kabc::addresseedialog</option>,  <option value="classKABC_1_1AddresseeHelper.html">kabc::addresseehelper</option>,  <option value="classKABC_1_1AddresseeItem.html">kabc::addresseeitem</option>,  <option value="classKABC_1_1AddresseeList.html">kabc::addresseelist</option>,  <option value="classKABC_1_1AddressLineEdit.html">kabc::addresslineedit</option>,  <option value="classKABC_1_1BinaryFormat.html">kabc::binaryformat</option>,  <option value="classKABC_1_1ConsoleErrorHandler.html">kabc::consoleerrorhandler</option>,  <option value="classKABC_1_1ContactGroup.html">kabc::contactgroup</option>,  <option value="classKABC_1_1ContactGroup_1_1ContactGroupReference.html">kabc::contactgroup::contactgroupreference</option>,  <option value="classKABC_1_1ContactGroup_1_1ContactReference.html">kabc::contactgroup::contactreference</option>,  <option value="classKABC_1_1ContactGroup_1_1Data.html">kabc::contactgroup::data</option>,  <option value="classKABC_1_1DistributionList.html">kabc::distributionlist</option>,  <option value="classKABC_1_1DistributionList_1_1Entry.html">kabc::distributionlist::entry</option>,  <option value="classKABC_1_1DistributionListDialog.html">kabc::distributionlistdialog</option>,  <option value="classKABC_1_1DistributionListEditorWidget.html">kabc::distributionlisteditorwidget</option>,  <option value="classKABC_1_1EmailSelector.html">kabc::emailselector</option>,  <option value="classKABC_1_1ErrorHandler.html">kabc::errorhandler</option>,  <option value="classKABC_1_1Field.html">kabc::field</option>,  <option value="classKABC_1_1FieldSortMode.html">kabc::fieldsortmode</option>,  <option value="classKABC_1_1Format.html">kabc::format</option>,  <option value="classKABC_1_1FormatFactory.html">kabc::formatfactory</option>,  <option value="classKABC_1_1Geo.html">kabc::geo</option>,  <option value="classKABC_1_1GuiErrorHandler.html">kabc::guierrorhandler</option>,  <option value="classKABC_1_1Key.html">kabc::key</option>,  <option value="classKABC_1_1Lock.html">kabc::lock</option>,  <option value="classKABC_1_1LockNull.html">kabc::locknull</option>,  <option value="classKABC_1_1NameSortMode.html">kabc::namesortmode</option>,  <option value="classKABC_1_1PhoneNumber.html">kabc::phonenumber</option>,  <option value="classKABC_1_1Picture.html">kabc::picture</option>,  <option value="classKABC_1_1Plugin.html">kabc::plugin</option>,  <option value="classKABC_1_1Resource.html">kabc::resource</option>,  <option value="classKABC_1_1Resource_1_1ConstIterator.html">kabc::resource::constiterator</option>,  <option value="classKABC_1_1ResourceABC.html">kabc::resourceabc</option>,  <option value="classKABC_1_1ResourceDir.html">kabc::resourcedir</option>,  <option value="classKABC_1_1ResourceFile.html">kabc::resourcefile</option>,  <option value="classKABC_1_1ResourceNet.html">kabc::resourcenet</option>,  <option value="classKABC_1_1SortMode.html">kabc::sortmode</option>,  <option value="classKABC_1_1Sound.html">kabc::sound</option>,  <option value="classKABC_1_1StdAddressBook.html">kabc::stdaddressbook</option>,  <option value="classKABC_1_1Ticket.html">kabc::ticket</option>,  <option value="classKABC_1_1TimeZone.html">kabc::timezone</option>,  <option value="classKABC_1_1VCardConverter.html">kabc::vcardconverter</option>,  <option value="classKABC_1_1VCardFormat.html">kabc::vcardformat</option>,  <option value="classLdif.html">ldif</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>