subsurface/mobile-widgets
Berthold Stoeger f542dc4030 Import: add trip_table argument to DiveImportedModel::repopulate()
In the future we want to download trips into a distinct trip-table
instead of the global trip-table to allow for undo of import.

Therefore add a trip_table argument to DiveImportedModel::repopulate()
and a trip_table member to DiveImportedModel. To correctly set these,
add a DownloadThread::trips() function, which currently simply returns
the global trip table.

Finally, make "struct trip_table *" a Q_METATYPE, so that the corresponding
arguments can be passed from QML.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-01-09 20:58:04 -08:00
..
qml Import: add trip_table argument to DiveImportedModel::repopulate() 2019-01-09 20:58:04 -08:00
qmlmanager.cpp Parser: add trip_table parameter to parsing functions 2019-01-09 20:58:04 -08:00
qmlmanager.h Mobile: add helper function to fill in the BT name 2018-12-21 14:52:02 -08:00
qmlprefs.cpp Mobile: set units system in "No cloud mode" 2018-09-19 14:41:11 -07:00
qmlprefs.h mobile-widgets: replace qmlprefs::theme with qPrefDisplay::theme 2018-09-12 20:18:32 -07:00