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

QCommServiceManager Class Reference
[QtBaseModule]

The QCommServiceManager class provides a method to discover the active communications services and interfaces. More...

    #include <QCommServiceManager>

Inherits QAbstractIpcInterfaceGroupManager.

Public Functions

Signals

Additional Inherited Members


Detailed Description

The QCommServiceManager class provides a method to discover the active communications services and interfaces.

Each service has a unique name, such as GSM, VoIP, etc. Within each service is a list of interfaces for functionality areas, which have names such as QNetworkRegistration, QSMSSender, etc.

Interface names correspond to class names elsewhere in the Qt Extended Communications and Telephony API's. To use an interface, the caller creates an instance of the corresponding class. The caller can specify an explicit service name, if more than one service implements the same interface, or leave the service name empty to use the default service for that interface.

See the documentation for QAbstractIpcInterface for more information on writing and using interface classes.

See also QCommInterface.


Member Function Documentation

QCommServiceManager::QCommServiceManager ( QObject * parent = 0 )

Construct a new communications service manager and attach it to parent.

QCommServiceManager::~QCommServiceManager ()

Destroy this communications service manager.

void QCommServiceManager::serviceAdded ( const QString & service )   [signal]

Signal that is emitted when service is added. A service is considered to have been added when its first interface is constructed.

See also services().

void QCommServiceManager::serviceRemoved ( const QString & service )   [signal]

Signal that is emitted when service is removed. A service is considered to have been removed when its last interface is deleted.

See also services().

QStringList QCommServiceManager::services () const

Get the list of all services that are currently active within the system.

See also servicesChanged(), serviceAdded(), and serviceRemoved().

void QCommServiceManager::servicesChanged ()   [signal]

Signal that is emitted when the list of services changes, if the interfaces on a service has changed, or if the priority assignments have changed.

See also services().


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3