QBluetoothTransferRequest
Since: 1.2
#include <QtConnectivity/QBluetoothTransferRequest>
More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QBluetoothTransferRequest
The QBluetoothTransferRequest class holds a request to be sent with QBluetoothTransferManager.
QBluetoothTransferRequest is part of the Bluetooth Transfer API and is the class holding the information necessary to initiate a transfer over Bluetooth.
Overview
Public Types Index
enum AttributeDescriptionAttribute, TimeAttribute, TypeAttribute, LengthAttribute, NameAttribute |
Protected Attributes Index
QBluetoothTransferRequestPrivate * | d_ptr |
Public Functions Index
QBluetoothTransferRequest (const QBluetoothAddress &address) | |
QBluetoothTransferRequest (const QBluetoothTransferRequest &other) | |
~QBluetoothTransferRequest () | |
QBluetoothAddress | address () const |
QVariant | attribute (Attribute code, const QVariant &defaultValue=QVariant()) const |
bool | operator!= (const QBluetoothTransferRequest &other) const |
QBluetoothTransferRequest & | operator= (const QBluetoothTransferRequest &other) |
bool | operator== (const QBluetoothTransferRequest &other) const |
void | setAttribute (Attribute code, const QVariant &value) |
Public Types
Attribute codes for QBluetoothTransferRequest and QBluetoothTransferReply.
DescriptionAttribute A textural description of the object being transferred. May be display in the UI of the remote device. TimeAttribute Time attribute of the object being transferred. TypeAttribute MIME type of the object being transferred. LengthAttribute Length in bytes of the object being transferred. NameAttribute Name of the object being transferred. May be displayed in the UI of the remote device.
- DescriptionAttribute
- TimeAttribute
- TypeAttribute
- LengthAttribute
- NameAttribute
Protected Attributes
QBluetoothTransferRequestPrivate *
Public Functions
Constructs a new Bluetooth transfer request to the device with address address.
Constructs a new Bluetooth transfer request that is a copy of other.
Destructor.
QBluetoothAddress
Returns the address associated with the Bluetooth transfer request.
QVariant
Returns the attribute associated with code code.
QBluetoothTransferRequest &
Creates a copy of other.
bool
Returns true if this object is the same as other.
void
Sets the attribute associated with code code to be value value.
If the attribute is already set, the previous value is discarded. If value is an invalid QVariant, the attribute is unset.
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy