subsurface/mobile-widgets/qml
Berthold Stoeger bfe69239df Import: unglobalize downloadTable
To make data flow more clear, unglobalize the downloadTable object.
Make it a subobject of DownloadThread. The difficult part was making
this compatible with QML, because somehow the pointer to the
download-table has to be passed to the DiveImportedModel. Desktop would
simply pass it to the constructor. But with objects generated in QML
this is not possible. Instead, pass the table in the repopulate()
function. This seems to make sense, but for this to work, we have to
declare pointer-to-dive-table as a Q_METATYPE. And this only works
if we use a typedef, because MOC removes the "struct" from "struct
dive_table". This leads to compilation errors, because dive_table is
the symbol-name of the global dive table! Sigh.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2018-12-17 07:37:32 -08:00
..
icons Mobile/filtering: add icons for filter and sort 2018-10-23 22:45:29 +01:00
About.qml Mobile QML UI: bump Kirigami imports to 2.4 2018-10-01 05:29:46 -07:00
CloudCredentials.qml Mobile: factor out syncToCloud [3/3] 2018-10-09 10:03:21 -07:00
DiveDetails.qml Mobile: Allow multiple divemasters 2018-11-15 18:10:13 +08:00
DiveDetailsEdit.qml Mobile QML UI: bump Kirigami imports to 2.4 2018-10-01 05:29:46 -07:00
DiveDetailsView.qml Dive site: replace UUID by pointer in mobile code 2018-10-29 00:09:31 +00:00
DiveList.qml Mobile: don't format trip heading for all dives 2018-11-23 13:22:24 -08:00
DownloadedDiveDelegate.qml QML UI: set proper active background color for downloaded dives 2018-10-07 17:43:34 +03:00
DownloadFromDiveComputer.qml Import: unglobalize downloadTable 2018-12-17 07:37:32 -08:00
GpsList.qml QML UI, trivial: set proper background color GPS list 2018-10-07 17:43:34 +03:00
HintsTextEdit.qml Mobile QML UI: bump Kirigami imports to 2.4 2018-10-01 05:29:46 -07:00
Log.qml Mobile QML UI: bump Kirigami imports to 2.4 2018-10-01 05:29:46 -07:00
main.qml Mobile/filtering: make busy indicator smaller 2018-10-23 22:45:30 +01:00
MapPage.qml Dive site: replace UUID by pointer in mobile code 2018-10-29 00:09:31 +00:00
mobile-resources.qrc Support for copy-pasting specific fields on mobile 2018-11-18 06:31:44 +08:00
qtquickcontrols2.conf QML UI: Fully port dive edit to Kirigami2 2017-04-01 09:35:51 +02:00
Settings.qml Mobile/filtering: add Settings options for filtering 2018-10-23 22:45:30 +01:00
SsrfButton.qml Mobile QML UI: bump Kirigami imports to 2.4 2018-10-01 05:29:46 -07:00
SsrfCheckBox.qml Mobile QML UI: bump Kirigami imports to 2.4 2018-10-01 05:29:46 -07:00
SsrfSwitch.qml Mobile UI: make SsrfSwitch resizable 2018-10-21 14:43:41 -04:00
StartPage.qml Mobile QML UI: bump Kirigami imports to 2.4 2018-10-01 05:29:46 -07:00
ThemeTest.qml Mobile QML UI: bump Kirigami imports to 2.4 2018-10-01 05:29:46 -07:00