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

QNetworkRegistrationServer Class Reference
[QtTelephonyModule]

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

    #include <QNetworkRegistrationServer>

Inherits QNetworkRegistration.

Inherited by QModemNetworkRegistration.

Public Functions

Protected Functions

Additional Inherited Members


Detailed Description

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

Most telephony services will need to implement the QNetworkRegistration interface to indicate when network service becomes available or is no longer available. The QNetworkRegistrationServer provides some utility routines to make it easier to implement the QNetworkRegistration interface within telephony services.

A telephony service that supports network registration should inherit from this class and call updateRegistrationState() and updateCurrentOperator() whenever the network parameters change. Telephony services should also override setCurrentOperator() and requestAvailableOperators().

See also QNetworkRegistration and QCommInterface.


Member Function Documentation

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

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

QNetworkRegistrationServer::~QNetworkRegistrationServer ()

Destroy this network registration server object.

void QNetworkRegistrationServer::updateCurrentOperator ( QTelephony::OperatorMode mode, const QString & id, const QString & name, const QString & technology )   [protected]

Update the current operator information to mode, id, name, and technology, and then notify all interested clients if the information is different than the previous values.

See also currentOperatorId(), currentOperatorName(), currentOperatorMode(), currentOperatorTechnology(), and currentOperatorChanged().

void QNetworkRegistrationServer::updateInitialized ( bool value )   [protected]

Update the state of initialized() to value and emit the initializedChanged() signal.

See also initialized() and initializedChanged().

void QNetworkRegistrationServer::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 registrationState(), registrationStateChanged(), locationAreaCode(), and cellId().

void QNetworkRegistrationServer::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 registrationState(), registrationStateChanged(), locationAreaCode(), and cellId().


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3