subsurface/desktop-widgets/preferences/preferences_cloud.h
Dirk Hohndel 3eb5ea9adf desktop: add password reset to cloud preferences
This must be the number one support request we get. I can't believe we never
thought of adding a button to do this.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2024-01-25 10:42:48 -08:00

29 lines
534 B
C++

// SPDX-License-Identifier: GPL-2.0
#ifndef PREFERENCES_CLOUD_H
#define PREFERENCES_CLOUD_H
#include "abstractpreferenceswidget.h"
namespace Ui {
class PreferencesCloud;
}
class PreferencesCloud : public AbstractPreferencesWidget {
Q_OBJECT
public:
PreferencesCloud();
~PreferencesCloud();
void refreshSettings() override;
void syncSettings() override;
public slots:
void updateCloudAuthenticationState();
void passwordUpdateSuccessful();
void on_resetPassword_clicked();
private:
Ui::PreferencesCloud *ui;
};
#endif