diff options
Diffstat (limited to 'src/bluetooth/qbluetoothuuid.h')
-rw-r--r-- | src/bluetooth/qbluetoothuuid.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothuuid.h b/src/bluetooth/qbluetoothuuid.h index 28b08583..25c7896c 100644 --- a/src/bluetooth/qbluetoothuuid.h +++ b/src/bluetooth/qbluetoothuuid.h @@ -58,6 +58,7 @@ struct quint128 class Q_BLUETOOTH_EXPORT QBluetoothUuid : public QUuid { public: + //TODO Qt 6: Convert enums to scoped enums (see QTBUG-65831) enum ProtocolUuid { Sdp = 0x0001, Udp = 0x0002, @@ -381,6 +382,8 @@ public: bool operator==(const QBluetoothUuid &other) const; bool operator!=(const QBluetoothUuid &other) const { return !operator==(other); } + QBluetoothUuid &operator=(const QBluetoothUuid &other) = default; + int minimumSize() const; quint16 toUInt16(bool *ok = nullptr) const; |