1/*
2 SPDX-FileCopyrightText: 2016 Dan Leinir Turthra Jensen <admin@leinir.dk>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef _QML_PLUGIN_H
8#define _QML_PLUGIN_H
9
10#include <QQmlExtensionPlugin>
11
12// TODO KF6 just make this a c++ file only plugin
13class QmlPlugins : public QQmlExtensionPlugin
14{
15 Q_OBJECT
16 Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
17public:
18 void initializeEngine(QQmlEngine *engine, const char *uri) override;
19 void registerTypes(const char *uri) override;
20};
21
22#endif
23

source code of knewstuff/src/qtquick/qmlplugin.h