diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-12-27 11:48:46 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-12-27 11:48:46 (GMT) |
commit | 0c35b95500ade41d19f0ba5ae0ea325027f5ef34 (patch) | |
tree | 8c95442f246418fbeddd4e8f0d0c0a8b0ee26dc2 /Swift/QtUI/UserSearch | |
parent | 350c4b1b42ac5cd938dc8576107f1abaae13b64a (diff) | |
download | swift-contrib-0c35b95500ade41d19f0ba5ae0ea325027f5ef34.zip swift-contrib-0c35b95500ade41d19f0ba5ae0ea325027f5ef34.tar.bz2 |
Preparation for wizard completeness checking
Diffstat (limited to 'Swift/QtUI/UserSearch')
-rw-r--r-- | Swift/QtUI/UserSearch/QtUserSearchWindow.cpp | 12 | ||||
-rw-r--r-- | Swift/QtUI/UserSearch/QtUserSearchWindow.h | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp b/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp index 356f9e6..acc6a46 100644 --- a/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp +++ b/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp @@ -20,6 +20,18 @@ namespace Swift { +bool QtUserSearchFirstPage::isComplete() { + return true; +} + +bool QtUserSearchFieldsPage::isComplete() { + return true; +} + +bool QtUserSearchResultsPage::isComplete() { + return true; +} + QtUserSearchWindow::QtUserSearchWindow(UIEventStream* eventStream, UserSearchWindow::Type type) : type_(type) { #ifndef Q_WS_MAC setWindowIcon(QIcon(":/logo-icon-16.png")); diff --git a/Swift/QtUI/UserSearch/QtUserSearchWindow.h b/Swift/QtUI/UserSearch/QtUserSearchWindow.h index b4c4dc0..4672d32 100644 --- a/Swift/QtUI/UserSearch/QtUserSearchWindow.h +++ b/Swift/QtUI/UserSearch/QtUserSearchWindow.h @@ -28,6 +28,7 @@ namespace Swift { QtUserSearchFirstPage() { setupUi(this); } + virtual bool isComplete(); }; class QtUserSearchFieldsPage : public QWizardPage, public Ui::QtUserSearchFieldsPage { @@ -36,6 +37,7 @@ namespace Swift { QtUserSearchFieldsPage() { setupUi(this); } + virtual bool isComplete(); }; class QtUserSearchResultsPage : public QWizardPage, public Ui::QtUserSearchResultsPage { @@ -44,6 +46,7 @@ namespace Swift { QtUserSearchResultsPage() { setupUi(this); } + virtual bool isComplete(); }; class QtUserSearchWindow : public QWizard, public UserSearchWindow, private Ui::QtUserSearchWizard { |