1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
// SPDX-License-Identifier: GPL-2.0 #ifndef QPREF_H #define QPREF_H #include <QObject> #include "core/pref.h" class qPref : public QObject { Q_OBJECT Q_ENUMS(cloud_status); public: qPref(QObject *parent = NULL); static qPref *instance(); // Load/Sync local settings (disk) and struct preference void loadSync(bool doSync); public: private: }; #endif