Selection: move selection functions from divelist.c to selection.c

Since we now have a selection.c translation unit, put the selection-
related functions there.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-11-24 15:02:34 +01:00 committed by bstoeger
parent 7787bfbf9e
commit 4b1a3a1a6e
14 changed files with 142 additions and 127 deletions

View file

@ -9,7 +9,7 @@
#include "desktop-widgets/modeldelegates.h"
#include "desktop-widgets/mainwindow.h"
#include "desktop-widgets/divepicturewidget.h"
#include "core/display.h"
#include "core/selection.h"
#include "core/divefilter.h"
#include <unistd.h>
#include <QSettings>

View file

@ -18,7 +18,7 @@
#include "core/qthelper.h"
#include "libdivecomputer/parser.h"
#include "desktop-widgets/divelistview.h"
#include "core/display.h"
#include "core/selection.h"
#include "profile-widget/profilewidget2.h"
#include "commands/command.h"
#include "core/metadata.h"

View file

@ -11,7 +11,7 @@
#include "core/file.h"
#include "desktop-widgets/mapwidget.h"
#include "desktop-widgets/tab-widgets/maintab.h"
#include "core/display.h"
#include "core/selection.h"
#include "core/membuffer.h"
#include "core/cloudstorage.h"
#include "core/subsurface-string.h"

View file

@ -3,7 +3,7 @@
#include "ui_TabDiveStatistics.h"
#include <core/qthelper.h>
#include <core/display.h>
#include <core/selection.h>
#include <core/statistics.h>
TabDiveStatistics::TabDiveStatistics(QWidget *parent) : TabBase(parent), ui(new Ui::TabDiveStatistics())

View file

@ -12,7 +12,7 @@
#include "core/trip.h"
#include "qt-models/diveplannermodel.h"
#include "desktop-widgets/divelistview.h"
#include "core/display.h"
#include "core/selection.h"
#include "profile-widget/profilewidget2.h"
#include "desktop-widgets/diveplanner.h"
#include "core/divesitehelpers.h"

View file

@ -4,7 +4,7 @@
#include <list>
#include "templatelayout.h"
#include "core/display.h"
#include "core/selection.h"
QList<QString> grantlee_templates, grantlee_statistics_templates;