[PATCH] Separate downloadfromdivecomputer code into a separate class

Willem Ferguson willemferguson at zoology.up.ac.za
Wed Feb 3 22:37:57 PST 2016


     [PATCH] Separate downloadfromdivecomputer code into a separate class

     This patch provides a separate class for downloading divelogs from
     dive computers, used for implementing common code used by both the
     desktop and mobile versions of Subsurface. The new class is called
     DownloadManager, inherited from QObject. The models used by
     vendor and product comboboxes are implemented with QStringListModel,
     both of these as members of DownloadManager that passes these
     models to both the desktop and mobile applications. Two points:

     1) At this stage only the desktop-oriented code is implemented. The
     addition of mobile-oriented code is the next step.

     2) DownloadManager will include several functions, signals and slots
     in addition to the present code.

     Signed-off-by: Willem Ferguson <willemferguson at zoology.up.ac.za>

At the moment, downloadmanager is in the Desktop-widgets. This is
for development purposes only because it is handy to have
downloadfromdivecomputer.cpp close to downloadmanager.cpp
Kind regards,
willem

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-PATCH-Separate-downloadfromdivecomputer-code-into-a-.patch
Type: text/x-diff
Size: 13720 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160204/1f400748/attachment.patch>


More information about the subsurface mailing list