summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothsocket_osx_p.h
diff options
context:
space:
mode:
authorKevin Funk <kfunk@kde.org>2017-09-20 20:57:38 +0200
committerKevin Funk <kevin.funk@kdab.com>2017-09-22 07:30:19 +0000
commit38e561011bb248ae9b803084eb66824588c7b22a (patch)
tree27978ec6400b43d03fa87ba6c9536e158993f4e2 /src/bluetooth/qbluetoothsocket_osx_p.h
parentdbb8f97bf3e3a50c6841ab79bbf4b5d6294b8d65 (diff)
Replace Q_DECL_OVERRIDE with override
Change-Id: I1c1f2c3cf273cde5030d54901db554cb52e66557 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/bluetooth/qbluetoothsocket_osx_p.h')
-rw-r--r--src/bluetooth/qbluetoothsocket_osx_p.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bluetooth/qbluetoothsocket_osx_p.h b/src/bluetooth/qbluetoothsocket_osx_p.h
index 732d31aa..ce376702 100644
--- a/src/bluetooth/qbluetoothsocket_osx_p.h
+++ b/src/bluetooth/qbluetoothsocket_osx_p.h
@@ -104,7 +104,7 @@ public:
quint16 peerPort() const;
void _q_readNotify();
- void _q_writeNotify() Q_DECL_OVERRIDE;
+ void _q_writeNotify() override;
private:
// Create a socket from an external source (without connectToService).
@@ -112,11 +112,11 @@ private:
bool setChannel(IOBluetoothL2CAPChannel *channel);
// L2CAP and RFCOMM delegate
- void setChannelError(IOReturn errorCode) Q_DECL_OVERRIDE;
- void channelOpenComplete() Q_DECL_OVERRIDE;
- void channelClosed() Q_DECL_OVERRIDE;
- void readChannelData(void *data, std::size_t size) Q_DECL_OVERRIDE;
- void writeComplete() Q_DECL_OVERRIDE;
+ void setChannelError(IOReturn errorCode) override;
+ void channelOpenComplete() override;
+ void channelClosed() override;
+ void readChannelData(void *data, std::size_t size) override;
+ void writeComplete() override;
qint64 writeData(const char *data, qint64 maxSize);
qint64 readData(char *data, qint64 maxSize);