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
|
@ -17,6 +17,7 @@
|
|||
#include <QQmlContext>
|
||||
#include <QSortFilterProxyModel>
|
||||
#include "mobile-widgets/qmlmanager.h"
|
||||
#include "mobile-widgets/qmlprefs.h"
|
||||
#include "qt-models/divelistmodel.h"
|
||||
#include "qt-models/gpslistmodel.h"
|
||||
#include "profile-widget/qmlprofile.h"
|
||||
|
@ -55,6 +56,7 @@ void run_ui()
|
|||
{
|
||||
LOG_STP("run_ui starting");
|
||||
qmlRegisterType<QMLManager>("org.subsurfacedivelog.mobile", 1, 0, "QMLManager");
|
||||
qmlRegisterType<QMLPrefs>("org.subsurfacedivelog.mobile", 1, 0, "QMLPrefs");
|
||||
qmlRegisterType<QMLProfile>("org.subsurfacedivelog.mobile", 1, 0, "QMLProfile");
|
||||
|
||||
qmlRegisterType<DownloadThread>("org.subsurfacedivelog.mobile", 1, 0, "DCDownloadThread");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue