KNewStuff

qmlplugin.h
1 /*
2  SPDX-FileCopyrightText: 2016 Dan Leinir Turthra Jensen <[email protected]>
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 class QmlPlugins : public QQmlExtensionPlugin
13 {
14  Q_OBJECT
15  Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
16 public:
17  void initializeEngine(QQmlEngine *engine, const char *uri) override;
18  void registerTypes(const char *uri) override;
19 };
20 
21 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Aug 11 2020 22:43:23 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.