Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QNetworkRegistration class provides information about network operators. More...
#include <QNetworkRegistration>
Inherits QCommInterface.
Inherited by QNetworkRegistrationServer.
|
|
The QNetworkRegistration class provides information about network operators.
The network registration information that is reported includes the registrationState(), currentOperatorId(), currentOperatorName(), currentOperatorMode(), and currentOperatorTechnology(). On GSM networks, the information may also include the locationAreaCode() and cellId() for the current cell.
All telephony services are expected to implement the QNetworkRegistration interface so that client applications can be made aware of when a service can be used to make phone calls or perform other telephony operations. For simple telephony services (e.g. VoIP providers), it is sufficient that registrationState() be either RegistrationNone or RegistrationHome to indicate when the network is registered.
See also QNetworkRegistrationServer and QCommInterface.
This property holds the GSM cell id, or .
Access functions:
This property holds the identifier of the current network operator.
Access functions:
This property holds the mode that the current network operator is operating in.
Access functions:
This property holds the name of the current network operator.
Access functions:
This property holds the technology used the current network operator.
Access functions:
This property holds true if the network registration service has initialized the modem.
Access functions:
This property holds the GSM location area code, or .
Access functions:
This property holds the current network registration state.
Access functions:
Construct a new network registration object for service and attach it to parent. The object will be created in client mode if mode is Client, or server mode otherwise.
If service is empty, this class will use the first available service that supports network registration. If there is more than one service that supports network registration, the caller should enumerate them with QCommServiceManager::supports() and create separate QNetworkRegistration objects for each.
See also QCommServiceManager::supports().
Destroy this network registration object.
Signal that is emitted when a requestAvailableOperators() request completes. The opers parameter contains the list of available operators.
See also requestAvailableOperators().
Signal that is emitted when the current operator information changes.
See also currentOperatorId(), currentOperatorName(), currentOperatorMode(), and currentOperatorTechnology().
Signal that is emitted when the state of initialized() changes.
See also initialized().
Signal that is emitted when the locationAreaCode() or cellId() changes.
If both the registrationState() and the location has changed, then registrationStateChanged() will be sent before locationChanged(), but the new location will already be available in slots connected to registrationStateChanged().
See also locationAreaCode() and cellId().
Signal that is emitted when the registration state changes.
See also registrationState().
Request a list of all available network operators. The server will respond with the availableOperators() signal.
The preferred operator list on the SIM card can be accessed with the QPreferredNetworkOperators class.
See also availableOperators() and QPreferredNetworkOperators.
Sets the current network operator information to mode, id, and technology. The server will respond with the setCurrentOperatorResult() signal when the request completes.
If the request succeeds, then the client may also receive the currentOperatorChanged() signal to indicate the newly selected values. The currentOperatorChanged() signal may be suppressed if the request succeeded, but the new values are the same as the previous ones.
See also setCurrentOperatorResult().
Signal that is emitted when a setCurrentOperator() request completes. The result parameter indicates the result of the request.
See also setCurrentOperator().
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |