From 0c35b95500ade41d19f0ba5ae0ea325027f5ef34 Mon Sep 17 00:00:00 2001 From: Kevin Smith <git@kismith.co.uk> Date: Mon, 27 Dec 2010 11:48:46 +0000 Subject: Preparation for wizard completeness checking 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 { -- cgit v0.10.2-6-g49f6