diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2014-08-25 17:21:49 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2014-09-10 14:07:15 +0200 |
commit | 8e18fd08a294116287289ed6039a964872d55395 (patch) | |
tree | 52027aa4a486ec2f6df1840275fb312d29b3105e /src/libs/utils/projectintropage.h | |
parent | be9e4d71b3c81edf974f3aaf48d72b33ba9177b7 (diff) |
Utils: Make wizard pages derive from Utils::WizardPage
Utils::WizardPage has a bit of helper code to the Utils::Wizard to
query registered fields later on. Without this code it will print
warnings whenever something tries to read a field that does not
exist.
Make the wizard pages defined in Utils export some fields.
Change-Id: I907be327a8b1b8691f90773470630582503d294a
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/libs/utils/projectintropage.h')
-rw-r--r-- | src/libs/utils/projectintropage.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libs/utils/projectintropage.h b/src/libs/utils/projectintropage.h index e10055c719..19fabcb839 100644 --- a/src/libs/utils/projectintropage.h +++ b/src/libs/utils/projectintropage.h @@ -31,14 +31,13 @@ #define PROJECTINTROPAGE_H #include "utils_global.h" - -#include <QWizardPage> +#include "wizardpage.h" namespace Utils { struct ProjectIntroPagePrivate; -class QTCREATOR_UTILS_EXPORT ProjectIntroPage : public QWizardPage +class QTCREATOR_UTILS_EXPORT ProjectIntroPage : public WizardPage { Q_OBJECT Q_PROPERTY(QString description READ description WRITE setPath DESIGNABLE true) |