diff options
author | Paul Wicking <paul.wicking@qt.io> | 2018-08-01 12:18:19 +0200 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2018-08-02 11:03:24 +0000 |
commit | c8d9920dc82ea0256bee5ce82b1fac8d4e870ab8 (patch) | |
tree | 9261894c390cb3e968b7bff4a319c5e2defa6cdf | |
parent | aadc2cf21eb1e22a8d5814c05a4ed793165d32c2 (diff) |
Doc: Synchronize documentation with code snippet
* The plugin IID with version number was removed in transition to new
plugin system, see efde205586a70320d0525e941e5a1cd9657bdd30.
* This change re-adds the version number, so that we deliver on the best
practices as mentioned in the documentation for the example.
Task-number: QTBUG-59487
Change-Id: I88596e71cf18be88d0b1d28d56b6d3bb72fe756b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 0dfdf23d05d09cbffcec4021c9cbebfb6eeddfa7)
-rw-r--r-- | examples/widgets/tools/plugandpaint/app/interfaces.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/widgets/tools/plugandpaint/app/interfaces.h b/examples/widgets/tools/plugandpaint/app/interfaces.h index 53f447ce87..a1e91e13ff 100644 --- a/examples/widgets/tools/plugandpaint/app/interfaces.h +++ b/examples/widgets/tools/plugandpaint/app/interfaces.h @@ -106,16 +106,16 @@ public: QT_BEGIN_NAMESPACE //! [3] //! [4] -#define BrushInterface_iid "org.qt-project.Qt.Examples.PlugAndPaint.BrushInterface" +#define BrushInterface_iid "org.qt-project.Qt.Examples.PlugAndPaint.BrushInterface/1.0" Q_DECLARE_INTERFACE(BrushInterface, BrushInterface_iid) //! [3] -#define ShapeInterface_iid "org.qt-project.Qt.Examples.PlugAndPaint.ShapeInterface" +#define ShapeInterface_iid "org.qt-project.Qt.Examples.PlugAndPaint.ShapeInterface/1.0" Q_DECLARE_INTERFACE(ShapeInterface, ShapeInterface_iid) //! [5] -#define FilterInterface_iid "org.qt-project.Qt.Examples.PlugAndPaint.FilterInterface" +#define FilterInterface_iid "org.qt-project.Qt.Examples.PlugAndPaint.FilterInterface/1.0" Q_DECLARE_INTERFACE(FilterInterface, FilterInterface_iid) //! [4] //! [5] |