diff options
| author | 2016-04-30 18:30:29 +0100 | |
|---|---|---|
| committer | 2016-04-30 18:50:44 +0100 | |
| commit | 9ef8a30e2d170049cc9a9291c29df8258177a63a (patch) | |
| tree | 4e6de02023191b7e3594080ca22f36e0e1478651 /src/modules/objects/qthttp/qhttp.cpp | |
| parent | Apply clang-tidy: modernize-use-nullptr (diff) | |
| download | KVIrc-9ef8a30e2d170049cc9a9291c29df8258177a63a.tar.gz KVIrc-9ef8a30e2d170049cc9a9291c29df8258177a63a.tar.bz2 KVIrc-9ef8a30e2d170049cc9a9291c29df8258177a63a.zip | |
Apply clang-tidy: modernize-use-override
Diffstat (limited to 'src/modules/objects/qthttp/qhttp.cpp')
| -rw-r--r-- | src/modules/objects/qthttp/qhttp.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/src/modules/objects/qthttp/qhttp.cpp b/src/modules/objects/qthttp/qhttp.cpp index ad865d31a..1f22a67ee 100644 --- a/src/modules/objects/qthttp/qhttp.cpp +++ b/src/modules/objects/qthttp/qhttp.cpp @@ -216,19 +216,19 @@ public: data.ba = d; } - ~QHttpNormalRequest() + ~QHttpNormalRequest() override { if(is_ba) delete data.ba; } - void start(QHttp *); - bool hasRequestHeader(); - QHttpRequestHeader requestHeader(); + void start(QHttp *) override; + bool hasRequestHeader() override; + QHttpRequestHeader requestHeader() override; inline void setRequestHeader(const QHttpRequestHeader & h) { header = h; } - QIODevice * sourceDevice(); - QIODevice * destinationDevice(); + QIODevice * sourceDevice() override; + QIODevice * destinationDevice() override; protected: QHttpRequestHeader header; @@ -324,11 +324,11 @@ public: { } - ~QHttpPGHRequest() + ~QHttpPGHRequest() override { } - void start(QHttp *); + void start(QHttp *) override; }; void QHttpPGHRequest::start(QHttp * http) @@ -354,13 +354,13 @@ public: { } - void start(QHttp *); + void start(QHttp *) override; - QIODevice * sourceDevice() + QIODevice * sourceDevice() override { return nullptr; } - QIODevice * destinationDevice() + QIODevice * destinationDevice() override { return nullptr; } @@ -403,13 +403,13 @@ public: { } - void start(QHttp *); + void start(QHttp *) override; - QIODevice * sourceDevice() + QIODevice * sourceDevice() override { return nullptr; } - QIODevice * destinationDevice() + QIODevice * destinationDevice() override { return nullptr; } @@ -442,7 +442,7 @@ public: this->proxy = proxy; } - inline void start(QHttp * http) + inline void start(QHttp * http) override { http->d->proxy = proxy; QString user = proxy.user(); @@ -454,11 +454,11 @@ public: http->d->finishedWithSuccess(); } - inline QIODevice * sourceDevice() + inline QIODevice * sourceDevice() override { return nullptr; } - inline QIODevice * destinationDevice() + inline QIODevice * destinationDevice() override { return nullptr; } @@ -482,13 +482,13 @@ public: { } - void start(QHttp *); + void start(QHttp *) override; - QIODevice * sourceDevice() + QIODevice * sourceDevice() override { return nullptr; } - QIODevice * destinationDevice() + QIODevice * destinationDevice() override { return nullptr; } @@ -515,13 +515,13 @@ public: QHttpCloseRequest() { } - void start(QHttp *); + void start(QHttp *) override; - QIODevice * sourceDevice() + QIODevice * sourceDevice() override { return nullptr; } - QIODevice * destinationDevice() + QIODevice * destinationDevice() override { return nullptr; } |
