QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
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
:
37
void
registerTypes
(
const
char
*uri )
override
;
38
};
39
40
#endif
// QGSQUICKPLUGIN_H
QgsQuickPlugin
QGIS Qml Extension Plugin responsible for exposing C++ QGIS classes to QML.
Definition
qgsquickplugin.h:29
QgsQuickPlugin::registerTypes
void registerTypes(const char *uri) override
Registers the QGIS QML types in the given uri.
Definition
qgsquickplugin.cpp:49
Generated on
for QGIS API Documentation by
1.17.0