4#define QT_BLUETOOTH_BUILD_REMOVED_API
15#if QT_BLUETOOTH_REMOVED_SINCE(6
, 6
)
17#include "qbluetoothaddress.h"
19#include "qbluetoothuuid.h"
21static_assert(std::is_aggregate_v<quint128>);
22static_assert(std::is_trivial_v<quint128>);
28#ifdef QT_SUPPORTS_INT128
29# error This TU requires QT_NO_INT128 to be defined.
32QBluetoothUuid::QBluetoothUuid(quint128 uuid)
33 : QUuid(fromBytes(uuid.data))
36quint128 QBluetoothUuid::toUInt128()
const
39 const auto bytes = toBytes();
40 memcpy(uuid.data, bytes.data,
sizeof(uuid.data));
46QBluetoothUuid::QBluetoothUuid(
const QString &uuid)
47 : QUuid(qToAnyStringViewIgnoringNull(uuid))
51#ifndef QT_NO_DEBUG_STREAM
52QDebug QBluetoothUuid::streamingOperator(QDebug debug,
const QBluetoothUuid &uuid)
54 debug << uuid.toString();