Sophie

Sophie

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

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" />
<!-- qgeoserviceproviderfactory.cpp -->
  <title>Qt Mobility 1.2: QGeoServiceProviderFactory 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="qtlocation.html">QtLocation</a></li>
<li>QGeoServiceProviderFactory</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">QGeoServiceProviderFactory Class Reference</h1>
<!-- $$$QGeoServiceProviderFactory-brief -->
<p>The QGeoServiceProviderFactory class is a factory class used as the plugin interface for services related to geographical information. <a href="#details">More...</a></p>
<!-- @@@QGeoServiceProviderFactory -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QGeoServiceProviderFactory&gt;</span></pre><p>This class was introduced in Qt Mobility 1.1.</p>
<ul>
<li><a href="qgeoserviceproviderfactory-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="qgeoserviceproviderfactory.html#dtor.QGeoServiceProviderFactory">~QGeoServiceProviderFactory</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QGeoMappingManagerEngine * </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceproviderfactory.html#createMappingManagerEngine">createMappingManagerEngine</a></b> ( const QMap&lt;QString, QVariant&gt; &amp; <i>parameters</i>, QGeoServiceProvider::Error * <i>error</i>, QString * <i>errorString</i> ) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QGeoRoutingManagerEngine * </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceproviderfactory.html#createRoutingManagerEngine">createRoutingManagerEngine</a></b> ( const QMap&lt;QString, QVariant&gt; &amp; <i>parameters</i>, QGeoServiceProvider::Error * <i>error</i>, QString * <i>errorString</i> ) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QGeoSearchManagerEngine * </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceproviderfactory.html#createSearchManagerEngine">createSearchManagerEngine</a></b> ( const QMap&lt;QString, QVariant&gt; &amp; <i>parameters</i>, QGeoServiceProvider::Error * <i>error</i>, QString * <i>errorString</i> ) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QString </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceproviderfactory.html#providerName">providerName</a></b> () const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual int </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceproviderfactory.html#providerVersion">providerVersion</a></b> () const = 0</td></tr>
</table>
<a name="details"></a>
<!-- $$$QGeoServiceProviderFactory-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QGeoServiceProviderFactory class is a factory class used as the plugin interface for services related to geographical information.</p>
<p>Implementers must provide a unique combination of <a href="qgeoserviceproviderfactory.html#providerName">providerName</a>() and <a href="qgeoserviceproviderfactory.html#providerVersion">providerVersion</a>() per plugin.</p>
<p>The other functions should be overridden if the plugin supports the associated set of functionality.</p>
</div>
<!-- @@@QGeoServiceProviderFactory -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$~QGeoServiceProviderFactory[overload1]$$$~QGeoServiceProviderFactory -->
<h3 class="fn"><a name="dtor.QGeoServiceProviderFactory"></a>QGeoServiceProviderFactory::<span class="name">~QGeoServiceProviderFactory</span> ()<tt> [virtual]</tt></h3>
<p>Destroys this <a href="qgeoserviceproviderfactory.html">QGeoServiceProviderFactory</a> instance.</p>
<!-- @@@~QGeoServiceProviderFactory -->
<!-- $$$createMappingManagerEngine[overload1]$$$createMappingManagerEngineconstQMap<QString,QVariant>&QGeoServiceProvider::Error*QString* -->
<h3 class="fn"><a name="createMappingManagerEngine"></a><span class="type"><a href="qgeomappingmanagerengine.html">QGeoMappingManagerEngine</a></span> * QGeoServiceProviderFactory::<span class="name">createMappingManagerEngine</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qmap.html">QMap</a></span>&lt;<span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span>, <span class="type"><a href="http://qt.nokia.com/doc/4.7/qvariant.html">QVariant</a></span>&gt; &amp; <i>parameters</i>, <span class="type"><a href="qgeoserviceprovider.html#Error-enum">QGeoServiceProvider::Error</a></span> * <i>error</i>, <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> * <i>errorString</i> ) const<tt> [virtual]</tt></h3>
<p>Returns a new <a href="qgeomappingmanagerengine.html">QGeoMappingManagerEngine</a> instance, initialized with <i>parameters</i>, which implements as much of the places searching functionality as the service provider supports.</p>
<p>If <i>error</i> is not 0 it should be set to <a href="qgeoserviceprovider.html#Error-enum">QGeoServiceProvider::NoError</a> on success or an appropriate <a href="qgeoserviceprovider.html#Error-enum">QGeoServiceProvider::Error</a> on failure.</p>
<p>If <i>errorString</i> is not 0 it should be set to a string describing any error which occurred.</p>
<p>The default implementation returns 0, which causes a <a href="qgeoserviceprovider.html#Error-enum">QGeoServiceProvider::NotSupportedError</a> in <a href="qgeoserviceprovider.html">QGeoServiceProvider</a>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@createMappingManagerEngine -->
<!-- $$$createRoutingManagerEngine[overload1]$$$createRoutingManagerEngineconstQMap<QString,QVariant>&QGeoServiceProvider::Error*QString* -->
<h3 class="fn"><a name="createRoutingManagerEngine"></a><span class="type"><a href="qgeoroutingmanagerengine.html">QGeoRoutingManagerEngine</a></span> * QGeoServiceProviderFactory::<span class="name">createRoutingManagerEngine</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qmap.html">QMap</a></span>&lt;<span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span>, <span class="type"><a href="http://qt.nokia.com/doc/4.7/qvariant.html">QVariant</a></span>&gt; &amp; <i>parameters</i>, <span class="type"><a href="qgeoserviceprovider.html#Error-enum">QGeoServiceProvider::Error</a></span> * <i>error</i>, <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> * <i>errorString</i> ) const<tt> [virtual]</tt></h3>
<p>Returns a new <a href="qgeoroutingmanagerengine.html">QGeoRoutingManagerEngine</a> instance, initialized with <i>parameters</i>, which implements as much of the places searching functionality as the service provider supports.</p>
<p>If <i>error</i> is not 0 it should be set to <a href="qgeoserviceprovider.html#Error-enum">QGeoServiceProvider::NoError</a> on success or an appropriate <a href="qgeoserviceprovider.html#Error-enum">QGeoServiceProvider::Error</a> on failure.</p>
<p>If <i>errorString</i> is not 0 it should be set to a string describing any error which occurred.</p>
<p>The default implementation returns 0, which causes a <a href="qgeoserviceprovider.html#Error-enum">QGeoServiceProvider::NotSupportedError</a> in <a href="qgeoserviceprovider.html">QGeoServiceProvider</a>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@createRoutingManagerEngine -->
<!-- $$$createSearchManagerEngine[overload1]$$$createSearchManagerEngineconstQMap<QString,QVariant>&QGeoServiceProvider::Error*QString* -->
<h3 class="fn"><a name="createSearchManagerEngine"></a><span class="type"><a href="qgeosearchmanagerengine.html">QGeoSearchManagerEngine</a></span> * QGeoServiceProviderFactory::<span class="name">createSearchManagerEngine</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qmap.html">QMap</a></span>&lt;<span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span>, <span class="type"><a href="http://qt.nokia.com/doc/4.7/qvariant.html">QVariant</a></span>&gt; &amp; <i>parameters</i>, <span class="type"><a href="qgeoserviceprovider.html#Error-enum">QGeoServiceProvider::Error</a></span> * <i>error</i>, <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> * <i>errorString</i> ) const<tt> [virtual]</tt></h3>
<p>Returns a new <a href="qgeosearchmanagerengine.html">QGeoSearchManagerEngine</a> instance, initialized with <i>parameters</i>, which implements as much of the places searching functionality as the service provider supports.</p>
<p>If <i>error</i> is not 0 it should be set to <a href="qgeoserviceprovider.html#Error-enum">QGeoServiceProvider::NoError</a> on success or an appropriate <a href="qgeoserviceprovider.html#Error-enum">QGeoServiceProvider::Error</a> on failure.</p>
<p>If <i>errorString</i> is not 0 it should be set to a string describing any error which occurred.</p>
<p>The default implementation returns 0, which causes a <a href="qgeoserviceprovider.html#Error-enum">QGeoServiceProvider::NotSupportedError</a> in <a href="qgeoserviceprovider.html">QGeoServiceProvider</a>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@createSearchManagerEngine -->
<!-- $$$providerName[overload1]$$$providerName -->
<h3 class="fn"><a name="providerName"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> QGeoServiceProviderFactory::<span class="name">providerName</span> () const<tt> [pure virtual]</tt></h3>
<p>Returns the string used to identify the service provider behind this implementation.</p>
<p>The combination of providerName() and <a href="qgeoserviceproviderfactory.html#providerVersion">providerVersion</a>() should be unique amongst the plugins.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@providerName -->
<!-- $$$providerVersion[overload1]$$$providerVersion -->
<h3 class="fn"><a name="providerVersion"></a><span class="type">int</span> QGeoServiceProviderFactory::<span class="name">providerVersion</span> () const<tt> [pure virtual]</tt></h3>
<p>Returns the version of the plugin.</p>
<p>The combination of <a href="qgeoserviceproviderfactory.html#providerName">providerName</a>() and providerVersion() should be unique amongst the plugins.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@providerVersion -->
</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>