summaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets/browser/tabwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webenginewidgets/browser/tabwidget.h')
-rw-r--r--examples/webenginewidgets/browser/tabwidget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/webenginewidgets/browser/tabwidget.h b/examples/webenginewidgets/browser/tabwidget.h
index 74e98f46c..5d7f1e2c5 100644
--- a/examples/webenginewidgets/browser/tabwidget.h
+++ b/examples/webenginewidgets/browser/tabwidget.h
@@ -48,6 +48,7 @@
QT_BEGIN_NAMESPACE
class QWebEngineDownloadItem;
+class QWebEngineProfile;
QT_END_NAMESPACE
/*
@@ -182,6 +183,8 @@ public:
QByteArray saveState() const;
bool restoreState(const QByteArray &state);
+ void setProfile(QWebEngineProfile *profile);
+
protected:
void mouseDoubleClickEvent(QMouseEvent *event);
void contextMenuEvent(QContextMenuEvent *event);
@@ -226,6 +229,7 @@ private:
QCompleter *m_lineEditCompleter;
QStackedWidget *m_lineEdits;
TabBar *m_tabBar;
+ QWebEngineProfile *m_profile;
};
#endif // TABWIDGET_H