Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The BluetoothFileSendService class runs a BluetoothPush service and provides updates regarding the progress of each file transfer request that is sent through the service. More...
#include <BluetoothFileSendService>
Inherits FileTransferTask.
The BluetoothFileSendService class runs a BluetoothPush service and provides updates regarding the progress of each file transfer request that is sent through the service.
A unique ID is generated for each request that is sent through the BluetoothPush service. This ID is used to provide transfer updates through the outgoingTransferStarted(), transferProgress() and transferFinished() signals. The ID can also be used to cancel transfers using abortTransfer().
Note: This class is part of the Qt Extended server and cannot be used by other Qt Extended applications.
Creates a service with parent object parent.
Destroys the service.
This signal is emitted when a transfer request begins. The id uniquely identifies the transfer, as provided by FileTransferTask::BluetoothFileSendService::nextTransferId(). The name, mimeType and description are respectively set to the Name, Type and Description metadata values that will be sent in the request.
This signal is emitted when the transfer identified by id is finished. error is true if the transfer failed, and aborted is true if the transfer was aborted following a call to abortRequest().
This signal is emitted to indicate the progress of the transfer identified by id. done is the amount of data that has already been sent, and total is the total amount of data to be sent. If the total amount cannot be determined, total is set to 0.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |