diff options
author | Kai Koehne <[email protected]> | 2010-12-03 17:04:29 +0100 |
---|---|---|
committer | Kai Koehne <[email protected]> | 2010-12-08 15:08:49 +0100 |
commit | c4e491387007d89f86b6adb6ea0609842a3a2a4b (patch) | |
tree | 2b9f6db5ff29a034f84eaf06885f5e4f0b19694a /src/plugins/qmlprojectmanager/qmlproject.h | |
parent | efcac96f570662164259e3fd1874e74a07fc1c5f (diff) |
QmlProject: Add mainFile property
The mainFile property of QmlProject is the default file to run. People
have still the opportunity to override this in their run settings,
though.
The wizard generated code was updated accordingly. Note that this makes
projects generated by the wizard incompatible with QtCreator 2.1!
Task-number: QTCREATORBUG-3249
Diffstat (limited to 'src/plugins/qmlprojectmanager/qmlproject.h')
-rw-r--r-- | src/plugins/qmlprojectmanager/qmlproject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmlprojectmanager/qmlproject.h b/src/plugins/qmlprojectmanager/qmlproject.h index 0f663eef18b..bbdd2ac5b08 100644 --- a/src/plugins/qmlprojectmanager/qmlproject.h +++ b/src/plugins/qmlprojectmanager/qmlproject.h @@ -95,6 +95,7 @@ public: QDir projectDir() const; QStringList files() const; + QString mainFile() const; QStringList importPaths() const; bool addFiles(const QStringList &filePaths); |