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

BluetoothServiceManager Class Reference

The BluetoothServiceManager class controls Bluetooth services. More...

    #include <BluetoothServiceManager>

Inherits QObject.

Public Functions

Additional Inherited Members

Detailed Description

The BluetoothServiceManager class controls Bluetooth services.

The Bluetooth Service Manager communicates over IPC with the Bluetooth services in order to control and track their states and attributes. It also communicates with other parties, such as the Bluetooth settings application, who are interested in controlling and tracking Bluetooth services.

The presence of the Bluetooth Service Manager provides several benefits:

Without the presence of the Bluetooth Service Manager, components such as the QBluetoothServiceController class and the Bluetooth settings application will not function properly, as they rely on communication with the Bluetooth Service Manager in order to access and control Bluetooth services.

You can create custom Bluetooth services that will be automatically integrated into the Qt Extended Bluetooth framework, and which will be accessible by the Bluetooth Service Manager, by subclassing QBluetoothAbstractService. This is how the built-in Bluetooth services, such as QBluetoothHandsfreeService and QbluetoothHeadsetServices, are implemented.

The manager stores persistent service settings in BluetoothServices.conf. A default configuration file is provided at etc/default/Trolltech/BluetoothServices.conf. This can be modified to provide default settings for services.

See the Bluetooth Service Management Framework page for more details on the Bluetooth Service Manager's communication architecture.

This class is part of the Qt Extended server and cannot be used by other QtopiaApplications.

Member Function Documentation

BluetoothServiceManager::BluetoothServiceManager ( QObject * parent = 0 )

Constructs a BluetoothServiceManager with the given parent.

BluetoothServiceManager::~BluetoothServiceManager ()


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3