Sophie

Sophie

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

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" />
<!-- qversitorganizerimporter.cpp -->
  <title>Qt Mobility 1.2: QVersitOrganizerImporterPropertyHandler 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>QVersitOrganizerImporterPropertyHandler</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">QVersitOrganizerImporterPropertyHandler Class Reference</h1>
<!-- $$$QVersitOrganizerImporterPropertyHandler-brief -->
<p>The QVersitOrganizerImporterPropertyHandler class is an interface for specifying custom import behaviour for vCard properties. <a href="#details">More...</a></p>
<!-- @@@QVersitOrganizerImporterPropertyHandler -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QVersitOrganizerImporterPropertyHandler&gt;</span></pre><p><b>Inherited by: </b><a href="qversitorganizerhandler.html">QVersitOrganizerHandler</a>.</p>
<ul>
<li><a href="qversitorganizerimporterpropertyhandler-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="qversitorganizerimporterpropertyhandler.html#dtor.QVersitOrganizerImporterPropertyHandler">~QVersitOrganizerImporterPropertyHandler</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qversitorganizerimporterpropertyhandler.html#propertyProcessed">propertyProcessed</a></b> ( const QVersitDocument &amp; <i>document</i>, const QVersitProperty &amp; <i>property</i>, const QOrganizerItem &amp; <i>item</i>, bool * <i>alreadyProcessed</i>, QList&lt;QOrganizerItemDetail&gt; * <i>updatedDetails</i> ) = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qversitorganizerimporterpropertyhandler.html#subDocumentProcessed">subDocumentProcessed</a></b> ( const QVersitDocument &amp; <i>topLevel</i>, const QVersitDocument &amp; <i>subDocument</i>, QOrganizerItem * <i>item</i> ) = 0</td></tr>
</table>
<a name="details"></a>
<!-- $$$QVersitOrganizerImporterPropertyHandler-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QVersitOrganizerImporterPropertyHandler class is an interface for specifying custom import behaviour for vCard properties.</p>
<p>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="qversitorganizerimporter.html">QVersitOrganizerImporter</a>.</p>
<!-- @@@QVersitOrganizerImporterPropertyHandler -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$~QVersitOrganizerImporterPropertyHandler[overload1]$$$~QVersitOrganizerImporterPropertyHandler -->
<h3 class="fn"><a name="dtor.QVersitOrganizerImporterPropertyHandler"></a>QVersitOrganizerImporterPropertyHandler::<span class="name">~QVersitOrganizerImporterPropertyHandler</span> ()<tt> [virtual]</tt></h3>
<p>Frees any memory in use by this handler.</p>
<!-- @@@~QVersitOrganizerImporterPropertyHandler -->
<!-- $$$propertyProcessed[overload1]$$$propertyProcessedconstQVersitDocument&constQVersitProperty&constQOrganizerItem&bool*QList<QOrganizerItemDetail>* -->
<h3 class="fn"><a name="propertyProcessed"></a><span class="type">void</span> QVersitOrganizerImporterPropertyHandler::<span class="name">propertyProcessed</span> ( const <span class="type"><a href="qversitdocument.html">QVersitDocument</a></span> &amp; <i>document</i>, const <span class="type"><a href="qversitproperty.html">QVersitProperty</a></span> &amp; <i>property</i>, const <span class="type"><a href="qorganizeritem.html">QOrganizerItem</a></span> &amp; <i>item</i>, <span class="type">bool</span> * <i>alreadyProcessed</i>, <span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type"><a href="qorganizeritemdetail.html">QOrganizerItemDetail</a></span>&gt; * <i>updatedDetails</i> )<tt> [pure virtual]</tt></h3>
<p>Process <i>property</i> and provide a list of updated details by adding them to <i>updatedDetails</i>.</p>
<p>This function is called on every <a href="qversitproperty.html">QVersitProperty</a> encountered during an import, after the property has been processed by the <a href="qversitorganizerimporter.html">QVersitOrganizerImporter</a>. An implementation of this function can be made to provide support for vCard properties not supported by <a href="qversitorganizerimporter.html">QVersitOrganizerImporter</a>.</p>
<p>The supplied <i>document</i> is the container for the <i>property</i>. <i>alreadyProcessed</i> is true if the <a href="qversitorganizerimporter.html">QVersitOrganizerImporter</a> or another handler was successful in processing the property. If it is false and the handler processes the property, it should be set to true to inform later handlers that the property requires no further processing. <i>item</i> holds the state of the item before the property was processed by the importer. <i>updatedDetails</i> is initially filled with a list of details that the importer will update, and can be modified (by removing, modifying or adding details to the list)</p>
<!-- @@@propertyProcessed -->
<!-- $$$subDocumentProcessed[overload1]$$$subDocumentProcessedconstQVersitDocument&constQVersitDocument&QOrganizerItem* -->
<h3 class="fn"><a name="subDocumentProcessed"></a><span class="type">void</span> QVersitOrganizerImporterPropertyHandler::<span class="name">subDocumentProcessed</span> ( const <span class="type"><a href="qversitdocument.html">QVersitDocument</a></span> &amp; <i>topLevel</i>, const <span class="type"><a href="qversitdocument.html">QVersitDocument</a></span> &amp; <i>subDocument</i>, <span class="type"><a href="qorganizeritem.html">QOrganizerItem</a></span> * <i>item</i> )<tt> [pure virtual]</tt></h3>
<p>Perform any final processing on the <i>item</i> generated by the <i>subDocument</i>. <i>topLevel</i> is the container within which <i>subDocument</i> was found. This can be implemented by the handler to clear any internal state before moving onto the next document.</p>
<p>This function is called after all QVersitProperties have been handled by the <a href="qversitorganizerimporter.html">QVersitOrganizerImporter</a>.</p>
<!-- @@@subDocumentProcessed -->
</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>