diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-08-11 10:18:08 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-08-14 11:42:09 +0200 |
commit | 1ec53868363c41a4f08ca2660638da532eb56b10 (patch) | |
tree | ac982148b467a63e7d1ceb2a7f943c3f3f5bf8d0 /examples/webenginewidgets/simplebrowser/tabwidget.h | |
parent | 49b94b14d3da42f945f6d49a3288c3ede5b98d36 (diff) | |
parent | 59e35e033b8c8327db5b3fdbfb5d6ecee48a4405 (diff) | |
download | qtwebengine-1ec53868363c41a4f08ca2660638da532eb56b10.tar.gz |
Merge remote-tracking branch 'origin/5.9' into dev
Includes sha1 bump of src/3rdparty to head of 58-based.
Change-Id: I37743c3979c1b6fb21f71eab7048e82f7aa5d78b
Diffstat (limited to 'examples/webenginewidgets/simplebrowser/tabwidget.h')
-rw-r--r-- | examples/webenginewidgets/simplebrowser/tabwidget.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/webenginewidgets/simplebrowser/tabwidget.h b/examples/webenginewidgets/simplebrowser/tabwidget.h index 830effa4e..e5a1671ae 100644 --- a/examples/webenginewidgets/simplebrowser/tabwidget.h +++ b/examples/webenginewidgets/simplebrowser/tabwidget.h @@ -56,7 +56,6 @@ class TabWidget : public QTabWidget public: TabWidget(QWidget *parent = nullptr); - ~TabWidget(); WebView *currentWebView() const; @@ -66,7 +65,7 @@ signals: void loadProgress(int progress); void titleChanged(const QString &title); void urlChanged(const QUrl &url); - void iconChanged(const QIcon &icon); + void favIconChanged(const QIcon &icon); void webActionEnabledChanged(QWebEnginePage::WebAction action, bool enabled); public slots: @@ -74,7 +73,8 @@ public slots: void setUrl(const QUrl &url); void triggerWebPageAction(QWebEnginePage::WebAction action); - WebView *createTab(bool makeCurrent = true); + WebView *createTab(); + WebView *createBackgroundTab(); void closeTab(int index); void nextTab(); void previousTab(); |