aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tutorials/extending/chapter6-plugins/chartsplugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorials/extending/chapter6-plugins/chartsplugin.h')
-rw-r--r--examples/tutorials/extending/chapter6-plugins/chartsplugin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/tutorials/extending/chapter6-plugins/chartsplugin.h b/examples/tutorials/extending/chapter6-plugins/chartsplugin.h
index 863564b09c..4db1b01987 100644
--- a/examples/tutorials/extending/chapter6-plugins/chartsplugin.h
+++ b/examples/tutorials/extending/chapter6-plugins/chartsplugin.h
@@ -41,12 +41,12 @@
#define CHARTSPLUGIN_H
//![0]
-#include <QDeclarativeExtensionPlugin>
+#include <QQmlExtensionPlugin>
-class ChartsPlugin : public QDeclarativeExtensionPlugin
+class ChartsPlugin : public QQmlExtensionPlugin
{
Q_OBJECT
- Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDeclarativeExtensionInterface" FILE "chartsplugin.json")
+ Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface" FILE "chartsplugin.json")
public:
void registerTypes(const char *uri);