summaryrefslogtreecommitdiffstats
path: root/src/webenginewidgets/api/qwebengineprofile_p.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-12-12 15:06:29 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-03-02 13:18:46 +0000
commit0c49002d833b6c8ccf822d1ebd29a86b3f15f389 (patch)
treea414da48ea946a97daba4eb9106f0e2387f18a42 /src/webenginewidgets/api/qwebengineprofile_p.h
parent26ae2ce0a8401698a2b1c1f0a8162ebf83dcafef (diff)
Add namespace to internal QtWebEngine API
Adds the QtWebEngineCore namespace to all internal core API. This ensures we don't export any internal symbols in the global namespace. Change-Id: I26af888ea7c6c4c4d0f04c24a377c1a9d3c92751 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'src/webenginewidgets/api/qwebengineprofile_p.h')
-rw-r--r--src/webenginewidgets/api/qwebengineprofile_p.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/webenginewidgets/api/qwebengineprofile_p.h b/src/webenginewidgets/api/qwebengineprofile_p.h
index 6f2d53a81..6ae9f9ca9 100644
--- a/src/webenginewidgets/api/qwebengineprofile_p.h
+++ b/src/webenginewidgets/api/qwebengineprofile_p.h
@@ -44,19 +44,21 @@
#include <QMap>
#include <QPointer>
+namespace QtWebEngineCore {
class BrowserContextAdapter;
+}
QT_BEGIN_NAMESPACE
class QWebEngineSettings;
-class QWebEngineProfilePrivate : public BrowserContextAdapterClient {
+class QWebEngineProfilePrivate : public QtWebEngineCore::BrowserContextAdapterClient {
public:
Q_DECLARE_PUBLIC(QWebEngineProfile)
- QWebEngineProfilePrivate(BrowserContextAdapter* browserContext, bool ownsContext);
+ QWebEngineProfilePrivate(QtWebEngineCore::BrowserContextAdapter* browserContext, bool ownsContext);
~QWebEngineProfilePrivate();
- BrowserContextAdapter *browserContext() const { return m_browserContext; }
+ QtWebEngineCore::BrowserContextAdapter *browserContext() const { return m_browserContext; }
QWebEngineSettings *settings() const { return m_settings; }
void cancelDownload(quint32 downloadId);
@@ -74,8 +76,8 @@ public:
private:
QWebEngineProfile *q_ptr;
QWebEngineSettings *m_settings;
- BrowserContextAdapter *m_browserContext;
- QExplicitlySharedDataPointer<BrowserContextAdapter> m_browserContextRef;
+ QtWebEngineCore::BrowserContextAdapter *m_browserContext;
+ QExplicitlySharedDataPointer<QtWebEngineCore::BrowserContextAdapter> m_browserContextRef;
QMap<quint32, QPointer<QWebEngineDownloadItem> > m_ongoingDownloads;
QMap<QByteArray, QPointer<QWebEngineUrlSchemeHandler> > m_urlSchemeHandlers;
};