Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QGprsNetworkRegistrationServer Class Reference
[QtTelephonyModule]

The QGprsNetworkRegistrationServer class provides server-side support for updating the GPRS network registration state. More...

    #include <QGprsNetworkRegistrationServer>

Inherits QGprsNetworkRegistration.

Inherited by QModemGprsNetworkRegistration.

Public Functions

Protected Functions

Additional Inherited Members


Detailed Description

The QGprsNetworkRegistrationServer class provides server-side support for updating the GPRS network registration state.

A telephony service that supports GPRS network registration should create an instance of this class and call updateRegistrationState() whenever the GPRS network registration parameters change.

See also QGprsNetworkRegistration and QCommInterface.


Member Function Documentation

QGprsNetworkRegistrationServer::QGprsNetworkRegistrationServer ( const QString & service, QObject * parent = 0 )

Construct a server-side GPRS network registration object for service and attach it to parent.

QGprsNetworkRegistrationServer::~QGprsNetworkRegistrationServer ()

Destroy this GPRS network registration server object.

void QGprsNetworkRegistrationServer::updateRegistrationState ( QTelephony::RegistrationState state )   [protected]

Update the registration state and notify all interested clients if it is different than the previous value. The locationAreaCode() and cellId() will be set to -1.

See also QGprsNetworkRegistration::registrationState() and QGprsNetworkRegistration::registrationStateChanged().

void QGprsNetworkRegistrationServer::updateRegistrationState ( QTelephony::RegistrationState state, int locationAreaCode, int cellId )   [protected]

This is an overloaded member function, provided for convenience.

Update the registration state, locationAreaCode, and cellId, and notify all interested clients if they are different than the previous values.

See also QGprsNetworkRegistration::registrationState(), QGprsNetworkRegistration::locationAreaCode(), QGprsNetworkRegistration::cellId(), QGprsNetworkRegistration::registrationStateChanged(), and QGprsNetworkRegistration::locationChanged().


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3