summaryrefslogtreecommitdiff
path: root/src/imports/qmlwebsockets/qqmlwebsocket.h
diff options
context:
space:
mode:
authorJesus Fernandez <jesus.fernandez@qt.io>2018-08-10 09:31:56 +0200
committerJesus Fernandez <Jesus.Fernandez@qt.io>2018-08-10 07:49:23 +0000
commit6c58fa8980a2c783d9eca34aa482b74ac60a940a (patch)
treea3b266ced2cfa8d5653b5cf903009c5489d9b57a /src/imports/qmlwebsockets/qqmlwebsocket.h
parent84796004f5222f89ab0b51b5f4b38c957687bcbf (diff)
downloadqtwebsockets-6c58fa8980a2c783d9eca34aa482b74ac60a940a.tar.gz
Use override keyword
Change-Id: I120dcb26eb451930d02e452cc47262eda44cc77c Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/imports/qmlwebsockets/qqmlwebsocket.h')
-rw-r--r--src/imports/qmlwebsockets/qqmlwebsocket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/imports/qmlwebsockets/qqmlwebsocket.h b/src/imports/qmlwebsockets/qqmlwebsocket.h
index 8db435d..e1ffc72 100644
--- a/src/imports/qmlwebsockets/qqmlwebsocket.h
+++ b/src/imports/qmlwebsockets/qqmlwebsocket.h
@@ -62,7 +62,7 @@ class QQmlWebSocket : public QObject, public QQmlParserStatus
public:
explicit QQmlWebSocket(QObject *parent = 0);
explicit QQmlWebSocket(QWebSocket *socket, QObject *parent = 0);
- virtual ~QQmlWebSocket();
+ ~QQmlWebSocket() override;
enum Status
{
@@ -94,8 +94,8 @@ Q_SIGNALS:
void urlChanged();
public:
- void classBegin() Q_DECL_OVERRIDE;
- void componentComplete() Q_DECL_OVERRIDE;
+ void classBegin() override;
+ void componentComplete() override;
private Q_SLOTS:
void onError(QAbstractSocket::SocketError error);