QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
src
quickgui
plugin
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
28
class
QgsQuickPlugin
:
public
QQmlExtensionPlugin
29
{
30
Q_OBJECT
31
Q_PLUGIN_METADATA( IID
"org.qt-project.Qt.QQmlExtensionInterface"
)
32
public
:
33
38
void
registerTypes
(
const
char
*uri );
39
};
40
41
#endif // QGSQUICKPLUGIN_H
QgsQuickPlugin::registerTypes
void registerTypes(const char *uri)
Registers the QGIS QML types in the given uri.
Definition:
qgsquickplugin.cpp:39
QgsQuickPlugin
QGIS Qml Extension Plugin responsible for exposing C++ QGIS classes to QML.
Definition:
qgsquickplugin.h:28
Generated on Sun Sep 11 2022 00:03:17 for QGIS API Documentation by
1.8.17