Home · All Classes · Grouped Classes · Annotated · Functions

BluetoothPushingService Class Reference

Provides the Qtopia BluetoothPush service. More...

    #include <BluetoothPushingService>

Inherits QtopiaAbstractService.

Public Slots

Additional Inherited Members


Detailed Description

Provides the Qtopia BluetoothPush service.

The BluetoothPush service enables applications to send files over the Bluetooth link. This service takes care of user interaction to select a device to send to (if required), looking up the SDP record of the device to find out the RFCOMM channel to connect to, establishing the connection to the remote service, tracking progress and notifying the user of events that occur during the transmission.


Member Function Documentation

void BluetoothPushingService::pushBusinessCard ( const QContact & contact )   [slot]

Asks the service to send the business card represented by contact.

See also pushPersonalBusinessCard().

void BluetoothPushingService::pushBusinessCard ( const QDSActionRequest & request )   [slot]

This is an overloaded member function, provided for convenience.

Asks the service to send the business card represented by request. The request object should contain raw serialized QContact data.

See also pushPersonalBusinessCard().

void BluetoothPushingService::pushCalendar ( const QDSActionRequest & request )   [slot]

Asks the service to beam a vCalendar object represented by request. The request object should contain raw serialized QTask or QAppointment data.

See also pushBusinessCard().

void BluetoothPushingService::pushFile ( const QString & fileName, const QString & mimeType, const QString & description, bool autodelete )   [slot]

Asks the service to send fileName to the remote device. Mimetype of the file is given by mimeType. The autodelete parameter specifies whether the service should delete the file after it has performed the operation. The description parameter holds the optional description of the file.

void BluetoothPushingService::pushFile ( const QContentId & id )   [slot]

This is an overloaded member function, provided for convenience.

Asks the service to beam a fileName represented by id. A QContent object is built using the id. The fileName and mimeType are then inferred from the QContent object.

void BluetoothPushingService::pushFile ( const QBluetoothAddress & addr, const QContentId & id )   [slot]

This is an overloaded member function, provided for convenience.

Asks the service to beam a fileName represented by id. A QContent object is built using the id. The fileName and mimeType are then inferred from the QContent object.

The user will not be prompted to select a device to send to, instead the device at address addr will be used.

void BluetoothPushingService::pushPersonalBusinessCard ()   [slot]

Asks the service to send the currently set personal business card to a remote device. If no business card is set, the user will be notified appropriately.

See also pushBusinessCard().

void BluetoothPushingService::pushPersonalBusinessCard ( const QBluetoothAddress & addr )   [slot]

This is an overloaded member function, provided for convenience.

Asks the service to beam the currently set personal business card to a remote device. If no business card is set, the user will be notified appropriately.

The user will not be prompted to select a remote device to send to, instead the a device with address given by addr will be used.

See also pushPersonalBusinessCard().


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3