diff options
author | Feetu Nyrhinen <ext-feetu.nyrhinen@nokia.com> | 2011-06-10 15:40:57 +0300 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@nokia.com> | 2011-06-22 15:26:55 +0200 |
commit | 2964f7a9fa247110a8ad90c5cd7970199d106fda (patch) | |
tree | 5ff413c0d13e8dcfe570d6501eb39c9a28c50df8 /src/plugins/qt4projectmanager/wizards/qtquickapp.h | |
parent | c98e7c2b8340ea31b8df4853623b123462f29a83 (diff) | |
download | qt-creator-2964f7a9fa247110a8ad90c5cd7970199d106fda.tar.gz |
Qt Quick Components Wizard
Selection of Qt Quick component set
and use of specific QML template files (Qt Quick 1.0 and
com.nokia.symbian 1.0) based on the user selections.
Change-Id: I93cfa8735dcf285c76ff04a6186a4eca1f90a361
Reviewed-on: http://codereview.qt.nokia.com/567
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
Diffstat (limited to 'src/plugins/qt4projectmanager/wizards/qtquickapp.h')
-rw-r--r-- | src/plugins/qt4projectmanager/wizards/qtquickapp.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/plugins/qt4projectmanager/wizards/qtquickapp.h b/src/plugins/qt4projectmanager/wizards/qtquickapp.h index d284ea46a1..34b854272c 100644 --- a/src/plugins/qt4projectmanager/wizards/qtquickapp.h +++ b/src/plugins/qt4projectmanager/wizards/qtquickapp.h @@ -81,6 +81,7 @@ struct QtQuickAppGeneratedFileInfo : public AbstractGeneratedFileInfo { enum ExtendedFileType { MainQmlFile = ExtendedFile, + MainPageQmlFile, AppViewerPriFile, AppViewerCppFile, AppViewerHFile @@ -104,7 +105,9 @@ public: AppViewerHOrigin, QmlDir, QmlDirProFileRelative, - ModulesDir + ModulesDir, + MainPageQml, + MainPageQmlOrigin }; enum Mode { @@ -112,9 +115,17 @@ public: ModeImport }; + enum ComponentSet { + QtQuick10Components, + Symbian10Components + }; + QtQuickApp(); virtual ~QtQuickApp(); + void setComponentSet(ComponentSet componentSet); + ComponentSet componentSet() const; + void setMainQml(Mode mode, const QString &file = QString()); Mode mainQmlMode() const; bool setExternalModules(const QStringList &uris, const QStringList &importPaths); @@ -148,12 +159,14 @@ private: bool addCppPlugins(QmlModule *module); bool addCppPlugin(const QString &qmldirLine, QmlModule *module); void clearModulesAndPlugins(); + QString componentSetDir(ComponentSet componentSet) const; QFileInfo m_mainQmlFile; Mode m_mainQmlMode; QStringList m_importPaths; QList<QmlModule *> m_modules; QList<QmlCppPlugin *> m_cppPlugins; + ComponentSet m_componentSet; }; } // namespace Internal |