Commit dfebd43f authored by Leena Miettinen's avatar Leena Miettinen
Browse files

Doc: edit QWebEngineUrlSchemeHandler docs


- Add missing docs
- Edit for grammar

Change-Id: I407818d66f17a354cf3f5051bed5a648bc807424
Reviewed-by: default avatarFlorian Bruhin <qt-project.org@the-compiler.org>
Reviewed-by: default avatarMichael Brüning <michael.bruning@theqtcompany.com>
Showing with 11 additions and 2 deletions
...@@ -43,16 +43,22 @@ QT_BEGIN_NAMESPACE ...@@ -43,16 +43,22 @@ QT_BEGIN_NAMESPACE
/*! /*!
\class QWebEngineUrlSchemeHandler \class QWebEngineUrlSchemeHandler
\brief The QWebEngineUrlSchemeHandler base class for handling custom URL schemes. \brief The QWebEngineUrlSchemeHandler is a base class for handling custom URL schemes.
\since 5.6 \since 5.6
To implement a custom URL scheme for QtWebEngine you must write a class derived from this class, To implement a custom URL scheme for QtWebEngine, you must write a class derived from this class,
and reimplement requestStarted(). and reimplement requestStarted().
\inmodule QtWebEngineCore \inmodule QtWebEngineCore
*/ */
/*!
\fn QWebEngineUrlSchemeHandler::destroyed(QWebEngineUrlSchemeHandler*)
This signal is emitted when a custom URL scheme handler is deleted.
*/
QWebEngineUrlSchemeHandlerPrivate::QWebEngineUrlSchemeHandlerPrivate(const QByteArray &scheme) QWebEngineUrlSchemeHandlerPrivate::QWebEngineUrlSchemeHandlerPrivate(const QByteArray &scheme)
: m_scheme(scheme) : m_scheme(scheme)
{ {
...@@ -70,6 +76,9 @@ QWebEngineUrlSchemeHandler::QWebEngineUrlSchemeHandler(const QByteArray &scheme, ...@@ -70,6 +76,9 @@ QWebEngineUrlSchemeHandler::QWebEngineUrlSchemeHandler(const QByteArray &scheme,
{ {
} }
/*!
Deletes a custom URL scheme handler.
*/
QWebEngineUrlSchemeHandler::~QWebEngineUrlSchemeHandler() QWebEngineUrlSchemeHandler::~QWebEngineUrlSchemeHandler()
{ {
Q_EMIT destroyed(this); Q_EMIT destroyed(this);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment