diff options
author | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-08-25 13:16:27 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-08-26 06:08:00 +0000 |
commit | 2ce9eebf27d73296ff23e2f936b68f22f96ac38d (patch) | |
tree | 0c284bd4226d7432194cceef79f67e8a35bd4ebb /src/core/api | |
parent | c7334fbc8c33773231dd9c2e3c843e6a6a764fc5 (diff) |
Consistenly use Q_DISABLE_COPY in public API
Improves error messages for people trying to copy ...
Change-Id: If95e33058ebff46ab39164ba6226b3396b6aef15
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/core/api')
-rw-r--r-- | src/core/api/qwebenginecookiestoreclient.h | 2 | ||||
-rw-r--r-- | src/core/api/qwebengineurlrequestinterceptor.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/core/api/qwebenginecookiestoreclient.h b/src/core/api/qwebenginecookiestoreclient.h index 929584c86..5dae3bf59 100644 --- a/src/core/api/qwebenginecookiestoreclient.h +++ b/src/core/api/qwebenginecookiestoreclient.h @@ -80,7 +80,7 @@ Q_SIGNALS: private: friend class QtWebEngineCore::CookieMonsterDelegateQt; - + Q_DISABLE_COPY(QWebEngineCookieStoreClient) Q_DECLARE_PRIVATE(QWebEngineCookieStoreClient) QScopedPointer<QWebEngineCookieStoreClientPrivate> d_ptr; }; diff --git a/src/core/api/qwebengineurlrequestinterceptor.h b/src/core/api/qwebengineurlrequestinterceptor.h index 3eac74bb6..72f3452d0 100644 --- a/src/core/api/qwebengineurlrequestinterceptor.h +++ b/src/core/api/qwebengineurlrequestinterceptor.h @@ -50,6 +50,7 @@ QT_BEGIN_NAMESPACE class QWEBENGINE_EXPORT QWebEngineUrlRequestInterceptor : public QObject { Q_OBJECT + Q_DISABLE_COPY(QWebEngineUrlRequestInterceptor) public: explicit QWebEngineUrlRequestInterceptor(QObject *p = 0) : QObject (p) |