From 3f357205eca10333bbe74398ce9640df00192e77 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Wed, 6 Dec 2023 16:46:31 +0100 Subject: [PATCH] OwncloudWizard: Move implementation to cpp-file Signed-off-by: Micke Nordin --- src/gui/wizard/owncloudwizard.cpp | 5 +++++ src/gui/wizard/owncloudwizard.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/gui/wizard/owncloudwizard.cpp b/src/gui/wizard/owncloudwizard.cpp index 37b3ebeea4fc1..238286aa0accd 100644 --- a/src/gui/wizard/owncloudwizard.cpp +++ b/src/gui/wizard/owncloudwizard.cpp @@ -193,6 +193,11 @@ QStringList OwncloudWizard::selectiveSyncBlacklist() const return _advancedSetupPage->selectiveSyncBlacklist(); } +bool OwncloudWizard::useFlow2() const +{ + return _useFlow2; +} + bool OwncloudWizard::useVirtualFileSync() const { return _advancedSetupPage->useVirtualFileSync(); diff --git a/src/gui/wizard/owncloudwizard.h b/src/gui/wizard/owncloudwizard.h index 7b006c7272c25..7f69587a45da7 100644 --- a/src/gui/wizard/owncloudwizard.h +++ b/src/gui/wizard/owncloudwizard.h @@ -65,6 +65,7 @@ class OwncloudWizard : public QWizard [[nodiscard]] QString ocUrl() const; [[nodiscard]] QString localFolder() const; [[nodiscard]] QStringList selectiveSyncBlacklist() const; + [[nodiscard]] bool useFlow2() const; [[nodiscard]] bool useVirtualFileSync() const; [[nodiscard]] bool isConfirmBigFolderChecked() const; @@ -88,7 +89,6 @@ class OwncloudWizard : public QWizard QSslKey _clientSslKey; // key extracted from pkcs12 QSslCertificate _clientSslCertificate; // cert extracted from pkcs12 QList _clientSslCaCertificates; - bool useFlow2() { return _useFlow2; }; public slots: void setAuthType(OCC::DetermineAuthTypeJob::AuthType type);