aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/tutorials/gettingStartedQml/filedialog/dialogPlugin.h
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2013-08-01 11:39:02 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-09 15:47:23 +0200
commitfc8b40f888139342ebe0d4ce7d507005572737db (patch)
treee90b81b9922fcb1b615d131a487c282cc3a45841 /examples/quick/tutorials/gettingStartedQml/filedialog/dialogPlugin.h
parent04f699d26a3f06dbd98d9bd3e0f64ee9980a6a26 (diff)
Doc: Update example used for QML getting started tutorial
Update the example project referred to in Getting Started with Qt Quick tutorial. - Fix coding/comment style issues - Change plugin TARGET name, Use /imports as the destination directory - Fix qmldir with proper module info, delete unused qmldir from /core - Add a .qmlproject file Change-Id: If269e61fb76399faae753469dc251d07cc219139 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'examples/quick/tutorials/gettingStartedQml/filedialog/dialogPlugin.h')
-rw-r--r--examples/quick/tutorials/gettingStartedQml/filedialog/dialogPlugin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/quick/tutorials/gettingStartedQml/filedialog/dialogPlugin.h b/examples/quick/tutorials/gettingStartedQml/filedialog/dialogPlugin.h
index 5c4e5c971d..f23391f1df 100644
--- a/examples/quick/tutorials/gettingStartedQml/filedialog/dialogPlugin.h
+++ b/examples/quick/tutorials/gettingStartedQml/filedialog/dialogPlugin.h
@@ -46,11 +46,11 @@
class DialogPlugin : public QQmlExtensionPlugin
{
Q_OBJECT
- Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
+ Q_PLUGIN_METADATA(IID "org.qt-project.QmlExtensionPlugin.FileDialog")
+ public:
+ //registerTypes is inherited from QQmlExtensionPlugin
+ void registerTypes(const char *uri);
-public:
- // registerTypes is inherited from QQmlExtensionPlugin
- void registerTypes(const char *uri);
};
#endif