diff options
Diffstat (limited to 'mobile-widgets/qmlprefs.h')
-rw-r--r-- | mobile-widgets/qmlprefs.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/mobile-widgets/qmlprefs.h b/mobile-widgets/qmlprefs.h deleted file mode 100644 index 99ba038e2..000000000 --- a/mobile-widgets/qmlprefs.h +++ /dev/null @@ -1,33 +0,0 @@ -// 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 |