aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/customitems/painteditem/TextBalloonPlugin/plugin.h
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2020-02-17 13:38:12 +0100
committerUlf Hermann <[email protected]>2020-02-18 09:45:16 +0100
commit8bc51b89a1d71ca9c6b1595ce497e0d91e9d2634 (patch)
tree0acabea2c6adcd889124c2c2844b3cba876f8ffe /examples/quick/customitems/painteditem/TextBalloonPlugin/plugin.h
parent3ffc6cc6f1eed59101efd6b0af8f539927688712 (diff)
Doc: Fix extension plugin examples and documentation
We advertise the usage of QQmlEngineExtensionPlugin, as registerTypes() should be avoided if possible. The actual source code of the examples already does this, but some of the includes and the documentation was lagging. Task-number: QTBUG-81615 Change-Id: Ibbee60ad55114bf6dc07875080c963e727f49e6b Reviewed-by: Fabian Kosmale <[email protected]> Reviewed-by: Mitch Curtis <[email protected]>
Diffstat (limited to 'examples/quick/customitems/painteditem/TextBalloonPlugin/plugin.h')
-rw-r--r--examples/quick/customitems/painteditem/TextBalloonPlugin/plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/customitems/painteditem/TextBalloonPlugin/plugin.h b/examples/quick/customitems/painteditem/TextBalloonPlugin/plugin.h
index 972859f80e..4abf2cf3dc 100644
--- a/examples/quick/customitems/painteditem/TextBalloonPlugin/plugin.h
+++ b/examples/quick/customitems/painteditem/TextBalloonPlugin/plugin.h
@@ -48,7 +48,7 @@
**
****************************************************************************/
-#include <QQmlExtensionPlugin>
+#include <QQmlEngineExtensionPlugin>
#include "../textballoon.h"