summaryrefslogtreecommitdiffstats
path: root/src/core/doc/src/qtwebengine-global.qdoc
blob: 7f6636c16de5e5f3fd9279dd2f81a903cb4ca39d (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
54
55
56
// 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, that is, the effective top-level domain
    (eTLD) and the first domain below it, from \a url.

    This function supports internationalized domain names (IDN). In this case,
    it returns the domain encoded in Punycode.

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