mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-17 23:16:16 +00:00
showPin is no longer used so remove it. Signed-off-by: Jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
33 lines
671 B
C++
33 lines
671 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef QMLPREFS_H
|
|
#define QMLPREFS_H
|
|
|
|
#include <QObject>
|
|
#include "core/settings/qPrefCloudStorage.h"
|
|
#include "core/settings/qPrefDisplay.h"
|
|
|
|
|
|
class QMLPrefs : public QObject {
|
|
Q_OBJECT
|
|
Q_PROPERTY(qPrefCloudStorage::cloud_status oldStatus
|
|
MEMBER m_oldStatus
|
|
WRITE setOldStatus
|
|
NOTIFY oldStatusChanged)
|
|
public:
|
|
QMLPrefs();
|
|
~QMLPrefs();
|
|
|
|
static QMLPrefs *instance();
|
|
|
|
qPrefCloudStorage::cloud_status oldStatus() const;
|
|
void setOldStatus(const qPrefCloudStorage::cloud_status value);
|
|
|
|
private:
|
|
static QMLPrefs *m_instance;
|
|
qPrefCloudStorage::cloud_status m_oldStatus;
|
|
|
|
signals:
|
|
void oldStatusChanged();
|
|
};
|
|
|
|
#endif
|