diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-03-05 11:24:31 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-03-05 11:24:31 +0100 |
commit | dc54e3f46bb4ec67692b8b96ee675f2792a11e37 (patch) | |
tree | 64e672bd982046e4d64cdc8786d770c2d582a176 /src/plugins/qt4projectmanager/wizards/qtwizard.h | |
parent | cba54bf47db89ef1f1c0e595eaecf3e5490a85bf (diff) | |
download | qt-creator-dc54e3f46bb4ec67692b8b96ee675f2792a11e37.tar.gz |
Library/Unit Test/Custom Widget Wizard: Add Target page.
Handle target page correctly. Remove static enumerations
of page ids by member variables to handle differing
page setups. Fix page switching logic in library wizard.
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/qt4projectmanager/wizards/qtwizard.h')
-rw-r--r-- | src/plugins/qt4projectmanager/wizards/qtwizard.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/qt4projectmanager/wizards/qtwizard.h b/src/plugins/qt4projectmanager/wizards/qtwizard.h index 67a5b3a2c8..45ba285269 100644 --- a/src/plugins/qt4projectmanager/wizards/qtwizard.h +++ b/src/plugins/qt4projectmanager/wizards/qtwizard.h @@ -101,8 +101,10 @@ protected: int introId = -1, QWidget *parent = 0); - void addModulesPage(int id = -1); - void addTargetsPage(QSet<QString> targets = QSet<QString>(), int id = -1); + int addModulesPage(int id = -1); + int addTargetsPage(QSet<QString> targets = QSet<QString>(), int id = -1); + + static QSet<QString> desktopTarget(); public: QString selectedModules() const; |