summaryrefslogtreecommitdiffstats
path: root/src/webenginewidgets/api/qwebengineview.h
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@theqtcompany.com>2015-09-05 19:14:17 -0700
committerJake Petroules <jake.petroules@theqtcompany.com>2015-09-10 21:09:14 +0000
commit5555afd6ce01bc9891ee33b075cc53f4fa48665e (patch)
treea0fc64b10090e9c7c4574c57c17c92cccc5e3adb /src/webenginewidgets/api/qwebengineview.h
parentffddac06d3b98be9a477a5ecedc2acd255715453 (diff)
Emit a signal when the rendering process exits.
This allows users to implement a "sad tab" feature and/or track rendering process crashes using a crash reporting service. Task-number: QTBUG-48227 Change-Id: I97ef934fe5d0912cd0f41967a39052316b3c66b0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'src/webenginewidgets/api/qwebengineview.h')
-rw-r--r--src/webenginewidgets/api/qwebengineview.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/webenginewidgets/api/qwebengineview.h b/src/webenginewidgets/api/qwebengineview.h
index 0d8f9fc17..ae38e6c5c 100644
--- a/src/webenginewidgets/api/qwebengineview.h
+++ b/src/webenginewidgets/api/qwebengineview.h
@@ -113,6 +113,8 @@ Q_SIGNALS:
void selectionChanged();
void urlChanged(const QUrl&);
void iconUrlChanged(const QUrl&);
+ void renderProcessTerminated(QWebEnginePage::RenderProcessTerminationStatus terminationStatus,
+ int exitCode);
protected:
virtual QWebEngineView *createWindow(QWebEnginePage::WebWindowType type);