Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qqmlmoduleregistration.h
Go to the documentation of this file.
1
// Copyright (C) 2019 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant
4
5
#
ifndef
QQMLMODULEREGISTRATION_H
6
#
define
QQMLMODULEREGISTRATION_H
7
8
#
include
<
QtQml
/
qtqmlglobal
.
h
>
9
10
QT_BEGIN_NAMESPACE
11
12
struct
QQmlModuleRegistrationPrivate;
13
class
Q_QML_EXPORT
QQmlModuleRegistration
14
{
15
Q_DISABLE_COPY_MOVE(QQmlModuleRegistration)
16
public
:
17
QQmlModuleRegistration(
const
char
*uri,
void
(*registerFunction)());
18
~QQmlModuleRegistration();
19
20
#
if
QT_DEPRECATED_SINCE
(
6
,
0
)
21
QT_DEPRECATED_X(
"Use registration without major version"
)
22
QQmlModuleRegistration(
const
char
*uri,
int
majorVersion,
void
(*registerFunction)());
23
#
endif
24
25
private
:
26
QQmlModuleRegistrationPrivate *d =
nullptr
;
27
};
28
29
QT_END_NAMESPACE
30
31
#
endif
// QQMLMODULEREGISTRATION_H
QQmlModuleRegistration
Definition
qqmlmoduleregistration.h:14
qtdeclarative
src
qml
qml
qqmlmoduleregistration.h
Generated on
for Qt by
1.18.0