Sophie

Sophie

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

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" />
<!-- qversitcontactexporter.cpp -->
  <title>Qt Mobility 1.2: QVersitContactExporterDetailHandler 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="qtversit.html">QtVersit</a></li>
<li>QVersitContactExporterDetailHandler</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="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QVersitContactExporterDetailHandler Class Reference</h1>
<!-- $$$QVersitContactExporterDetailHandler-brief -->
<p>The QVersitContactExporterDetailHandler class is the legacy interface for clients wishing to implement custom export behaviour for certain contact details. <a href="#details">More...</a></p>
<!-- @@@QVersitContactExporterDetailHandler -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QVersitContactExporterDetailHandler&gt;</span></pre><p><b>This class is deprecated.</b></p>
<p>This class was introduced in Qt Mobility 1.1.</p>
<ul>
<li><a href="qversitcontactexporterdetailhandler-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"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qversitcontactexporterdetailhandler.html#dtor.QVersitContactExporterDetailHandler">~QVersitContactExporterDetailHandler</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qversitcontactexporterdetailhandler.html#postProcessDetail">postProcessDetail</a></b> ( const QContact &amp; <i>contact</i>, const QContactDetail &amp; <i>detail</i>, bool <i>alreadyProcessed</i>, QVersitDocument * <i>document</i> ) = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qversitcontactexporterdetailhandler.html#preProcessDetail">preProcessDetail</a></b> ( const QContact &amp; <i>contact</i>, const QContactDetail &amp; <i>detail</i>, QVersitDocument * <i>document</i> ) = 0</td></tr>
</table>
<a name="details"></a>
<!-- $$$QVersitContactExporterDetailHandler-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QVersitContactExporterDetailHandler class is the legacy interface for clients wishing to implement custom export behaviour for certain contact details.</p>
<p>This interface is replaced by <a href="qversitcontactexporterdetailhandlerv2.html">QVersitContactExporterDetailHandlerV2</a>. For general information on extending Qt Versit, see the document on <a href="versitplugins.html">Versit Plugins</a>.</p>
</div>
<p><b>See also </b><a href="qversitcontactexporter.html">QVersitContactExporter</a>.</p>
<!-- @@@QVersitContactExporterDetailHandler -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$~QVersitContactExporterDetailHandler[overload1]$$$~QVersitContactExporterDetailHandler -->
<h3 class="fn"><a name="dtor.QVersitContactExporterDetailHandler"></a>QVersitContactExporterDetailHandler::<span class="name">~QVersitContactExporterDetailHandler</span> ()<tt> [virtual]</tt></h3>
<p>Frees any memory in use by this handler.</p>
<!-- @@@~QVersitContactExporterDetailHandler -->
<!-- $$$postProcessDetail[overload1]$$$postProcessDetailconstQContact&constQContactDetail&boolQVersitDocument* -->
<h3 class="fn"><a name="postProcessDetail"></a><span class="type">bool</span> QVersitContactExporterDetailHandler::<span class="name">postProcessDetail</span> ( const <span class="type"><a href="qcontact.html">QContact</a></span> &amp; <i>contact</i>, const <span class="type"><a href="qcontactdetail.html">QContactDetail</a></span> &amp; <i>detail</i>, <span class="type">bool</span> <i>alreadyProcessed</i>, <span class="type"><a href="qversitdocument.html">QVersitDocument</a></span> * <i>document</i> )<tt> [pure virtual]</tt></h3>
<p>Process <i>detail</i> and update <i>document</i> with the corresponding <a href="qversitproperty.html">QVersitProperty</a>(s). <i>contact</i> provides the context within which the detail was found. <i>alreadyProcessed</i> is true if the detail has already been processed either by <a href="qversitcontactexporterdetailhandler.html#preProcessDetail">preProcessDetail</a>() or by <a href="qversitcontactexporter.html">QVersitContactExporter</a> itself.</p>
<p>Returns true if the detail has been handled, false otherwise.</p>
<p>This function is called on every <a href="qcontactdetail.html">QContactDetail</a> encountered during an export. This can be used to implement support for QContactDetails not supported by <a href="qversitcontactexporter.html">QVersitContactExporter</a>.</p>
<!-- @@@postProcessDetail -->
<!-- $$$preProcessDetail[overload1]$$$preProcessDetailconstQContact&constQContactDetail&QVersitDocument* -->
<h3 class="fn"><a name="preProcessDetail"></a><span class="type">bool</span> QVersitContactExporterDetailHandler::<span class="name">preProcessDetail</span> ( const <span class="type"><a href="qcontact.html">QContact</a></span> &amp; <i>contact</i>, const <span class="type"><a href="qcontactdetail.html">QContactDetail</a></span> &amp; <i>detail</i>, <span class="type"><a href="qversitdocument.html">QVersitDocument</a></span> * <i>document</i> )<tt> [pure virtual]</tt></h3>
<p>Process <i>detail</i> and update <i>document</i> with the corresponding <a href="qversitproperty.html">QVersitProperty</a>(s). <i>contact</i> provides the context within which the detail was found.</p>
<p>Returns true if the detail has been handled and requires no further processing, false otherwise.</p>
<p>This function is called on every <a href="qcontactdetail.html">QContactDetail</a> encountered during an export. Supply this function and return true to implement custom export behaviour.</p>
<!-- @@@preProcessDetail -->
</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>