MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

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 )
  • 29 public functions inherited from QObject

Signals

void finished ( QBluetoothTransferReply * reply )

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 1 public variable inherited from QObject
  • 4 static public members inherited from QObject
  • 7 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

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.

Constant Value Description
QBluetoothTransferManager::GetOperation 0 The get operation is used to retrieve an object from a remote device. Not implemented.
QBluetoothTransferManager::PutOperation 1 The 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.