QNetworkRegistration Class Reference
|
|
|
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().
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com