Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 50facae208d4a6f280e44a513b104320 > files > 796

qt-mobility-doc-1.2.0-13.mga5.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qcontactdetails.cpp -->
  <title>Qt Mobility 1.2: QContactThumbnail Class Reference</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="content"> 
    <a href="index.html" class="qtref"><span>QtMobility Reference Documentation</span></a>
  </div>
  <div class="breadcrumb toolblock">
    <ul>
      <li class="first"><a href="index.html">Home</a></li>
      <!--  Breadcrumbs go here -->
<li><a href="modules.html">Modules</a></li>
<li><a href="qtcontacts.html">QtContacts</a></li>
<li>QContactThumbnail</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#static-public-members">Static Public Members</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QContactThumbnail Class Reference</h1>
<!-- $$$QContactThumbnail-brief -->
<p>The QContactThumbnail class contains a thumbnail used in display lists to represent the contact. <a href="#details">More...</a></p>
<!-- @@@QContactThumbnail -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QContactThumbnail&gt;</span></pre><p><b>Inherits: </b><a href="qcontactdetail.html">QContactDetail</a>.</p>
<p>This class was introduced in Qt Mobility 1.0.</p>
<ul>
<li><a href="qcontactthumbnail-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactthumbnail.html#setThumbnail">setThumbnail</a></b> ( const QImage &amp; <i>thumbnail</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QImage </td><td class="memItemRight bottomAlign"><b><a href="qcontactthumbnail.html#thumbnail">thumbnail</a></b> () const</td></tr>
</table>
<ul>
<li class="fn">29 public functions inherited from <a href="qcontactdetail.html#public-functions">QContactDetail</a></li>
</ul>
<a name="static-public-members"></a>
<h2>Static Public Members</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> const QLatin1Constant </td><td class="memItemRight bottomAlign"><b><a href="qcontactthumbnail.html#DefinitionName-var">DefinitionName</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QLatin1Constant </td><td class="memItemRight bottomAlign"><b><a href="qcontactthumbnail.html#FieldThumbnail-var">FieldThumbnail</a></b></td></tr>
</table>
<a name="details"></a>
<!-- $$$QContactThumbnail-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QContactThumbnail class contains a thumbnail used in display lists to represent the contact.</p>
<p>Users can specify a thumbnail image for a contact via this detail. Support for this detail is backend specific; some managers will save the image as given, no matter how big it is, while other managers will scale the image prior to save in order to reduce memory overhead. Some managers will automatically synthesize a thumbnail detail for each contact if an avatar image url is specified but no thumbnail detail is specified.</p>
<p>The content of the thumbnail detail is static once set. That is, in order to change the thumbnail of a particular contact, the user must modify the detail and update the contact. This is in contrast to the <a href="qcontactavatar.html">QContactAvatar</a> detail, which contains URLs to resources; the actual content of the resource might be changed dynamically by person, group or organization for which the <a href="qcontact.html">QContact</a> is a digital representation. That is, the content of a QContactThumbnail detail is set by the user who has created the contact, but the content of a resource identified by a URL specified in a <a href="qcontactavatar.html">QContactAvatar</a> detail is set by whoever owns the resource which the URL identifies.</p>
<p>This leaf-class has been part of the default schema since version 1.0 of the Qt Mobility project.</p>
</div>
<p><b>See also </b><a href="qcontactavatar.html">QContactAvatar</a>.</p>
<!-- @@@QContactThumbnail -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$setThumbnail[overload1]$$$setThumbnailconstQImage& -->
<h3 class="fn"><a name="setThumbnail"></a><span class="type">void</span> QContactThumbnail::<span class="name">setThumbnail</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qimage.html">QImage</a></span> &amp; <i>thumbnail</i> )</h3>
<p>Sets the thumbnail image of the contact to be <i>thumbnail</i></p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qcontactthumbnail.html#thumbnail">thumbnail</a>().</p>
<!-- @@@setThumbnail -->
<!-- $$$thumbnail[overload1]$$$thumbnail -->
<h3 class="fn"><a name="thumbnail"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qimage.html">QImage</a></span> QContactThumbnail::<span class="name">thumbnail</span> () const</h3>
<p>Returns the thumbnail image of the contact</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qcontactthumbnail.html#setThumbnail">setThumbnail</a>().</p>
<!-- @@@thumbnail -->
</div>
<div class="vars">
<h2>Member Variable Documentation</h2>
<!-- $$$DefinitionName -->
<h3 class="fn"><a name="DefinitionName-var"></a>const <span class="type"><a href="qlatin1constant.html">QLatin1Constant</a></span> QContactThumbnail::<span class="name">DefinitionName</span></h3>
<p>The string constant for the definition name of <a href="qcontactthumbnail.html">QContactThumbnail</a> details.</p>
<!-- @@@DefinitionName -->
<!-- $$$FieldThumbnail -->
<h3 class="fn"><a name="FieldThumbnail-var"></a>const <span class="type"><a href="qlatin1constant.html">QLatin1Constant</a></span> QContactThumbnail::<span class="name">FieldThumbnail</span></h3>
<p>The field key constant for the value containing the thumbnail image.</p>
<p><b>See also </b><a href="qcontactthumbnail.html#thumbnail">thumbnail</a>() and <a href="qcontactthumbnail.html#setThumbnail">setThumbnail</a>().</p>
<!-- @@@FieldThumbnail -->
</div>
  <div class="ft">
    <span></span>
  </div>
</div> 
<div class="footer">
  <p>
     <acronym title="Copyright">&copy;</acronym> 2008-2011 Nokia Corporation and/or its
     subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
     in Finland and/or other countries worldwide.</p>
  <p>
     All other trademarks are property of their respective owners. <a title="Privacy Policy"
     href="http://qt.nokia.com/about/privacy-policy">Privacy Policy</a></p>
  <br />
  <p>
    Licensees holding valid Qt Commercial licenses may use this document in accordance with the    Qt Commercial License Agreement provided with the Software or, alternatively, in accordance    with the terms contained in a written agreement between you and Nokia.</p>
  <p>
    Alternatively, this document may be used under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU
    Free Documentation License version 1.3</a>
    as published by the Free Software Foundation.</p>
</div>
</body>
</html>