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
qqmlextensionplugin.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 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
6
8
56#if QT_DEPRECATED_SINCE(6, 3)
57 : QObject(*(new QQmlExtensionPluginPrivate), parent)
58#else
59 : QObject(parent)
60#endif
61{
62}
63
75
76
81
86
87#if QT_DEPRECATED_SINCE(6, 3)
106QUrl QQmlExtensionPlugin::baseUrl() const
107{
108 Q_D(const QQmlExtensionPlugin);
109 return d->baseUrl;
110}
111#endif
112
122
129{
131 Q_UNUSED(uri);
132}
133
144
188
189#include "moc_qqmlextensionplugin.cpp"
\inmodule QtCore
Definition qobject.h:103
QQmlEngineExtensionPlugin(QObject *parent=nullptr)
Constructs a QML extension plugin with the given parent.
~QQmlEngineExtensionPlugin() override
void initializeEngine(QQmlEngine *engine, const char *uri) override
Initializes the extension from the uri using the engine.
The QQmlEngine class provides an environment for instantiating QML components.
Definition qqmlengine.h:57
The QQmlExtensionPlugin class provides an abstract base for custom QML extension plugins with custom ...
~QQmlExtensionPlugin() override
QQmlExtensionPlugin(QObject *parent=nullptr)
void initializeEngine(QQmlEngine *engine, const char *uri) override
Initializes the extension from the uri using the engine.
\inmodule QtCore
Definition qurl.h:94
Combined button and popup list for selecting options.
#define Q_UNUSED(x)
QJSEngine engine
[0]