Sophie

Sophie

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

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" />
<!-- qgeosearchreply.cpp -->
  <title>Qt Mobility 1.2: QGeoSearchReply 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>QGeoSearchReply</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-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#protected-functions">Protected Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QGeoSearchReply Class Reference</h1>
<!-- $$$QGeoSearchReply-brief -->
<p>The QGeoSearchReply class manages an operation started by an instance of <a href="qgeosearchmanager.html">QGeoSearchManager</a>. <a href="#details">More...</a></p>
<!-- @@@QGeoSearchReply -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QGeoSearchReply&gt;</span></pre><p><b>Inherits: </b><a href="http://qt.nokia.com/doc/4.7/qobject.html">QObject</a>.</p>
<p>This class was introduced in Qt Mobility 1.1.</p>
<ul>
<li><a href="qgeosearchreply-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2>Public Types</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#Error-enum">Error</a></b> { NoError, EngineNotSetError, CommunicationError, ParseError, ..., UnknownError }</td></tr>
</table>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#QGeoSearchReply">QGeoSearchReply</a></b> ( Error <i>error</i>, const QString &amp; <i>errorString</i>, QObject * <i>parent</i> = 0 )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#dtor.QGeoSearchReply">~QGeoSearchReply</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#abort">abort</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Error </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#error">error</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#errorString">errorString</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#isFinished">isFinished</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#limit">limit</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#offset">offset</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QGeoPlace&gt; </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#places">places</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGeoBoundingArea * </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#viewport">viewport</a></b> () const</td></tr>
</table>
<ul>
<li class="fn">29 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-functions">QObject</a></li>
</ul>
<a name="signals"></a>
<h2>Signals</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#error-2">error</a></b> ( QGeoSearchReply::Error <i>error</i>, const QString &amp; <i>errorString</i> = QString() )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#finished">finished</a></b> ()</td></tr>
</table>
<ul>
<li class="fn">1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#signals">QObject</a></li>
</ul>
<a name="protected-functions"></a>
<h2>Protected Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#QGeoSearchReply-2">QGeoSearchReply</a></b> ( QObject * <i>parent</i> = 0 )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#addPlace">addPlace</a></b> ( const QGeoPlace &amp; <i>place</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#setError">setError</a></b> ( Error <i>error</i>, const QString &amp; <i>errorString</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#setFinished">setFinished</a></b> ( bool <i>finished</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#setLimit">setLimit</a></b> ( int <i>limit</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#setOffset">setOffset</a></b> ( int <i>offset</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#setPlaces">setPlaces</a></b> ( const QList&lt;QGeoPlace&gt; &amp; <i>places</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeosearchreply.html#setViewport">setViewport</a></b> ( QGeoBoundingArea * <i>viewport</i> )</td></tr>
</table>
<ul>
<li class="fn">7 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-functions">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 property inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#properties">QObject</a></li>
<li class="fn">1 public slot inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-slots">QObject</a></li>
<li class="fn">1 public variable inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-variables">QObject</a></li>
<li class="fn">4 static public members inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#static-public-members">QObject</a></li>
<li class="fn">2 protected variables inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<!-- $$$QGeoSearchReply-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QGeoSearchReply class manages an operation started by an instance of <a href="qgeosearchmanager.html">QGeoSearchManager</a>.</p>
<p>Instances of QGeoSearchReply manage the state and results of these operations.</p>
<p>The <a href="qgeosearchreply.html#isFinished">isFinished</a>(), <a href="qgeosearchreply.html#error">error</a>() and <a href="qgeosearchreply.html#errorString">errorString</a>() methods provide information on whether the operation has completed and if it completed successfully.</p>
<p>The <a href="qgeosearchreply.html#finished">finished</a>() and error(<a href="qgeosearchreply.html#Error-enum">QGeoSearchReply::Error</a>,<a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a>) signals can be used to monitor the progress of the operation.</p>
<p>It is possible that a newly created QGeoSearchReply may be in a finished state, most commonly because an error has occurred. Since such an instance will never emit the <a href="qgeosearchreply.html#finished">finished</a>() or error(<a href="qgeosearchreply.html#Error-enum">QGeoSearchReply::Error</a>,<a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a>) signals, it is important to check the result of <a href="qgeosearchreply.html#isFinished">isFinished</a>() before making the connections to the signals. The documentation for <a href="qgeosearchmanager.html">QGeoSearchManager</a> demonstrates how this might be carried out.</p>
<p>If the operation completes successfully the results will be able to be accessed with <a href="qgeosearchreply.html#places">places</a>().</p>
</div>
<!-- @@@QGeoSearchReply -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$Error$$$NoError$$$EngineNotSetError$$$CommunicationError$$$ParseError$$$UnsupportedOptionError$$$CombinationError$$$UnknownError -->
<h3 class="fn"><a name="Error-enum"></a>enum QGeoSearchReply::<span class="name">Error</span></h3>
<p>Describes an error which prevented the completion of the operation.</p>
<table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><tt>QGeoSearchReply::NoError</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">No error has occurred.</td></tr>
<tr><td class="topAlign"><tt>QGeoSearchReply::EngineNotSetError</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">The search manager that was used did not have a <a href="qgeosearchmanagerengine.html">QGeoSearchManagerEngine</a> instance associated with it.</td></tr>
<tr><td class="topAlign"><tt>QGeoSearchReply::CommunicationError</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">An error occurred while communicating with the service provider.</td></tr>
<tr><td class="topAlign"><tt>QGeoSearchReply::ParseError</tt></td><td class="topAlign"><tt>3</tt></td><td class="topAlign">The response from the service provider was in an unrecognizable format.</td></tr>
<tr><td class="topAlign"><tt>QGeoSearchReply::UnsupportedOptionError</tt></td><td class="topAlign"><tt>4</tt></td><td class="topAlign">The requested operation or one of the options for the operation are not supported by the service provider.</td></tr>
<tr><td class="topAlign"><tt>QGeoSearchReply::CombinationError</tt></td><td class="topAlign"><tt>5</tt></td><td class="topAlign">An error occurred while results where being combined from multiple sources.</td></tr>
<tr><td class="topAlign"><tt>QGeoSearchReply::UnknownError</tt></td><td class="topAlign"><tt>6</tt></td><td class="topAlign">An error occurred which does not fit into any of the other categories.</td></tr>
</table>
<!-- @@@Error -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QGeoSearchReply[overload1]$$$QGeoSearchReplyErrorconstQString&QObject* -->
<h3 class="fn"><a name="QGeoSearchReply"></a>QGeoSearchReply::<span class="name">QGeoSearchReply</span> ( <span class="type"><a href="qgeosearchreply.html#Error-enum">Error</a></span> <i>error</i>, const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> &amp; <i>errorString</i>, <span class="type"><a href="http://qt.nokia.com/doc/4.7/qobject.html">QObject</a></span> * <i>parent</i> = 0 )</h3>
<p>Constructs a search reply with a given <i>error</i> and <i>errorString</i> and the specified <i>parent</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@QGeoSearchReply -->
<!-- $$$QGeoSearchReply$$$QGeoSearchReplyQObject* -->
<h3 class="fn"><a name="QGeoSearchReply-2"></a>QGeoSearchReply::<span class="name">QGeoSearchReply</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qobject.html">QObject</a></span> * <i>parent</i> = 0 )<tt> [protected]</tt></h3>
<p>Constructs a search reply with the specified <i>parent</i>.</p>
<!-- @@@QGeoSearchReply -->
<!-- $$$~QGeoSearchReply[overload1]$$$~QGeoSearchReply -->
<h3 class="fn"><a name="dtor.QGeoSearchReply"></a>QGeoSearchReply::<span class="name">~QGeoSearchReply</span> ()<tt> [virtual]</tt></h3>
<p>Destroys this search reply object.</p>
<!-- @@@~QGeoSearchReply -->
<!-- $$$abort[overload1]$$$abort -->
<h3 class="fn"><a name="abort"></a><span class="type">void</span> QGeoSearchReply::<span class="name">abort</span> ()<tt> [virtual]</tt></h3>
<p>Cancels the operation immediately.</p>
<p>This will do nothing if the reply is finished.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@abort -->
<!-- $$$addPlace[overload1]$$$addPlaceconstQGeoPlace& -->
<h3 class="fn"><a name="addPlace"></a><span class="type">void</span> QGeoSearchReply::<span class="name">addPlace</span> ( const <span class="type"><a href="qgeoplace.html">QGeoPlace</a></span> &amp; <i>place</i> )<tt> [protected]</tt></h3>
<p>Adds <i>place</i> to the list of places in this reply.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@addPlace -->
<!-- $$$error[overload1]$$$error -->
<h3 class="fn"><a name="error"></a><span class="type"><a href="qgeosearchreply.html#Error-enum">Error</a></span> QGeoSearchReply::<span class="name">error</span> () const</h3>
<p>Returns the error state of this reply.</p>
<p>If the result is <a href="qgeosearchreply.html#Error-enum">QGeoSearchReply::NoError</a> then no error has occurred.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgeosearchreply.html#setError">setError</a>().</p>
<!-- @@@error -->
<!-- $$$error$$$errorQGeoSearchReply::ErrorconstQString& -->
<h3 class="fn"><a name="error-2"></a><span class="type">void</span> QGeoSearchReply::<span class="name">error</span> ( <span class="type"><a href="qgeosearchreply.html#Error-enum">QGeoSearchReply::Error</a></span> <i>error</i>, const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> &amp; <i>errorString</i> = QString() )<tt> [signal]</tt></h3>
<p>This signal is emitted when an error has been detected in the processing of this reply. The <a href="qgeosearchreply.html#finished">finished</a>() signal will probably follow.</p>
<p>The error will be described by the error code <i>error</i>. If <i>errorString</i> is not empty it will contain a textual description of the error.</p>
<p>This signal and <a href="qgeosearchmanager.html#error">QGeoSearchManager::error</a>() will be emitted at the same time.</p>
<p><b>Note:</b> Do no delete this reply object in the slot connected to this signal. Use <a href="http://qt.nokia.com/doc/4.7/qobject.html#deleteLater">deleteLater</a>() instead.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@error -->
<!-- $$$errorString[overload1]$$$errorString -->
<h3 class="fn"><a name="errorString"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> QGeoSearchReply::<span class="name">errorString</span> () const</h3>
<p>Returns the textual representation of the error state of this reply.</p>
<p>If no error has occurred this will return an empty string. It is possible that an error occurred which has no associated textual representation, in which case this will also return an empty string.</p>
<p>To determine whether an error has occurred, check to see if <a href="qgeosearchreply.html#error">QGeoSearchReply::error</a>() is equal to <a href="qgeosearchreply.html#Error-enum">QGeoSearchReply::NoError</a>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@errorString -->
<!-- $$$finished[overload1]$$$finished -->
<h3 class="fn"><a name="finished"></a><span class="type">void</span> QGeoSearchReply::<span class="name">finished</span> ()<tt> [signal]</tt></h3>
<p>This signal is emitted when this reply has finished processing.</p>
<p>If <a href="qgeosearchreply.html#error">error</a>() equals <a href="qgeosearchreply.html#Error-enum">QGeoSearchReply::NoError</a> then the processing finished successfully.</p>
<p>This signal and <a href="qgeosearchmanager.html#finished">QGeoSearchManager::finished</a>() will be emitted at the same time.</p>
<p><b>Note:</b> Do no delete this reply object in the slot connected to this signal. Use <a href="http://qt.nokia.com/doc/4.7/qobject.html#deleteLater">deleteLater</a>() instead.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgeosearchreply.html#setFinished">setFinished</a>().</p>
<!-- @@@finished -->
<!-- $$$isFinished[overload1]$$$isFinished -->
<h3 class="fn"><a name="isFinished"></a><span class="type">bool</span> QGeoSearchReply::<span class="name">isFinished</span> () const</h3>
<p>Return true if the operation completed successfully or encountered an error which cause the operation to come to a halt.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@isFinished -->
<!-- $$$limit[overload1]$$$limit -->
<h3 class="fn"><a name="limit"></a><span class="type">int</span> QGeoSearchReply::<span class="name">limit</span> () const</h3>
<p>Returns the limit on the number of responses from each data source.</p>
<p>If no limit was set this function will return -1.</p>
<p>This may be more than <a href="qgeosearchreply.html#places">places</a>().<a href="http://qt.nokia.com/doc/4.7/stylesheet-reference.html">length</a>() if the number of responses was less than the number requested.</p>
<p>If <a href="qgeosearchmanager.html#search">QGeoSearchManager::search</a>() is used along with QGeoSearchManager::setAdditionalLandmarkManagers the number of results can be as high as limit * (1 + number of additional landmark managers).</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgeosearchreply.html#setLimit">setLimit</a>().</p>
<!-- @@@limit -->
<!-- $$$offset[overload1]$$$offset -->
<h3 class="fn"><a name="offset"></a><span class="type">int</span> QGeoSearchReply::<span class="name">offset</span> () const</h3>
<p>Returns the offset into the entire result set at which to start fetching results.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgeosearchreply.html#setOffset">setOffset</a>().</p>
<!-- @@@offset -->
<!-- $$$places[overload1]$$$places -->
<h3 class="fn"><a name="places"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type"><a href="qgeoplace.html">QGeoPlace</a></span>&gt; QGeoSearchReply::<span class="name">places</span> () const</h3>
<p>Returns a list of places.</p>
<p>The places are the results of the operation corresponding to the <a href="qgeosearchmanager.html">QGeoSearchManager</a> function which created this reply.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgeosearchreply.html#setPlaces">setPlaces</a>().</p>
<!-- @@@places -->
<!-- $$$setError[overload1]$$$setErrorErrorconstQString& -->
<h3 class="fn"><a name="setError"></a><span class="type">void</span> QGeoSearchReply::<span class="name">setError</span> ( <span class="type"><a href="qgeosearchreply.html#Error-enum">Error</a></span> <i>error</i>, const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> &amp; <i>errorString</i> )<tt> [protected]</tt></h3>
<p>Sets the error state of this reply to <i>error</i> and the textual representation of the error to <i>errorString</i>.</p>
<p>This wil also cause <a href="qgeosearchreply.html#error">error</a>() and <a href="qgeosearchreply.html#finished">finished</a>() signals to be emitted, in that order.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgeosearchreply.html#error">error</a>().</p>
<!-- @@@setError -->
<!-- $$$setFinished[overload1]$$$setFinishedbool -->
<h3 class="fn"><a name="setFinished"></a><span class="type">void</span> QGeoSearchReply::<span class="name">setFinished</span> ( <span class="type">bool</span> <i>finished</i> )<tt> [protected]</tt></h3>
<p>Sets whether or not this reply has finished to <i>finished</i>.</p>
<p>If <i>finished</i> is true, this will cause the <a href="qgeosearchreply.html#finished">finished</a>() signal to be emitted.</p>
<p>If the operation completed successfully, <a href="qgeosearchreply.html#setPlaces">QGeoSearchReply::setPlaces</a>() should be called before this function. If an error occurred, <a href="qgeosearchreply.html#setError">QGeoSearchReply::setError</a>() should be used instead.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgeosearchreply.html#finished">finished</a>().</p>
<!-- @@@setFinished -->
<!-- $$$setLimit[overload1]$$$setLimitint -->
<h3 class="fn"><a name="setLimit"></a><span class="type">void</span> QGeoSearchReply::<span class="name">setLimit</span> ( <span class="type">int</span> <i>limit</i> )<tt> [protected]</tt></h3>
<p>Sets the limit on the number of responses from each data source to <i>limit</i>.</p>
<p>If <i>limit</i> is -1 then all available responses will be returned.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgeosearchreply.html#limit">limit</a>().</p>
<!-- @@@setLimit -->
<!-- $$$setOffset[overload1]$$$setOffsetint -->
<h3 class="fn"><a name="setOffset"></a><span class="type">void</span> QGeoSearchReply::<span class="name">setOffset</span> ( <span class="type">int</span> <i>offset</i> )<tt> [protected]</tt></h3>
<p>Sets the offset in the entire result set at which to start fetching result to <i>offset</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgeosearchreply.html#offset">offset</a>().</p>
<!-- @@@setOffset -->
<!-- $$$setPlaces[overload1]$$$setPlacesconstQList<QGeoPlace>& -->
<h3 class="fn"><a name="setPlaces"></a><span class="type">void</span> QGeoSearchReply::<span class="name">setPlaces</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type"><a href="qgeoplace.html">QGeoPlace</a></span>&gt; &amp; <i>places</i> )<tt> [protected]</tt></h3>
<p>Sets the list of <i>places</i> in the reply.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgeosearchreply.html#places">places</a>().</p>
<!-- @@@setPlaces -->
<!-- $$$setViewport[overload1]$$$setViewportQGeoBoundingArea* -->
<h3 class="fn"><a name="setViewport"></a><span class="type">void</span> QGeoSearchReply::<span class="name">setViewport</span> ( <span class="type"><a href="qgeoboundingarea.html">QGeoBoundingArea</a></span> * <i>viewport</i> )<tt> [protected]</tt></h3>
<p>Sets the viewport which contains the results to <i>viewport</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgeosearchreply.html#viewport">viewport</a>().</p>
<!-- @@@setViewport -->
<!-- $$$viewport[overload1]$$$viewport -->
<h3 class="fn"><a name="viewport"></a><span class="type"><a href="qgeoboundingarea.html">QGeoBoundingArea</a></span> * QGeoSearchReply::<span class="name">viewport</span> () const</h3>
<p>Returns the viewport which contains the results.</p>
<p>This function will return 0 if no viewport bias was specified in the <a href="qgeosearchmanager.html">QGeoSearchManager</a> function which created this reply.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgeosearchreply.html#setViewport">setViewport</a>().</p>
<!-- @@@viewport -->
</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>