QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
qgsquickplugin.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsquickplugin.h
3 --------------------------------------
4 Date : Nov 2017
5 Copyright : (C) 2017 by Peter Petrik
6 Email : zilolv at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef QGSQUICKPLUGIN_H
17#define QGSQUICKPLUGIN_H
18
19#include <QQmlExtensionPlugin>
20
28class QgsQuickPlugin : public QQmlExtensionPlugin
29{
30 Q_OBJECT
31 Q_PLUGIN_METADATA( IID "org.qt-project.Qt.QQmlExtensionInterface" )
32 public:
37 void registerTypes( const char *uri );
38};
39
40#endif // QGSQUICKPLUGIN_H
QGIS Qml Extension Plugin responsible for exposing C++ QGIS classes to QML.
void registerTypes(const char *uri)
Registers the QGIS QML types in the given uri.