summaryrefslogtreecommitdiffstats
path: root/src/core/doc/src/qtwebengine-global.qdoc
blob: d4bbef01ae685578e2b7b883224bf272d7f233bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only

/*!
    \headerfile <qtwebenginecoreglobal.h>
    \inmodule QtWebEngineCore
    \title Global Qt WebEngine Core Declarations
    \ingroup funclists

    \brief Helper functions for the \QWE Core module.

*/


/*!
    \fn const char *qWebEngineVersion() noexcept
    \relates <qtwebenginecoreglobal.h>
    \since 6.2

    Returns the version number of \QWE at run-time as a string
    (for example, "6.2.0"). This may be a different version than the
    version the application was compiled against, and a different version
    than Qt.
*/

/*!
    \fn const char *qWebEngineChromiumVersion() noexcept
    \relates <qtwebenginecoreglobal.h>
    \since 6.2

    Returns the version number of Chromium used by \QWE at run-time
    as a string (for example, "83.0.4103.122").
*/

/*!
    \fn const char *qWebEngineChromiumSecurityPatchVersion() noexcept
    \relates <qtwebenginecoreglobal.h>
    \since 6.3

    Returns the version number of last Chromium version security patches have been
    merged from.
*/

/*!
    \fn QString qWebEngineGetDomainAndRegistry(const QUrl &url)
    \relates <qtwebenginecoreglobal.h>
    \since 6.6

    Returns the domain of the host i.e. the effective top-level domain (eTLD)
    plus the first domain below.

    If the host is not a domain an empty string is returned.
*/