diff options
author | Christian Stenger <[email protected]> | 2013-01-17 09:17:58 +0100 |
---|---|---|
committer | The Qt Project <[email protected]> | 2013-01-24 09:00:30 +0100 |
commit | 1cdbd299884a2978a76d5d4bd4fccf4d64b1d708 (patch) | |
tree | 3570abff1aaf9e63eb016bc877c90db23be7172e /examples/quick/tutorials | |
parent | 8a4829ef1559787726b576a210dfd0c86b91b249 (diff) |
Remove outdated macro usage
Change-Id: I4b58f3d74d7dec9a95a07b907c500990630e7762
Reviewed-by: Jerome Pasion <[email protected]>
Reviewed-by: Kai Koehne <[email protected]>
Diffstat (limited to 'examples/quick/tutorials')
-rw-r--r-- | examples/quick/tutorials/gettingStartedQml/parts/part5/filedialog/dialogPlugin.cpp | 3 | ||||
-rw-r--r-- | examples/quick/tutorials/gettingStartedQml/parts/part5/filedialog/dialogPlugin.h | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/examples/quick/tutorials/gettingStartedQml/parts/part5/filedialog/dialogPlugin.cpp b/examples/quick/tutorials/gettingStartedQml/parts/part5/filedialog/dialogPlugin.cpp index d71e622b33..79b890c097 100644 --- a/examples/quick/tutorials/gettingStartedQml/parts/part5/filedialog/dialogPlugin.cpp +++ b/examples/quick/tutorials/gettingStartedQml/parts/part5/filedialog/dialogPlugin.cpp @@ -52,6 +52,3 @@ void DialogPlugin::registerTypes(const char *uri){ //qRegisterMetaType<QQmlListProperty<QString> > ("QQmlListProperty<QString>"); } - -//FileDialog is the plugin name (same as the TARGET in the project file) and DialogPlugin is the plugin classs -Q_EXPORT_PLUGIN2(FileDialog, DialogPlugin); diff --git a/examples/quick/tutorials/gettingStartedQml/parts/part5/filedialog/dialogPlugin.h b/examples/quick/tutorials/gettingStartedQml/parts/part5/filedialog/dialogPlugin.h index 82035193c8..6776f91e2b 100644 --- a/examples/quick/tutorials/gettingStartedQml/parts/part5/filedialog/dialogPlugin.h +++ b/examples/quick/tutorials/gettingStartedQml/parts/part5/filedialog/dialogPlugin.h @@ -46,7 +46,7 @@ class DialogPlugin : public QQmlExtensionPlugin { Q_OBJECT - + Q_PLUGIN_METADATA(IID "org.qt-project.QmlExtensionPlugin.FileDialog") public: //registerTypes is inherited from QQmlExtensionPlugin void registerTypes(const char *uri); |