Skip to content

Commit

Permalink
OwncloudWizard: Move implementation to cpp-file
Browse files Browse the repository at this point in the history
Signed-off-by: Micke Nordin <[email protected]>
  • Loading branch information
mickenordin committed Jan 19, 2024
1 parent 42012a0 commit 6ca4ace
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/gui/wizard/owncloudwizard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@ QStringList OwncloudWizard::selectiveSyncBlacklist() const
return _advancedSetupPage->selectiveSyncBlacklist();
}

bool OwncloudWizard::useFlow2() const
{
return _useFlow2;
}

bool OwncloudWizard::useVirtualFileSync() const
{
return _advancedSetupPage->useVirtualFileSync();
Expand Down
2 changes: 1 addition & 1 deletion src/gui/wizard/owncloudwizard.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -88,7 +89,6 @@ class OwncloudWizard : public QWizard
QSslKey _clientSslKey; // key extracted from pkcs12
QSslCertificate _clientSslCertificate; // cert extracted from pkcs12
QList<QSslCertificate> _clientSslCaCertificates;
bool useFlow2() { return _useFlow2; };

public slots:
void setAuthType(OCC::DetermineAuthTypeJob::AuthType type);
Expand Down

0 comments on commit 6ca4ace

Please sign in to comment.