QtMobility Reference Documentation

Contents

QBluetoothTransferManager Class Reference

The QBluetoothTransferManager class allows the application to send data objects to other devices. Currently implemented using OPP. More...

 #include <QBluetoothTransferManager>

Inherits QObject.

This class was introduced in Qt Mobility 1.2.

Public Types

enum Operation { GetOperation, PutOperation }

Public Functions

QBluetoothTransferManager ( QObject * parent = 0 )
~QBluetoothTransferManager ()
QBluetoothTransferReply * put ( const QBluetoothTransferRequest & request, QIODevice * data )

Signals

void finished ( QBluetoothTransferReply * reply )

Additional Inherited Members

Detailed Description

The QBluetoothTransferManager class allows the application to send data objects to other devices. Currently implemented using OPP.

QBluetoothTransferManager uses OBEX to send get and put commands to remote devices.

Member Type Documentation

enum QBluetoothTransferManager::Operation

This enum describes the type of operation that a transfer request is for.

ConstantValueDescription
QBluetoothTransferManager::GetOperation0The get operation is used to retrieve an object from a remote device. Not implemented.
QBluetoothTransferManager::PutOperation1The put operation is used to send an object to a remote device.

Member Function Documentation

QBluetoothTransferManager::QBluetoothTransferManager ( QObject * parent = 0 )

Constructs a new QBluetoothTransferManager with parent.

QBluetoothTransferManager::~QBluetoothTransferManager ()

Destroys the QBluetoothTransferManager.

void QBluetoothTransferManager::finished ( QBluetoothTransferReply * reply ) [signal]

This signal is emitted when the transfer for reply finishes.

QBluetoothTransferReply * QBluetoothTransferManager::put ( const QBluetoothTransferRequest & request, QIODevice * data )

Sends the contents of data to the remote device request and returns a new QBluetoothTransferReply, that can be used to track the request's progress.