Qt Simulator Manual 1.2.0

NetworkSystemInfoScriptInterface Class Reference

Exposed as sysinfo.network. More...

 #include <NetworkSystemInfoScriptInterface>

Public Types

enum NetworkMode { UnknownMode, GsmMode, CdmaMode, WcdmaMode, ..., WimaxMode }
enum NetworkStatus { UndefinedStatus, NoNetworkAvailable, EmergencyOnly, Searching, ..., Roaming }

Properties

Public Functions

NetworkSystemInfoScriptInterface ( NetworkSystemInfoUi * ui )
virtual ~NetworkSystemInfoScriptInterface ()
int cellId () const
QString currentMobileCountryCode () const
QString currentMobileNetworkCode () const
NetworkMode currentMode () const
QString homeMobileCountryCode () const
QString homeMobileNetworkCode () const
int locationAreaCode () const
QString macAddress ( NetworkMode m ) const
QString networkName ( NetworkMode m ) const
qint32 networkSignalStrength ( NetworkMode m ) const
NetworkStatus networkStatus ( NetworkMode m ) const

Public Slots

void setCellId ( int id )
void setCurrentMobileCountryCode ( const QString & code )
void setCurrentMobileNetworkCode ( const QString & code )
void setCurrentMode ( NetworkSystemInfoScriptInterface::NetworkMode m )
void setHomeMobileCountryCode ( const QString & code )
void setHomeMobileNetworkCode ( const QString & code )
void setLocationAreaCode ( int code )
void setNetworkMacAddress ( NetworkSystemInfoScriptInterface::NetworkMode m, const QString & mac )
void setNetworkName ( NetworkSystemInfoScriptInterface::NetworkMode m, const QString & name )
void setNetworkSignalStrength ( NetworkSystemInfoScriptInterface::NetworkMode m, qint32 strength )
void setNetworkStatus ( NetworkSystemInfoScriptInterface::NetworkMode m, NetworkSystemInfoScriptInterface::NetworkStatus status )

Detailed Description

Exposed as sysinfo.network.

Member Type Documentation

enum NetworkSystemInfoScriptInterface::NetworkMode

enum NetworkSystemInfoScriptInterface::NetworkStatus

Property Documentation

cellId : int

Access functions:

int cellId () const
void setCellId ( int id )

currentMobileCountryCode : QString

Access functions:

QString currentMobileCountryCode () const
void setCurrentMobileCountryCode ( const QString & code )

currentMobileNetworkCode : QString

Access functions:

QString currentMobileNetworkCode () const
void setCurrentMobileNetworkCode ( const QString & code )

currentMode : NetworkMode

Access functions:

NetworkMode currentMode () const
void setCurrentMode ( NetworkSystemInfoScriptInterface::NetworkMode m )

homeMobileCountryCode : QString

Access functions:

QString homeMobileCountryCode () const
void setHomeMobileCountryCode ( const QString & code )

homeMobileNetworkCode : QString

Access functions:

QString homeMobileNetworkCode () const
void setHomeMobileNetworkCode ( const QString & code )

locationAreaCode : int

Access functions:

int locationAreaCode () const
void setLocationAreaCode ( int code )

Member Function Documentation

NetworkSystemInfoScriptInterface::NetworkSystemInfoScriptInterface ( NetworkSystemInfoUi * ui )

NetworkSystemInfoScriptInterface::~NetworkSystemInfoScriptInterface () [virtual]

QString NetworkSystemInfoScriptInterface::macAddress ( NetworkMode m ) const

QString NetworkSystemInfoScriptInterface::networkName ( NetworkMode m ) const

See also setNetworkName().

qint32 NetworkSystemInfoScriptInterface::networkSignalStrength ( NetworkMode m ) const

See also setNetworkSignalStrength().

NetworkStatus NetworkSystemInfoScriptInterface::networkStatus ( NetworkMode m ) const

See also setNetworkStatus().

void NetworkSystemInfoScriptInterface::setNetworkMacAddress ( NetworkSystemInfoScriptInterface::NetworkMode m, const QString & mac ) [slot]

void NetworkSystemInfoScriptInterface::setNetworkName ( NetworkSystemInfoScriptInterface::NetworkMode m, const QString & name ) [slot]

See also networkName().

void NetworkSystemInfoScriptInterface::setNetworkSignalStrength ( NetworkSystemInfoScriptInterface::NetworkMode m, qint32 strength ) [slot]

See also networkSignalStrength().

void NetworkSystemInfoScriptInterface::setNetworkStatus ( NetworkSystemInfoScriptInterface::NetworkMode m, NetworkSystemInfoScriptInterface::NetworkStatus status ) [slot]

See also networkStatus().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.

[0]; s.parentNode.insertBefore(ga, s); })();