KNewStuff

qmlplugin.h
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{
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
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 11:54:38 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.