diff options
Diffstat (limited to 'examples/qml/qmlextensionplugins')
-rw-r--r-- | examples/qml/qmlextensionplugins/doc/src/qmlpluginex.qdoc | 2 | ||||
-rw-r--r-- | examples/qml/qmlextensionplugins/plugin.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/qml/qmlextensionplugins/doc/src/qmlpluginex.qdoc b/examples/qml/qmlextensionplugins/doc/src/qmlpluginex.qdoc index 9e0bbb1815..24d6991d52 100644 --- a/examples/qml/qmlextensionplugins/doc/src/qmlpluginex.qdoc +++ b/examples/qml/qmlextensionplugins/doc/src/qmlpluginex.qdoc @@ -29,7 +29,7 @@ \title QML Plugin Example \example qmlextensionplugins - \brief This example creates a C++ plugin extension by subclassing QQmlExtensionPlugin. + \brief This example creates a C++ plugin extension by subclassing QQmlEngineExtensionPlugin. \image qml-plugins-example.png diff --git a/examples/qml/qmlextensionplugins/plugin.cpp b/examples/qml/qmlextensionplugins/plugin.cpp index 99d8c5378c..ae5f35bf5f 100644 --- a/examples/qml/qmlextensionplugins/plugin.cpp +++ b/examples/qml/qmlextensionplugins/plugin.cpp @@ -48,7 +48,7 @@ ** ****************************************************************************/ -#include <QtQml/QQmlExtensionPlugin> +#include <QtQml/QQmlEngineExtensionPlugin> #include <qdebug.h> //![plugin] |