Sophie

Sophie

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

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" />
<!-- qgeosatelliteinfo.cpp -->
  <title>Qt Mobility 1.2: QGeoSatelliteInfo 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>QGeoSatelliteInfo</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="#related-non-members">Related Non-Members</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QGeoSatelliteInfo Class Reference</h1>
<!-- $$$QGeoSatelliteInfo-brief -->
<p>The QGeoSatelliteInfo class contains basic information about a satellite. <a href="#details">More...</a></p>
<!-- @@@QGeoSatelliteInfo -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QGeoSatelliteInfo&gt;</span></pre><p>This class was introduced in Qt Mobility 1.0.</p>
<ul>
<li><a href="qgeosatelliteinfo-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="qgeosatelliteinfo.html#Attribute-enum">Attribute</a></b> { Elevation, Azimuth }</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="qgeosatelliteinfo.html#QGeoSatelliteInfo">QGeoSatelliteInfo</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeosatelliteinfo.html#QGeoSatelliteInfo-2">QGeoSatelliteInfo</a></b> ( const QGeoSatelliteInfo &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeosatelliteinfo.html#dtor.QGeoSatelliteInfo">~QGeoSatelliteInfo</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qgeosatelliteinfo.html#attribute">attribute</a></b> ( Attribute <i>attribute</i> ) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgeosatelliteinfo.html#hasAttribute">hasAttribute</a></b> ( Attribute <i>attribute</i> ) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qgeosatelliteinfo.html#prnNumber">prnNumber</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeosatelliteinfo.html#removeAttribute">removeAttribute</a></b> ( Attribute <i>attribute</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeosatelliteinfo.html#setAttribute">setAttribute</a></b> ( Attribute <i>attribute</i>, qreal <i>value</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeosatelliteinfo.html#setPrnNumber">setPrnNumber</a></b> ( int <i>prn</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeosatelliteinfo.html#setSignalStrength">setSignalStrength</a></b> ( int <i>signalStrength</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qgeosatelliteinfo.html#signalStrength">signalStrength</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgeosatelliteinfo.html#operator-not-eq">operator!=</a></b> ( const QGeoSatelliteInfo &amp; <i>other</i> ) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGeoSatelliteInfo &amp; </td><td class="memItemRight bottomAlign"><b><a href="qgeosatelliteinfo.html#operator-eq">operator=</a></b> ( const QGeoSatelliteInfo &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgeosatelliteinfo.html#operator-eq-eq">operator==</a></b> ( const QGeoSatelliteInfo &amp; <i>other</i> ) const</td></tr>
</table>
<a name="related-non-members"></a>
<h2>Related Non-Members</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> QDataStream &amp; </td><td class="memItemRight bottomAlign"><b><a href="qgeosatelliteinfo.html#operator-lt-lt-141">operator&lt;&lt;</a></b> ( QDataStream &amp; <i>stream</i>, const QGeoSatelliteInfo &amp; <i>info</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QDataStream &amp; </td><td class="memItemRight bottomAlign"><b><a href="qgeosatelliteinfo.html#operator-gt-gt-103">operator&gt;&gt;</a></b> ( QDataStream &amp; <i>stream</i>, QGeoSatelliteInfo &amp; <i>info</i> )</td></tr>
</table>
<a name="details"></a>
<!-- $$$QGeoSatelliteInfo-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QGeoSatelliteInfo class contains basic information about a satellite.</p>
</div>
<p><b>See also </b><a href="qgeosatelliteinfosource.html">QGeoSatelliteInfoSource</a>.</p>
<!-- @@@QGeoSatelliteInfo -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$Attribute$$$Elevation$$$Azimuth -->
<h3 class="fn"><a name="Attribute-enum"></a>enum QGeoSatelliteInfo::<span class="name">Attribute</span></h3>
<p>Defines the attributes for the satellite information.</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>QGeoSatelliteInfo::Elevation</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">The elevation of the satellite, in degrees.</td></tr>
<tr><td class="topAlign"><tt>QGeoSatelliteInfo::Azimuth</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">The azimuth to true north, in degrees.</td></tr>
</table>
<!-- @@@Attribute -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QGeoSatelliteInfo[overload1]$$$QGeoSatelliteInfo -->
<h3 class="fn"><a name="QGeoSatelliteInfo"></a>QGeoSatelliteInfo::<span class="name">QGeoSatelliteInfo</span> ()</h3>
<p>Creates a satellite information object.</p>
<!-- @@@QGeoSatelliteInfo -->
<!-- $$$QGeoSatelliteInfo$$$QGeoSatelliteInfoconstQGeoSatelliteInfo& -->
<h3 class="fn"><a name="QGeoSatelliteInfo-2"></a>QGeoSatelliteInfo::<span class="name">QGeoSatelliteInfo</span> ( const <span class="type">QGeoSatelliteInfo</span> &amp; <i>other</i> )</h3>
<p>Creates a satellite information object with the values of <i>other</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@QGeoSatelliteInfo -->
<!-- $$$~QGeoSatelliteInfo[overload1]$$$~QGeoSatelliteInfo -->
<h3 class="fn"><a name="dtor.QGeoSatelliteInfo"></a>QGeoSatelliteInfo::<span class="name">~QGeoSatelliteInfo</span> ()</h3>
<p>Destroys a satellite information object.</p>
<!-- @@@~QGeoSatelliteInfo -->
<!-- $$$attribute[overload1]$$$attributeAttribute -->
<h3 class="fn"><a name="attribute"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qreal-typedef">qreal</a></span> QGeoSatelliteInfo::<span class="name">attribute</span> ( <span class="type"><a href="qgeosatelliteinfo.html#Attribute-enum">Attribute</a></span> <i>attribute</i> ) const</h3>
<p>Returns the value of the specified <i>attribute</i> as a qreal value.</p>
<p>Returns -1 if the value has not been set.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qgeosatelliteinfo.html#hasAttribute">hasAttribute</a>() and <a href="qgeosatelliteinfo.html#setAttribute">setAttribute</a>().</p>
<!-- @@@attribute -->
<!-- $$$hasAttribute[overload1]$$$hasAttributeAttribute -->
<h3 class="fn"><a name="hasAttribute"></a><span class="type">bool</span> QGeoSatelliteInfo::<span class="name">hasAttribute</span> ( <span class="type"><a href="qgeosatelliteinfo.html#Attribute-enum">Attribute</a></span> <i>attribute</i> ) const</h3>
<p>Returns true if the specified <i>attribute</i> is present in this update.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@hasAttribute -->
<!-- $$$prnNumber[overload1]$$$prnNumber -->
<h3 class="fn"><a name="prnNumber"></a><span class="type">int</span> QGeoSatelliteInfo::<span class="name">prnNumber</span> () const</h3>
<p>Returns the PRN (Pseudo-random noise) number, or -1 if the value has not been set.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qgeosatelliteinfo.html#setPrnNumber">setPrnNumber</a>().</p>
<!-- @@@prnNumber -->
<!-- $$$removeAttribute[overload1]$$$removeAttributeAttribute -->
<h3 class="fn"><a name="removeAttribute"></a><span class="type">void</span> QGeoSatelliteInfo::<span class="name">removeAttribute</span> ( <span class="type"><a href="qgeosatelliteinfo.html#Attribute-enum">Attribute</a></span> <i>attribute</i> )</h3>
<p>Removes the specified <i>attribute</i> and its value.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@removeAttribute -->
<!-- $$$setAttribute[overload1]$$$setAttributeAttributeqreal -->
<h3 class="fn"><a name="setAttribute"></a><span class="type">void</span> QGeoSatelliteInfo::<span class="name">setAttribute</span> ( <span class="type"><a href="qgeosatelliteinfo.html#Attribute-enum">Attribute</a></span> <i>attribute</i>, <span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qreal-typedef">qreal</a></span> <i>value</i> )</h3>
<p>Sets the value for <i>attribute</i> to <i>value</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qgeosatelliteinfo.html#attribute">attribute</a>().</p>
<!-- @@@setAttribute -->
<!-- $$$setPrnNumber[overload1]$$$setPrnNumberint -->
<h3 class="fn"><a name="setPrnNumber"></a><span class="type">void</span> QGeoSatelliteInfo::<span class="name">setPrnNumber</span> ( <span class="type">int</span> <i>prn</i> )</h3>
<p>Sets the PRN (Pseudo-random noise) number to <i>prn</i>.</p>
<p>The PRN number can be used to identify a satellite.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qgeosatelliteinfo.html#prnNumber">prnNumber</a>().</p>
<!-- @@@setPrnNumber -->
<!-- $$$setSignalStrength[overload1]$$$setSignalStrengthint -->
<h3 class="fn"><a name="setSignalStrength"></a><span class="type">void</span> QGeoSatelliteInfo::<span class="name">setSignalStrength</span> ( <span class="type">int</span> <i>signalStrength</i> )</h3>
<p>Sets the signal strength to <i>signalStrength</i>, in decibels.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qgeosatelliteinfo.html#signalStrength">signalStrength</a>().</p>
<!-- @@@setSignalStrength -->
<!-- $$$signalStrength[overload1]$$$signalStrength -->
<h3 class="fn"><a name="signalStrength"></a><span class="type">int</span> QGeoSatelliteInfo::<span class="name">signalStrength</span> () const</h3>
<p>Returns the signal strength, or -1 if the value has not been set.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qgeosatelliteinfo.html#setSignalStrength">setSignalStrength</a>().</p>
<!-- @@@signalStrength -->
<!-- $$$operator!=[overload1]$$$operator!=constQGeoSatelliteInfo& -->
<h3 class="fn"><a name="operator-not-eq"></a><span class="type">bool</span> QGeoSatelliteInfo::<span class="name">operator!=</span> ( const <span class="type">QGeoSatelliteInfo</span> &amp; <i>other</i> ) const</h3>
<p>Returns true if any of the information for this satellite are not the same as those of <i>other</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@operator!= -->
<!-- $$$operator=[overload1]$$$operator=constQGeoSatelliteInfo& -->
<h3 class="fn"><a name="operator-eq"></a><span class="type">QGeoSatelliteInfo</span> &amp; QGeoSatelliteInfo::<span class="name">operator=</span> ( const <span class="type">QGeoSatelliteInfo</span> &amp; <i>other</i> )</h3>
<p>Assigns the values from <i>other</i> to this object.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@operator= -->
<!-- $$$operator==[overload1]$$$operator==constQGeoSatelliteInfo& -->
<h3 class="fn"><a name="operator-eq-eq"></a><span class="type">bool</span> QGeoSatelliteInfo::<span class="name">operator==</span> ( const <span class="type">QGeoSatelliteInfo</span> &amp; <i>other</i> ) const</h3>
<p>Returns true if all the information for this satellite are the same as those of <i>other</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@operator== -->
</div>
<div class="relnonmem">
<h2>Related Non-Members</h2>
<!-- $$$operator<<$$$operator<<QDataStream&constQGeoSatelliteInfo& -->
<h3 class="fn"><a name="operator-lt-lt-141"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qdatastream.html">QDataStream</a></span> &amp; <span class="name">operator&lt;&lt;</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qdatastream.html">QDataStream</a></span> &amp; <i>stream</i>, const <span class="type">QGeoSatelliteInfo</span> &amp; <i>info</i> )</h3>
<p>Writes the given <i>info</i> to the specified <i>stream</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="http://qt.nokia.com/doc/4.7/datastreamformat.html">Format of the QDataStream operators</a>.</p>
<!-- @@@operator<< -->
<!-- $$$operator>>$$$operator>>QDataStream&QGeoSatelliteInfo& -->
<h3 class="fn"><a name="operator-gt-gt-103"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qdatastream.html">QDataStream</a></span> &amp; <span class="name">operator&gt;&gt;</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qdatastream.html">QDataStream</a></span> &amp; <i>stream</i>, <span class="type">QGeoSatelliteInfo</span> &amp; <i>info</i> )</h3>
<p>Reads satellite information from the specified <i>stream</i> into the given <i>info</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="http://qt.nokia.com/doc/4.7/datastreamformat.html">Format of the QDataStream operators</a>.</p>
<!-- @@@operator>> -->
</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>