1 | // SPDX-FileCopyrightText: 2023 Alexander Lohnau <alexander.lohnau@gmx.de> |
2 | // SPDX-License-Identifier: LGPL-2.0-or-later |
3 | |
4 | #include "icondialog_p.h" |
5 | #include <QQmlEngine> |
6 | #include <QQmlExtensionPlugin> |
7 | |
8 | class KIconThemesQmlPlugin : public QQmlExtensionPlugin |
9 | { |
10 | Q_OBJECT |
11 | Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface" ) |
12 | |
13 | public: |
14 | void registerTypes(const char *uri) override |
15 | { |
16 | qmlRegisterType<IconDialog>(uri, versionMajor: 1, versionMinor: 0, qmlName: "IconDialog" ); |
17 | } |
18 | }; |
19 | |
20 | #include "plugin.moc" |
21 | |