Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
4#ifndef QQMLMODULEREGISTRATION_H
5#define QQMLMODULEREGISTRATION_H
6
7#include <QtQml/qtqmlglobal.h>
8
10
12class Q_QML_EXPORT QQmlModuleRegistration
13{
14 Q_DISABLE_COPY_MOVE(QQmlModuleRegistration)
15public:
16 QQmlModuleRegistration(const char *uri, void (*registerFunction)());
18
19#if QT_DEPRECATED_SINCE(6, 0)
20 QT_DEPRECATED_X("Use registration without major version")
21 QQmlModuleRegistration(const char *uri, int majorVersion, void (*registerFunction)());
22#endif
23
24private:
26};
27
29
30#endif // QQMLMODULEREGISTRATION_H
Combined button and popup list for selecting options.
#define QT_DEPRECATED_X(text)