@@ -72,18 +72,18 @@ class Q_USB_EXPORT QUsbEndpoint : public QIODevice
72
72
explicit QUsbEndpoint (QUsbDevice *dev, Type type, quint8 ep);
73
73
~QUsbEndpoint ();
74
74
75
- bool open (QIODevice::OpenMode mode);
76
- void close ();
75
+ bool open (QIODevice::OpenMode mode) override ;
76
+ void close () override ;
77
77
Type type () const ;
78
78
79
79
quint8 endpoint () const ;
80
80
Status status () const ;
81
- bool isSequential () const ;
81
+ bool isSequential () const override ;
82
82
83
- qint64 bytesAvailable () const ;
84
- qint64 bytesToWrite () const ;
85
- bool waitForBytesWritten (int msecs);
86
- bool waitForReadyRead (int msecs);
83
+ qint64 bytesAvailable () const override ;
84
+ qint64 bytesToWrite () const override ;
85
+ bool waitForBytesWritten (int msecs) override ;
86
+ bool waitForReadyRead (int msecs) override ;
87
87
88
88
void makeControlPacket (char *buffer,
89
89
QUsbEndpoint::bmRequestType bmRequestType,
@@ -101,8 +101,8 @@ public Q_SLOTS:
101
101
void error (QUsbEndpoint::Status error);
102
102
103
103
protected:
104
- qint64 readData (char *data, qint64 maxSize);
105
- qint64 writeData (const char *data, qint64 maxSize);
104
+ qint64 readData (char *data, qint64 maxSize) override ;
105
+ qint64 writeData (const char *data, qint64 maxSize) override ;
106
106
107
107
private:
108
108
QUsbEndpointPrivate *const d_dummy;
0 commit comments