diff options
author | Andreas Holzammer <andreas.holzammer.qnx@kdab.com> | 2012-04-25 13:21:12 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@nokia.com> | 2012-04-25 16:17:08 +0200 |
commit | 84a7443c75ea3c22d06290ec1fa2e6cf193b20f1 (patch) | |
tree | 0515956273f7822aa5b4970b7684824738d7683b /src/libs/installer/component.h | |
parent | f691fd7ae2b1c9494174128289f1ade9e5ebdb03 (diff) |
Add possibility to verify custom pages.
Introduce setValidatorForCustomPage, to set a validator
for a custom page.
Change-Id: I24739d9544c20e0b2b1beab1ae90f8b98cc3d542
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Diffstat (limited to 'src/libs/installer/component.h')
-rw-r--r-- | src/libs/installer/component.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libs/installer/component.h b/src/libs/installer/component.h index 44f9e795b..6ac3056ec 100644 --- a/src/libs/installer/component.h +++ b/src/libs/installer/component.h @@ -193,6 +193,10 @@ public: bool isSelected() const; bool forcedInstallation() const; + void setValidatorCallbackName(const QString &name); + + bool validatePage(); + public Q_SLOTS: void setSelected(bool selected); void setAutoCreateOperations(bool autoCreateOperations); @@ -220,6 +224,7 @@ private: const QString ¶meter10 = QString()); private: + QString validatorCallbackName; ComponentPrivate *d; }; |