diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2017-05-26 16:40:50 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-05-27 11:07:20 -0700 |
commit | 7858376727ee467ae59a18d84d40e3148ea3e38b (patch) | |
tree | 9dc19db2ec7facb3641e79f3804685803d2c063b /subsurface-mobile-helper.cpp | |
parent | 85e92597b561f349d24f2181e763c6ed381654ce (diff) | |
download | subsurface-7858376727ee467ae59a18d84d40e3148ea3e38b.tar.gz |
QML UI: add the DownloadThread
For this I had to also make the DCDeviceData accessible,
and for that it needed to be a pointer.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-mobile-helper.cpp')
-rw-r--r-- | subsurface-mobile-helper.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-mobile-helper.cpp b/subsurface-mobile-helper.cpp index 4d960181c..dec4fa160 100644 --- a/subsurface-mobile-helper.cpp +++ b/subsurface-mobile-helper.cpp @@ -37,6 +37,9 @@ void run_ui() qmlRegisterType<QMLManager>("org.subsurfacedivelog.mobile", 1, 0, "QMLManager"); qmlRegisterType<QMLProfile>("org.subsurfacedivelog.mobile", 1, 0, "QMLProfile"); + qmlRegisterType<DCDeviceData>("org.subsurfacedivelog.mobile", 1, 0, "DCDeviceData"); + qmlRegisterType<DownloadThread>("org.subsurfacedivelog.mobile", 1, 0, "DCDownloadThread"); + QQmlApplicationEngine engine; KirigamiPlugin::getInstance().registerTypes(); #if __APPLE__ |