From d2fa5fd0f5b1972bd372510cc14509e85b972b23 Mon Sep 17 00:00:00 2001 From: Kirill Burtsev Date: Wed, 20 Mar 2019 18:04:50 +0100 Subject: Notification API cleanup Task-number: QTBUG-74543 Change-Id: Ice5a0dbfc3485c8b7e6fa900ef427a9aed871d42 Reviewed-by: Allan Sandfeld Jensen --- src/webengine/api/qquickwebengineprofile.cpp | 6 +++--- src/webengine/api/qquickwebengineprofile.h | 2 +- src/webengine/plugin/plugins.qmltypes | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/webengine') diff --git a/src/webengine/api/qquickwebengineprofile.cpp b/src/webengine/api/qquickwebengineprofile.cpp index ac75b5356..4832ba303 100644 --- a/src/webengine/api/qquickwebengineprofile.cpp +++ b/src/webengine/api/qquickwebengineprofile.cpp @@ -152,7 +152,7 @@ ASSERT_ENUMS_MATCH(QQuickWebEngineDownloadItem::MimeHtmlSaveFormat, QtWebEngineC */ /*! - \fn QQuickWebEngineProfile::userNotification(QWebEngineNotification *notification) + \fn QQuickWebEngineProfile::presentNotification(QWebEngineNotification *notification) This signal is emitted whenever there is a newly created user notification. The \a notification argument holds the notification instance to query data and interact with. @@ -304,7 +304,7 @@ void QQuickWebEngineProfilePrivate::showNotification(QSharedPointeruserNotification(notification); + Q_EMIT q->presentNotification(notification); } void QQuickWebEngineProfilePrivate::userScripts_append(QQmlListProperty *p, QQuickWebEngineScript *script) @@ -387,7 +387,7 @@ void QQuickWebEngineProfilePrivate::userScripts_clear(QQmlListProperty