summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.h
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2012-01-18 13:50:14 +0100
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2012-01-18 15:13:52 +0100
commit17a7bd17d08489453d6a679aab711a946e023ff3 (patch)
tree8191d6931163d2630408d6f9087a2261836e0478 /src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.h
parent31d5ec9cab213fb65b970bfa7c8cb16128d282c8 (diff)
downloadqt-creator-17a7bd17d08489453d6a679aab711a946e023ff3.tar.gz
Wizards: allows filtering of wizards based on Qt version
Every wizard now implements requiredFeatures() to define a feature set. If the feature set is not satisfied by the available Qt Versions, the wizard is not shown in the create file/project dialog. Every Qt version can define the provided feature set in availableFeatures() defined in BaseQtVersion. Change-Id: Ie9e2c210d19187b2296451948c36d274f2096623 Reviewed-by: Daniel Teske <daniel.teske@nokia.com> Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
Diffstat (limited to 'src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.h')
-rw-r--r--src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.h b/src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.h
index c50532226e..ea54209457 100644
--- a/src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.h
+++ b/src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.h
@@ -53,6 +53,7 @@ class QmlProjectApplicationWizard : public Core::BaseFileWizard
public:
QmlProjectApplicationWizard();
virtual ~QmlProjectApplicationWizard();
+ virtual Core::FeatureSet requiredFeatures() const;
static Core::BaseFileWizardParameters parameters();