Sophie

Sophie

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

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" />
<!-- qsystemnetworkinfo.cpp -->
  <title>Qt Mobility 1.2: QSystemNetworkInfo 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="qtsysteminfo.html">QtSystemInfo</a></li>
<li>QSystemNetworkInfo</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="#properties">Properties</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="#static-public-members">Static Public Members</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QSystemNetworkInfo Class Reference</h1>
<!-- $$$QSystemNetworkInfo-brief -->
<p>The QSystemNetworkInfo class provides access to various networking status and signals. <a href="#details">More...</a></p>
<!-- @@@QSystemNetworkInfo -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QSystemNetworkInfo&gt;</span></pre><p><b>Inherits: </b><a href="http://qt.nokia.com/doc/4.7/qobject.html">QObject</a>.</p>
<p><b>Note:</b> All functions in this class are <a href="http://qt.nokia.com/doc/4.7/threads-reentrancy.html">reentrant</a>.</p>
<p>This class was introduced in Qt Mobility 1.0.</p>
<ul>
<li><a href="qsystemnetworkinfo-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="qsystemnetworkinfo.html#CellDataTechnology-enum">CellDataTechnology</a></b> { UnknownDataTechnology, GprsDataTechnology, EdgeDataTechnology, UmtsDataTechnology, HspaDataTechnology }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#NetworkMode-enum">NetworkMode</a></b> { UnknownMode, GsmMode, CdmaMode, WcdmaMode, ..., LteMode }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#NetworkStatus-enum">NetworkStatus</a></b> { UndefinedStatus, NoNetworkAvailable, EmergencyOnly, Searching, ..., Roaming }</td></tr>
</table>
<a name="properties"></a>
<h2>Properties</h2>
<table class="propsummary">
<tr><td class="topAlign"><ul>
<li class="fn"><b><a href="qsystemnetworkinfo.html#cellDataTechnology-prop">cellDataTechnology</a></b> : const QSystemNetworkInfo::CellDataTechnology</li>
<li class="fn"><b><a href="qsystemnetworkinfo.html#cellId-prop">cellId</a></b> : const int</li>
<li class="fn"><b><a href="qsystemnetworkinfo.html#currentMobileCountryCode-prop">currentMobileCountryCode</a></b> : const QString</li>
<li class="fn"><b><a href="qsystemnetworkinfo.html#currentMobileNetworkCode-prop">currentMobileNetworkCode</a></b> : const QString</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qsystemnetworkinfo.html#currentMode-prop">currentMode</a></b> : const QSystemNetworkInfo::NetworkMode</li>
<li class="fn"><b><a href="qsystemnetworkinfo.html#homeMobileCountryCode-prop">homeMobileCountryCode</a></b> : const QString</li>
<li class="fn"><b><a href="qsystemnetworkinfo.html#homeMobileNetworkCode-prop">homeMobileNetworkCode</a></b> : const QString</li>
<li class="fn"><b><a href="qsystemnetworkinfo.html#locationAreaCode-prop">locationAreaCode</a></b> : const int</li>
</ul>
</td></tr>
</table>
<ul>
<li class="fn">1 property inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#properties">QObject</a></li>
</ul>
<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="qsystemnetworkinfo.html#QSystemNetworkInfo">QSystemNetworkInfo</a></b> ( QObject * <i>parent</i> = 0 )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#dtor.QSystemNetworkInfo">~QSystemNetworkInfo</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSystemNetworkInfo::CellDataTechnology </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#cellDataTechnology-prop">cellDataTechnology</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#cellId-prop">cellId</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#currentMobileCountryCode-prop">currentMobileCountryCode</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#currentMobileNetworkCode-prop">currentMobileNetworkCode</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSystemNetworkInfo::NetworkMode </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#currentMode-prop">currentMode</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#homeMobileCountryCode-prop">homeMobileCountryCode</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#homeMobileNetworkCode-prop">homeMobileNetworkCode</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QNetworkInterface </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#interfaceForMode">interfaceForMode</a></b> ( QSystemNetworkInfo::NetworkMode <i>mode</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#locationAreaCode-prop">locationAreaCode</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#macAddress">macAddress</a></b> ( QSystemNetworkInfo::NetworkMode <i>mode</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSystemNetworkInfo::NetworkStatus </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#networkStatus">networkStatus</a></b> ( QSystemNetworkInfo::NetworkMode <i>mode</i> )</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="qsystemnetworkinfo.html#cellDataTechnologyChanged">cellDataTechnologyChanged</a></b> ( QSystemNetworkInfo::CellDataTechnology <i>cellTech</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#cellIdChanged">cellIdChanged</a></b> ( int <i>cellId</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#currentMobileCountryCodeChanged">currentMobileCountryCodeChanged</a></b> ( const QString &amp; <i>mcc</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#currentMobileNetworkCodeChanged">currentMobileNetworkCodeChanged</a></b> ( const QString &amp; <i>mnc</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#networkModeChanged">networkModeChanged</a></b> ( QSystemNetworkInfo::NetworkMode <i>mode</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#networkNameChanged">networkNameChanged</a></b> ( QSystemNetworkInfo::NetworkMode <i>mode</i>, const QString &amp; <i>name</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#networkSignalStrengthChanged">networkSignalStrengthChanged</a></b> ( QSystemNetworkInfo::NetworkMode <i>mode</i>, int <i>strength</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#networkStatusChanged">networkStatusChanged</a></b> ( QSystemNetworkInfo::NetworkMode <i>mode</i>, QSystemNetworkInfo::NetworkStatus <i>status</i> )</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="static-public-members"></a>
<h2>Static Public Members</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#networkName">networkName</a></b> ( QSystemNetworkInfo::NetworkMode <i>mode</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qsystemnetworkinfo.html#networkSignalStrength">networkSignalStrength</a></b> ( QSystemNetworkInfo::NetworkMode <i>mode</i> )</td></tr>
</table>
<ul>
<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>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<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">7 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-functions">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>
<!-- $$$QSystemNetworkInfo-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QSystemNetworkInfo class provides access to various networking status and signals.</p>
<p><b>Note:</b> Most functions in this class are reentrant on all platforms. The exceptions are listed below.</p>
<p><b>Warning:</b> On Symbian this class does not support <a href="http://qt.nokia.com/doc/4.7/qobject.html#moveToThread">QObject::moveToThread</a>().</p>
</div>
<!-- @@@QSystemNetworkInfo -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$CellDataTechnology$$$UnknownDataTechnology$$$GprsDataTechnology$$$EdgeDataTechnology$$$UmtsDataTechnology$$$HspaDataTechnology -->
<h3 class="fn"><a name="CellDataTechnology-enum"></a>enum QSystemNetworkInfo::<span class="name">CellDataTechnology</span></h3>
<p>This enum describes the type of cellular technology:</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>QSystemNetworkInfo::UnknownDataTechnology</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">Unknown cellular technology, or error.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::GprsDataTechnology</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">General Packet Radio Service (GPRS) data service.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::EdgeDataTechnology</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">Enhanced Data Rates for GSM Evolution (EDGE) data service.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::UmtsDataTechnology</tt></td><td class="topAlign"><tt>3</tt></td><td class="topAlign">Universal Mobile Telecommunications System (UMTS) data service.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::HspaDataTechnology</tt></td><td class="topAlign"><tt>4</tt></td><td class="topAlign">High Speed Packet Access (HSPA) data service.</td></tr>
</table>
<!-- @@@CellDataTechnology -->
<!-- $$$NetworkMode$$$UnknownMode$$$GsmMode$$$CdmaMode$$$WcdmaMode$$$WlanMode$$$EthernetMode$$$BluetoothMode$$$WimaxMode$$$LteMode -->
<h3 class="fn"><a name="NetworkMode-enum"></a>enum QSystemNetworkInfo::<span class="name">NetworkMode</span></h3>
<p>This enum describes the type of network:</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>QSystemNetworkInfo::UnknownMode</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">Unknown network, or network error.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::GsmMode</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">Global System for Mobile (GSM) network.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::CdmaMode</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">Code Division Multiple Access (CDMA) network.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::WcdmaMode</tt></td><td class="topAlign"><tt>3</tt></td><td class="topAlign">Wideband Code Division Multiple Access (W-CDMA) network.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::WlanMode</tt></td><td class="topAlign"><tt>4</tt></td><td class="topAlign">Wireless Local Area Network (WLAN) network.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::EthernetMode</tt></td><td class="topAlign"><tt>5</tt></td><td class="topAlign">Wired Local Area network.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::BluetoothMode</tt></td><td class="topAlign"><tt>6</tt></td><td class="topAlign">Bluetooth network.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::WimaxMode</tt></td><td class="topAlign"><tt>7</tt></td><td class="topAlign">Wimax network.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::LteMode</tt></td><td class="topAlign"><tt>8</tt></td><td class="topAlign">Lte network. Since 1.2</td></tr>
</table>
<!-- @@@NetworkMode -->
<!-- $$$NetworkStatus$$$UndefinedStatus$$$NoNetworkAvailable$$$EmergencyOnly$$$Searching$$$Busy$$$Connected$$$HomeNetwork$$$Denied$$$Roaming -->
<h3 class="fn"><a name="NetworkStatus-enum"></a>enum QSystemNetworkInfo::<span class="name">NetworkStatus</span></h3>
<p>This enum describes the status of the network connection:</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>QSystemNetworkInfo::UndefinedStatus</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">There is no network device, or on error.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::NoNetworkAvailable</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">There is no network available.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::EmergencyOnly</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">Emergency calls only.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::Searching</tt></td><td class="topAlign"><tt>3</tt></td><td class="topAlign">Searching for or connecting with the network.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::Busy</tt></td><td class="topAlign"><tt>4</tt></td><td class="topAlign">Network is busy.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::Connected</tt></td><td class="topAlign"><tt>5</tt></td><td class="topAlign">Connected to network.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::HomeNetwork</tt></td><td class="topAlign"><tt>6</tt></td><td class="topAlign">On Home Network.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::Denied</tt></td><td class="topAlign"><tt>7</tt></td><td class="topAlign">Network access denied.</td></tr>
<tr><td class="topAlign"><tt>QSystemNetworkInfo::Roaming</tt></td><td class="topAlign"><tt>8</tt></td><td class="topAlign">On Roaming network.</td></tr>
</table>
<!-- @@@NetworkStatus -->
</div>
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$cellDataTechnology-prop$$$cellDataTechnology$$$cellDataTechnologyChangedQSystemNetworkInfo::CellDataTechnology -->
<h3 class="fn"><a name="cellDataTechnology-prop"></a><span class="name">cellDataTechnology</span> : const <span class="type"><a href="qsystemnetworkinfo.html#CellDataTechnology-enum">QSystemNetworkInfo::CellDataTechnology</a></span></h3>
<p>Returns the current active cell data technology.</p>
<p>If no data technology is active, or data technology is not supported, <a href="qsystemnetworkinfo.html#CellDataTechnology-enum">QSystemNetworkInfo::UnknownDataTechnology</a> is returned.</p>
<p>This property was introduced in Qt Mobility 1.2.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QSystemNetworkInfo::CellDataTechnology </td><td class="memItemRight bottomAlign"><span class="name"><b>cellDataTechnology</b></span> ()</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qsystemnetworkinfo.html#cellDataTechnologyChanged">cellDataTechnologyChanged</a></b></span> ( QSystemNetworkInfo::CellDataTechnology <i>cellTech</i> )</td></tr>
</table>
<!-- @@@cellDataTechnology -->
<!-- $$$cellId-prop$$$cellId$$$cellIdChangedint -->
<h3 class="fn"><a name="cellId-prop"></a><span class="name">cellId</span> : const <span class="type">int</span></h3>
<p>This property holds the devices Cell ID.</p>
<p>Returns the Cell ID of the connected tower or based station. -1 is returned if not available or on error.</p>
<p>This property was introduced in Qt Mobility 1.2.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>cellId</b></span> ()</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qsystemnetworkinfo.html#cellIdChanged">cellIdChanged</a></b></span> ( int <i>cellId</i> )</td></tr>
</table>
<!-- @@@cellId -->
<!-- $$$currentMobileCountryCode-prop$$$currentMobileCountryCode$$$currentMobileCountryCodeChangedconstQString& -->
<h3 class="fn"><a name="currentMobileCountryCode-prop"></a><span class="name">currentMobileCountryCode</span> : const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span></h3>
<p>This property holds the current MCC.</p>
<p>Returns the current Mobile Country Code. An empty string is returned if not available or on error.</p>
<p>This property was introduced in Qt Mobility 1.0.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QString </td><td class="memItemRight bottomAlign"><span class="name"><b>currentMobileCountryCode</b></span> ()</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qsystemnetworkinfo.html#currentMobileCountryCodeChanged">currentMobileCountryCodeChanged</a></b></span> ( const QString &amp; <i>mcc</i> )</td></tr>
</table>
<!-- @@@currentMobileCountryCode -->
<!-- $$$currentMobileNetworkCode-prop$$$currentMobileNetworkCode$$$currentMobileNetworkCodeChangedconstQString& -->
<h3 class="fn"><a name="currentMobileNetworkCode-prop"></a><span class="name">currentMobileNetworkCode</span> : const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span></h3>
<p>This property holds the current MNC.</p>
<p>Returns the current Mobile Network Code. An empty string is returned if not available or on error.</p>
<p>This property was introduced in Qt Mobility 1.0.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QString </td><td class="memItemRight bottomAlign"><span class="name"><b>currentMobileNetworkCode</b></span> ()</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qsystemnetworkinfo.html#currentMobileNetworkCodeChanged">currentMobileNetworkCodeChanged</a></b></span> ( const QString &amp; <i>mnc</i> )</td></tr>
</table>
<!-- @@@currentMobileNetworkCode -->
<!-- $$$currentMode-prop$$$currentMode -->
<h3 class="fn"><a name="currentMode-prop"></a><span class="name">currentMode</span> : const <span class="type"><a href="qsystemnetworkinfo.html#NetworkMode-enum">QSystemNetworkInfo::NetworkMode</a></span></h3>
<p>Returns the current active network mode. If more than one mode is active, returns the default or preferred mode. If no modes are active, returns <a href="qsystemnetworkinfo.html#NetworkMode-enum">UnknownMode</a>.</p>
<p>This property was introduced in Qt Mobility 1.0.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QSystemNetworkInfo::NetworkMode </td><td class="memItemRight bottomAlign"><span class="name"><b>currentMode</b></span> ()</td></tr>
</table>
<!-- @@@currentMode -->
<!-- $$$homeMobileCountryCode-prop$$$homeMobileCountryCode -->
<h3 class="fn"><a name="homeMobileCountryCode-prop"></a><span class="name">homeMobileCountryCode</span> : const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span></h3>
<p>This property holds the home MNC.</p>
<p>Returns the home Mobile Country Code. An empty string is returned if not available or on error.</p>
<p>This property was introduced in Qt Mobility 1.0.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QString </td><td class="memItemRight bottomAlign"><span class="name"><b>homeMobileCountryCode</b></span> ()</td></tr>
</table>
<!-- @@@homeMobileCountryCode -->
<!-- $$$homeMobileNetworkCode-prop$$$homeMobileNetworkCode -->
<h3 class="fn"><a name="homeMobileNetworkCode-prop"></a><span class="name">homeMobileNetworkCode</span> : const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span></h3>
<p>This property holds the home MCC.</p>
<p>Returns the home Mobile Network Code. An empty string is returned if not available or on error.</p>
<p>This property was introduced in Qt Mobility 1.0.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QString </td><td class="memItemRight bottomAlign"><span class="name"><b>homeMobileNetworkCode</b></span> ()</td></tr>
</table>
<!-- @@@homeMobileNetworkCode -->
<!-- $$$locationAreaCode-prop$$$locationAreaCode -->
<h3 class="fn"><a name="locationAreaCode-prop"></a><span class="name">locationAreaCode</span> : const <span class="type">int</span></h3>
<p>This property holds the LAC.</p>
<p>Returns the location area code of the current cellular radio network. -1 is returned if not available or on error.</p>
<p>This property was introduced in Qt Mobility 1.0.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>locationAreaCode</b></span> ()</td></tr>
</table>
<!-- @@@locationAreaCode -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QSystemNetworkInfo[overload1]$$$QSystemNetworkInfoQObject* -->
<h3 class="fn"><a name="QSystemNetworkInfo"></a>QSystemNetworkInfo::<span class="name">QSystemNetworkInfo</span> ( <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 <a href="qsystemnetworkinfo.html">QSystemNetworkInfo</a> with the given <i>parent</i>.</p>
<!-- @@@QSystemNetworkInfo -->
<!-- $$$~QSystemNetworkInfo[overload1]$$$~QSystemNetworkInfo -->
<h3 class="fn"><a name="dtor.QSystemNetworkInfo"></a>QSystemNetworkInfo::<span class="name">~QSystemNetworkInfo</span> ()</h3>
<p>Destroys the <a href="qsystemnetworkinfo.html">QSystemNetworkInfo</a> object.</p>
<!-- @@@~QSystemNetworkInfo -->
<!-- $$$cellDataTechnologyChanged[overload1]$$$cellDataTechnologyChangedQSystemNetworkInfo::CellDataTechnology -->
<h3 class="fn"><a name="cellDataTechnologyChanged"></a><span class="type">void</span> QSystemNetworkInfo::<span class="name">cellDataTechnologyChanged</span> ( <span class="type"><a href="qsystemnetworkinfo.html#CellDataTechnology-enum">QSystemNetworkInfo::CellDataTechnology</a></span> <i>cellTech</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted whenever the cellular technology changes, specified by <i>cellTech</i>.</p>
<p>This function was introduced in Qt Mobility 1.2.</p>
<!-- @@@cellDataTechnologyChanged -->
<!-- $$$cellIdChanged[overload1]$$$cellIdChangedint -->
<h3 class="fn"><a name="cellIdChanged"></a><span class="type">void</span> QSystemNetworkInfo::<span class="name">cellIdChanged</span> ( <span class="type">int</span> <i>cellId</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted whenever the network cell changes, specified by <i>cellId</i>.</p>
<p>This function was introduced in Qt Mobility 1.2.</p>
<!-- @@@cellIdChanged -->
<!-- $$$currentMobileCountryCodeChanged[overload1]$$$currentMobileCountryCodeChangedconstQString& -->
<h3 class="fn"><a name="currentMobileCountryCodeChanged"></a><span class="type">void</span> QSystemNetworkInfo::<span class="name">currentMobileCountryCodeChanged</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> &amp; <i>mcc</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted whenever the Mobile Country Code changes, specified by <i>mcc</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@currentMobileCountryCodeChanged -->
<!-- $$$currentMobileNetworkCodeChanged[overload1]$$$currentMobileNetworkCodeChangedconstQString& -->
<h3 class="fn"><a name="currentMobileNetworkCodeChanged"></a><span class="type">void</span> QSystemNetworkInfo::<span class="name">currentMobileNetworkCodeChanged</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> &amp; <i>mnc</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted whenever the network Mobile Network Code changes, specified by <i>mnc</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@currentMobileNetworkCodeChanged -->
<!-- $$$interfaceForMode[overload1]$$$interfaceForModeQSystemNetworkInfo::NetworkMode -->
<h3 class="fn"><a name="interfaceForMode"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qnetworkinterface.html">QNetworkInterface</a></span> QSystemNetworkInfo::<span class="name">interfaceForMode</span> ( <span class="type"><a href="qsystemnetworkinfo.html#NetworkMode-enum">QSystemNetworkInfo::NetworkMode</a></span> <i>mode</i> )</h3>
<p>Returns the first found <a href="http://qt.nokia.com/doc/4.7/qnetworkinterface.html">QNetworkInterface</a> for type <i>mode</i>. If none is found, or it can't be represented by <a href="http://qt.nokia.com/doc/4.7/qnetworkinterface.html">QNetworkInterface</a> (e.g&#x2e; Bluetooth), an invalid <a href="http://qt.nokia.com/doc/4.7/qnetworkinterface.html">QNetworkInterface</a> object is returned.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@interfaceForMode -->
<!-- $$$macAddress[overload1]$$$macAddressQSystemNetworkInfo::NetworkMode -->
<h3 class="fn"><a name="macAddress"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> QSystemNetworkInfo::<span class="name">macAddress</span> ( <span class="type"><a href="qsystemnetworkinfo.html#NetworkMode-enum">QSystemNetworkInfo::NetworkMode</a></span> <i>mode</i> )</h3>
<p>Returns the MAC address for the interface servicing the network <i>mode</i>. An empty string is returned if not available or on error.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@macAddress -->
<!-- $$$networkModeChanged[overload1]$$$networkModeChangedQSystemNetworkInfo::NetworkMode -->
<h3 class="fn"><a name="networkModeChanged"></a><span class="type">void</span> QSystemNetworkInfo::<span class="name">networkModeChanged</span> ( <span class="type"><a href="qsystemnetworkinfo.html#NetworkMode-enum">QSystemNetworkInfo::NetworkMode</a></span> <i>mode</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted whenever the network mode changes, specified by <i>mode</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@networkModeChanged -->
<!-- $$$networkName[overload1]$$$networkNameQSystemNetworkInfo::NetworkMode -->
<h3 class="fn"><a name="networkName"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> QSystemNetworkInfo::<span class="name">networkName</span> ( <span class="type"><a href="qsystemnetworkinfo.html#NetworkMode-enum">QSystemNetworkInfo::NetworkMode</a></span> <i>mode</i> )<tt> [static]</tt></h3>
<p>Returns the name of the operator for the network <i>mode</i>. An empty string is returned if not available or on error.</p>
<p>For WLAN this returns the network's current SSID.</p>
<p><b>Warning:</b> On Symbian this function is not reentrant and must be used from main thread only.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@networkName -->
<!-- $$$networkNameChanged[overload1]$$$networkNameChangedQSystemNetworkInfo::NetworkModeconstQString& -->
<h3 class="fn"><a name="networkNameChanged"></a><span class="type">void</span> QSystemNetworkInfo::<span class="name">networkNameChanged</span> ( <span class="type"><a href="qsystemnetworkinfo.html#NetworkMode-enum">QSystemNetworkInfo::NetworkMode</a></span> <i>mode</i>, const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> &amp; <i>name</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted whenever the network <i>mode</i> name changes, specified by <i>name</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@networkNameChanged -->
<!-- $$$networkSignalStrength[overload1]$$$networkSignalStrengthQSystemNetworkInfo::NetworkMode -->
<h3 class="fn"><a name="networkSignalStrength"></a><span class="type">int</span> QSystemNetworkInfo::<span class="name">networkSignalStrength</span> ( <span class="type"><a href="qsystemnetworkinfo.html#NetworkMode-enum">QSystemNetworkInfo::NetworkMode</a></span> <i>mode</i> )<tt> [static]</tt></h3>
<p>Returns the strength of the network signal, per network <i>mode</i> , 0 - 100 linear scaling. -1 is returned if not available or on error.</p>
<p><b>Warning:</b> On Symbian this function is not reentrant and must be used from main thread only.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@networkSignalStrength -->
<!-- $$$networkSignalStrengthChanged[overload1]$$$networkSignalStrengthChangedQSystemNetworkInfo::NetworkModeint -->
<h3 class="fn"><a name="networkSignalStrengthChanged"></a><span class="type">void</span> QSystemNetworkInfo::<span class="name">networkSignalStrengthChanged</span> ( <span class="type"><a href="qsystemnetworkinfo.html#NetworkMode-enum">QSystemNetworkInfo::NetworkMode</a></span> <i>mode</i>, <span class="type">int</span> <i>strength</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted whenever the network <i>mode</i> signal strength changes, specified by <i>strength</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@networkSignalStrengthChanged -->
<!-- $$$networkStatus[overload1]$$$networkStatusQSystemNetworkInfo::NetworkMode -->
<h3 class="fn"><a name="networkStatus"></a><span class="type"><a href="qsystemnetworkinfo.html#NetworkStatus-enum">QSystemNetworkInfo::NetworkStatus</a></span> QSystemNetworkInfo::<span class="name">networkStatus</span> ( <span class="type"><a href="qsystemnetworkinfo.html#NetworkMode-enum">QSystemNetworkInfo::NetworkMode</a></span> <i>mode</i> )</h3>
<p>Returns the status of the network <i>mode</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@networkStatus -->
<!-- $$$networkStatusChanged[overload1]$$$networkStatusChangedQSystemNetworkInfo::NetworkModeQSystemNetworkInfo::NetworkStatus -->
<h3 class="fn"><a name="networkStatusChanged"></a><span class="type">void</span> QSystemNetworkInfo::<span class="name">networkStatusChanged</span> ( <span class="type"><a href="qsystemnetworkinfo.html#NetworkMode-enum">QSystemNetworkInfo::NetworkMode</a></span> <i>mode</i>, <span class="type"><a href="qsystemnetworkinfo.html#NetworkStatus-enum">QSystemNetworkInfo::NetworkStatus</a></span> <i>status</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted whenever the network status of <i>mode</i> changes, specified by <i>status</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@networkStatusChanged -->
</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>