mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
54db1309a0
commit
d0e9f62624
6 changed files with 55 additions and 0 deletions
25
mobile-widgets/qmlprefs.h
Normal file
25
mobile-widgets/qmlprefs.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue