Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QBluetoothServiceController class provides a means to control and access information for Qt Extended Bluetooth services. More...
#include <QBluetoothServiceController>
Inherits QObject.
The QBluetoothServiceController class provides a means to control and access information for Qt Extended Bluetooth services.
This class allows the programmer to start and stop Qt Extended Bluetooth services, set their security options, and view a service's attributes, such as its state, name and security options.
Qt Extended has a number of built-in Bluetooth services, as found in the Bluetooth settings application. Any of these services can be controlled through an instance of QBluetoothServiceController. You can also create your own Qt Extended Bluetooth services that will be controllable through this interface; simply subclass QBluetoothAbstractService. (See the QBluetoothAbstractService class documentation for more details.)
Defines the possible states for a service which may be returned from state().
Constant | Value | Description |
---|---|---|
QBluetoothServiceController::NotRunning | 0 | The service is not running. |
QBluetoothServiceController::Starting | 1 | The service is starting. |
QBluetoothServiceController::Running | 2 | The service is running. |
Constructs a QBluetoothServiceController with parent object parent.
Destroys a QBluetoothServiceController.
Returns the user-friendly, internationalized display name for the service named name.
Returns the security options for the service named name.
See also setSecurityOptions().
Returns a list of the names of all known Bluetooth services within Qtopia.
Sets the security options for the service with name name to the given options.
See also securityOptions().
Starts the service named name.
The started() signal will be emitted when the service has started.
See also stop().
This signal is emitted when the service named name has started or failed while attempting to start. If there was a failure, error is true and description provides the human-readable error description.
See also start() and stopped().
Returns the state of the service named name.
See also stopped() and started().
Stops the service named name.
The stopped() signal will be emitted when the service has stopped.
See also start().
This signal is emitted when the service named name has stopped.
See also stop() and started().
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |