Detailed Description
The QGprsNetworkRegistration class provides information about GPRS network registration.
The QNetworkRegistration class provides information about general GSM network registration. The QGprsNetworkRegistration class provides information about an ongoing GPRS session.
See also QNetworkRegistration, QGprsNetworkRegistrationServer, and QCommInterface.
Property Documentation
cellId : const int
This property holds the GSM cell id, or .
Access functions:
locationAreaCode : const int
This property holds the GSM location area code, or .
Access functions:
- int locationAreaCode () const
This property holds the current GPRS network registration state.
Access functions:
- QTelephony::RegistrationState registrationState () const
Member Function Documentation
QGprsNetworkRegistration::QGprsNetworkRegistration ( const QString & service = QString(), QObject * parent = 0, QCommInterface::Mode mode = Client )
Construct a new GPRS 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 GPRS network registration. If there is more than one service that supports GPRS network registration, the caller should enumerate them with QCommServiceManager::supports() and create separate QGprsNetworkRegistration objects for each.
See also QCommServiceManager::supports().
QGprsNetworkRegistration::~QGprsNetworkRegistration ()
Destroy this GPRS network registration object.
void QGprsNetworkRegistration::locationChanged () [signal]
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().
void QGprsNetworkRegistration::registrationStateChanged () [signal]
Signal that is emitted when the registration state changes.
See also registrationState().