diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-02-17 10:24:29 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-17 16:46:33 +0100 |
commit | f2a940876c440ecf360fb81d897e9754aef624b3 (patch) | |
tree | a298019e2ee39d9db297d3dd14478254a7b256b9 /examples/designer/customwidgetplugin/customwidgetplugin.h | |
parent | e45cb6431f2ff28e4d7bbde058684de015920dd1 (diff) |
Use new plugin system in Qt Designer.
- Change interface names to use the prefix "org.qt-project.Qt."
- Add json files and use new macros.
Change-Id: I2b0e6ac59b6dfbdced70751921a588f6e417615f
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'examples/designer/customwidgetplugin/customwidgetplugin.h')
-rw-r--r-- | examples/designer/customwidgetplugin/customwidgetplugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/designer/customwidgetplugin/customwidgetplugin.h b/examples/designer/customwidgetplugin/customwidgetplugin.h index f1f82d379..781983dff 100644 --- a/examples/designer/customwidgetplugin/customwidgetplugin.h +++ b/examples/designer/customwidgetplugin/customwidgetplugin.h @@ -47,8 +47,8 @@ class AnalogClockPlugin : public QObject, public QDesignerCustomWidgetInterface { Q_OBJECT + Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDesignerCustomWidgetInterface" FILE "analogclock.json") Q_INTERFACES(QDesignerCustomWidgetInterface) - public: AnalogClockPlugin(QObject *parent = 0); |