mobile: add qmlprefs class

add class to cmake and pro
register class

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-06-12 10:29:40 +02:00 committed by Dirk Hohndel
parent 54db1309a0
commit d0e9f62624
6 changed files with 55 additions and 0 deletions

25
mobile-widgets/qmlprefs.h Normal file
View file

@ -0,0 +1,25 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef QMLPREFS_H
#define QMLPREFS_H
#include <QObject>
class QMLPrefs : public QObject {
Q_OBJECT
public:
QMLPrefs();
~QMLPrefs();
static QMLPrefs *instance();
public slots:
private:
static QMLPrefs *m_instance;
signals:
};
#endif