summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/qt5/netdhcppage.cc6
-rw-r--r--ui/qt5/netdhcppage.hh9
2 files changed, 10 insertions, 5 deletions
diff --git a/ui/qt5/netdhcppage.cc b/ui/qt5/netdhcppage.cc
index 5a16af2..4428538 100644
--- a/ui/qt5/netdhcppage.cc
+++ b/ui/qt5/netdhcppage.cc
@@ -3,7 +3,7 @@
* horizon-qt5, the Qt 5 user interface for
* Project Horizon
*
- * Copyright (c) 2019 Adélie Linux and contributors. All rights reserved.
+ * Copyright (c) 2019-2020 Adélie Linux and contributors. All rights reserved.
* This code is licensed under the AGPL 3.0 license, as noted in the
* LICENSE-code file in the root directory of this repository.
*
@@ -160,3 +160,7 @@ void NetDHCPPage::initializePage() {
bool NetDHCPPage::isComplete() const {
return online;
}
+
+int NetDHCPPage::nextId() const {
+ return HorizonWizard::Page_DateTime;
+}
diff --git a/ui/qt5/netdhcppage.hh b/ui/qt5/netdhcppage.hh
index 5d0f3fd..84aaff6 100644
--- a/ui/qt5/netdhcppage.hh
+++ b/ui/qt5/netdhcppage.hh
@@ -3,7 +3,7 @@
* horizon-qt5, the Qt 5 user interface for
* Project Horizon
*
- * Copyright (c) 2019 Adélie Linux and contributors. All rights reserved.
+ * Copyright (c) 2019-2020 Adélie Linux and contributors. All rights reserved.
* This code is licensed under the AGPL 3.0 license, as noted in the
* LICENSE-code file in the root directory of this repository.
*
@@ -23,10 +23,11 @@
class NetDHCPPage : public HorizonWizardPage {
public:
- NetDHCPPage(QWidget *parent = nullptr);
+ explicit NetDHCPPage(QWidget *parent = nullptr);
- void initializePage();
- bool isComplete() const;
+ void initializePage() override;
+ bool isComplete() const override;
+ int nextId() const override;
private:
StepProgressWidget *progress;
QLabel *information;