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/taskmenuextension/tictactoeplugin.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/taskmenuextension/tictactoeplugin.h')
-rw-r--r-- | examples/designer/taskmenuextension/tictactoeplugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/designer/taskmenuextension/tictactoeplugin.h b/examples/designer/taskmenuextension/tictactoeplugin.h index 613c5a923..92794a3bd 100644 --- a/examples/designer/taskmenuextension/tictactoeplugin.h +++ b/examples/designer/taskmenuextension/tictactoeplugin.h @@ -52,6 +52,7 @@ QT_END_NAMESPACE class TicTacToePlugin : public QObject, public QDesignerCustomWidgetInterface { Q_OBJECT + Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDesignerCustomWidgetInterface" FILE "tictactoe.json") Q_INTERFACES(QDesignerCustomWidgetInterface) public: |