aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/wizard.h
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2010-10-27 12:51:33 +0200
committercon <qtc-committer@nokia.com>2010-10-27 12:51:33 +0200
commit6954d898933865c993b4f4e0bce4e697a9b1341c (patch)
treef84cb29d0b478f47fec2d8294c177344be787d02 /src/libs/utils/wizard.h
parent54569c0624d9db00faff9711877647b81746ae55 (diff)
Fix replacement of variables in wizard parameters.
This was broken in case of no targets page being used, and using the project name variable in default values for wizard parameters in the page following the intro page (like it is done in the hello world wizard). Reviewed-by: Friedemann Kleint
Diffstat (limited to 'src/libs/utils/wizard.h')
-rw-r--r--src/libs/utils/wizard.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libs/utils/wizard.h b/src/libs/utils/wizard.h
index 94993deb30a..e116637a449 100644
--- a/src/libs/utils/wizard.h
+++ b/src/libs/utils/wizard.h
@@ -57,6 +57,11 @@ public:
void setStartId(int pageId);
WizardProgress *wizardProgress() const;
+ virtual bool validateCurrentPage();
+
+signals:
+ void nextClicked(); /* workaround for QWizard behavior where page->initialize is
+ called before currentIdChanged */
private slots:
void _q_currentPageChanged(int pageId);