Cleanup: lower-case filenames in core/subsurface-qt/

We tend to use lower-case filenames. Let's do it for these files
as well. Simple search & replace.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-02-03 19:33:06 +01:00 committed by Dirk Hohndel
parent 3ad1a5c7c7
commit 9ed886e4be
31 changed files with 40 additions and 40 deletions

View file

@ -2,7 +2,7 @@
#include "command_base.h" #include "command_base.h"
#include "core/qthelper.h" // for updateWindowTitle() #include "core/qthelper.h" // for updateWindowTitle()
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
namespace Command { namespace Command {

View file

@ -5,7 +5,7 @@
#include "core/display.h" // for amount_selected #include "core/display.h" // for amount_selected
#include "core/qthelper.h" #include "core/qthelper.h"
#include "core/selection.h" #include "core/selection.h"
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
#include "qt-models/filtermodels.h" #include "qt-models/filtermodels.h"
#include "../profile-widget/profilewidget2.h" #include "../profile-widget/profilewidget2.h"
#include "core/divefilter.h" #include "core/divefilter.h"
@ -143,7 +143,7 @@ DivesAndTripsToAdd DiveListBase::removeDives(DivesAndSitesToRemove &divesAndSite
} }
divesAndSitesToDelete.sites.clear(); divesAndSitesToDelete.sites.clear();
// We send one dives-deleted signal per trip (see comments in DiveListNotifier.h). // We send one dives-deleted signal per trip (see comments in divelistnotifier.h).
// Therefore, collect all dives in an array and sort by trip. // Therefore, collect all dives in an array and sort by trip.
std::vector<std::pair<dive_trip *, dive *>> dives; std::vector<std::pair<dive_trip *, dive *>> dives;
dives.reserve(divesToAdd.size()); dives.reserve(divesToAdd.size());

View file

@ -2,7 +2,7 @@
#include "command_divesite.h" #include "command_divesite.h"
#include "core/divesite.h" #include "core/divesite.h"
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
#include "core/qthelper.h" #include "core/qthelper.h"
#include "core/subsurface-string.h" #include "core/subsurface-string.h"
#include "qt-models/divelocationmodel.h" #include "qt-models/divelocationmodel.h"

View file

@ -5,7 +5,7 @@
#define COMMAND_EDIT_H #define COMMAND_EDIT_H
#include "command_base.h" #include "command_base.h"
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
#include <QVector> #include <QVector>

View file

@ -5,7 +5,7 @@
#define COMMAND_EDIT_TRIP_H #define COMMAND_EDIT_TRIP_H
#include "command_base.h" #include "command_base.h"
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
#include <QVector> #include <QVector>

View file

@ -220,12 +220,12 @@ set(SUBSURFACE_CORE_LIB_SRCS
settings/qPrefUpdateManager.h settings/qPrefUpdateManager.h
#Subsurface Qt have the Subsurface structs QObjectified for easy access via QML. #Subsurface Qt have the Subsurface structs QObjectified for easy access via QML.
subsurface-qt/CylinderObjectHelper.cpp subsurface-qt/cylinderobjecthelper.cpp
subsurface-qt/CylinderObjectHelper.h subsurface-qt/cylinderobjecthelper.h
subsurface-qt/DiveListNotifier.cpp subsurface-qt/divelistnotifier.cpp
subsurface-qt/DiveListNotifier.h subsurface-qt/divelistnotifier.h
subsurface-qt/DiveObjectHelper.cpp subsurface-qt/diveobjecthelper.cpp
subsurface-qt/DiveObjectHelper.h subsurface-qt/diveobjecthelper.h
${SERIAL_FTDI} ${SERIAL_FTDI}
${PLATFORM_SRC} ${PLATFORM_SRC}

View file

@ -4,7 +4,7 @@
#include "selection.h" #include "selection.h"
#include "divelist.h" #include "divelist.h"
#include "display.h" // for amount_selected #include "display.h" // for amount_selected
#include "subsurface-qt/DiveListNotifier.h" #include "subsurface-qt/divelistnotifier.h"
#include <QVector> #include <QVector>

View file

@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
#include "CylinderObjectHelper.h" #include "cylinderobjecthelper.h"
#include "../qthelper.h" #include "../qthelper.h"
static QString EMPTY_CYLINDER_STRING = QStringLiteral(""); static QString EMPTY_CYLINDER_STRING = QStringLiteral("");

View file

@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
#include "DiveListNotifier.h" #include "divelistnotifier.h"
DiveListNotifier diveListNotifier; DiveListNotifier diveListNotifier;

View file

@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
#include "DiveObjectHelper.h" #include "diveobjecthelper.h"
#include <QDateTime> #include <QDateTime>
#include <QTextDocument> #include <QTextDocument>

View file

@ -2,7 +2,7 @@
#ifndef DIVE_QOBJECT_H #ifndef DIVE_QOBJECT_H
#define DIVE_QOBJECT_H #define DIVE_QOBJECT_H
#include "CylinderObjectHelper.h" #include "cylinderobjecthelper.h"
#include <QObject> #include <QObject>
#include <QString> #include <QString>
#include <QStringList> #include <QStringList>

View file

@ -16,7 +16,7 @@
#include <QLineEdit> #include <QLineEdit>
#include <QNetworkAccessManager> #include <QNetworkAccessManager>
#include "qt-models/divetripmodel.h" #include "qt-models/divetripmodel.h"
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
class DiveListView : public QTreeView { class DiveListView : public QTreeView {
Q_OBJECT Q_OBJECT

View file

@ -9,7 +9,7 @@
#include "core/divefilter.h" #include "core/divefilter.h"
#include "core/divesitehelpers.h" #include "core/divesitehelpers.h"
#include "desktop-widgets/modeldelegates.h" #include "desktop-widgets/modeldelegates.h"
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
#include "core/taxonomy.h" #include "core/taxonomy.h"
#include "core/settings/qPrefUnit.h" #include "core/settings/qPrefUnit.h"
#include "commands/command.h" #include "commands/command.h"

View file

@ -38,7 +38,7 @@
#include "core/settings/qPrefPartialPressureGas.h" #include "core/settings/qPrefPartialPressureGas.h"
#include "core/settings/qPrefTechnicalDetails.h" #include "core/settings/qPrefTechnicalDetails.h"
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
#include "desktop-widgets/about.h" #include "desktop-widgets/about.h"
#include "desktop-widgets/divecomputermanagementdialog.h" #include "desktop-widgets/divecomputermanagementdialog.h"

View file

@ -3,7 +3,7 @@
#define MAPWIDGET_H #define MAPWIDGET_H
#include "core/units.h" #include "core/units.h"
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
#include <QQuickWidget> #include <QQuickWidget>
#include <QList> #include <QList>

View file

@ -3,7 +3,7 @@
#define TAB_DIVE_INFORMATION_H #define TAB_DIVE_INFORMATION_H
#include "TabBase.h" #include "TabBase.h"
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
namespace Ui { namespace Ui {
class TabDiveInformation; class TabDiveInformation;

View file

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
#include "TabDiveSite.h" #include "TabDiveSite.h"
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
#include "core/divesite.h" #include "core/divesite.h"
#include "core/divefilter.h" #include "core/divefilter.h"
#include "qt-models/divelocationmodel.h" #include "qt-models/divelocationmodel.h"

View file

@ -3,7 +3,7 @@
#define TAB_DIVE_STATISTICS_H #define TAB_DIVE_STATISTICS_H
#include "TabBase.h" #include "TabBase.h"
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
namespace Ui { namespace Ui {
class TabDiveStatistics; class TabDiveStatistics;

View file

@ -17,7 +17,7 @@
#include "qt-models/completionmodels.h" #include "qt-models/completionmodels.h"
#include "qt-models/divelocationmodel.h" #include "qt-models/divelocationmodel.h"
#include "core/dive.h" #include "core/dive.h"
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
class ExtraDataModel; class ExtraDataModel;
class DivePictureModel; class DivePictureModel;

View file

@ -8,8 +8,8 @@
#include "printoptions.h" #include "printoptions.h"
#include "core/statistics.h" #include "core/statistics.h"
#include "core/qthelper.h" #include "core/qthelper.h"
#include "core/subsurface-qt/DiveObjectHelper.h" #include "core/subsurface-qt/diveobjecthelper.h"
#include "core/subsurface-qt/CylinderObjectHelper.h" // TODO: remove once grantlee supports Q_GADGET objects #include "core/subsurface-qt/cylinderobjecthelper.h" // TODO: remove once grantlee supports Q_GADGET objects
int getTotalWork(print_options *printOptions); int getTotalWork(print_options *printOptions);
void find_all_templates(); void find_all_templates();

View file

@ -3,7 +3,7 @@
#define QMLMAPWIDGETHELPER_H #define QMLMAPWIDGETHELPER_H
#include "core/units.h" #include "core/units.h"
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
#include <QObject> #include <QObject>
#include <QGeoCoordinate> #include <QGeoCoordinate>

View file

@ -105,8 +105,8 @@ SOURCES += ../../subsurface-mobile-main.cpp \
../../core/settings/qPrefLog.cpp \ ../../core/settings/qPrefLog.cpp \
../../core/settings/qPrefMedia.cpp \ ../../core/settings/qPrefMedia.cpp \
../../core/settings/qPrefUpdateManager.cpp \ ../../core/settings/qPrefUpdateManager.cpp \
../../core/subsurface-qt/CylinderObjectHelper.cpp \ ../../core/subsurface-qt/cylinderobjecthelper.cpp \
../../core/subsurface-qt/DiveObjectHelper.cpp \ ../../core/subsurface-qt/diveobjecthelper.cpp \
../../core/subsurface-qt/DiveListNotifier.cpp \ ../../core/subsurface-qt/DiveListNotifier.cpp \
../../backend-shared/divesummary.cpp \ ../../backend-shared/divesummary.cpp \
../../backend-shared/exportfuncs.cpp \ ../../backend-shared/exportfuncs.cpp \
@ -240,9 +240,9 @@ HEADERS += \
../../core/settings/qPrefLog.h \ ../../core/settings/qPrefLog.h \
../../core/settings/qPrefMedia.h \ ../../core/settings/qPrefMedia.h \
../../core/settings/qPrefUpdateManager.h \ ../../core/settings/qPrefUpdateManager.h \
../../core/subsurface-qt/CylinderObjectHelper.h \ ../../core/subsurface-qt/cylinderobjecthelper.h \
../../core/subsurface-qt/DiveObjectHelper.h \ ../../core/subsurface-qt/diveobjecthelper.h \
../../core/subsurface-qt/DiveListNotifier.h \ ../../core/subsurface-qt/divelistnotifier.h \
../../backend-shared/divesummary.h \ ../../backend-shared/divesummary.h \
../../backend-shared/exportfuncs.h \ ../../backend-shared/exportfuncs.h \
../../backend-shared/plannershared.h \ ../../backend-shared/plannershared.h \

View file

@ -7,7 +7,7 @@
#include "core/color.h" #include "core/color.h"
#include "qt-models/diveplannermodel.h" #include "qt-models/diveplannermodel.h"
#include "core/gettextfromc.h" #include "core/gettextfromc.h"
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
CylindersModel::CylindersModel(QObject *parent) : CylindersModel::CylindersModel(QObject *parent) :
CleanerTableModel(parent), CleanerTableModel(parent),

View file

@ -5,7 +5,7 @@
#include <QAbstractListModel> #include <QAbstractListModel>
#include <QSortFilterProxyModel> #include <QSortFilterProxyModel>
#include "core/subsurface-qt/DiveObjectHelper.h" #include "core/subsurface-qt/diveobjecthelper.h"
class CollapsedDiveListSortModel : public QSortFilterProxyModel class CollapsedDiveListSortModel : public QSortFilterProxyModel
{ {

View file

@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
#include "core/units.h" #include "core/units.h"
#include "qt-models/divelocationmodel.h" #include "qt-models/divelocationmodel.h"
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
#include "core/qthelper.h" #include "core/qthelper.h"
#include "core/divesite.h" #include "core/divesite.h"
#include "core/metrics.h" #include "core/metrics.h"

View file

@ -3,7 +3,7 @@
#define DIVETRIPMODEL_H #define DIVETRIPMODEL_H
#include "core/dive.h" #include "core/dive.h"
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
#include <QAbstractItemModel> #include <QAbstractItemModel>
class DiveFilter; class DiveFilter;

View file

@ -4,7 +4,7 @@
#include "core/qthelper.h" #include "core/qthelper.h"
#include "core/trip.h" #include "core/trip.h"
#include "core/subsurface-string.h" #include "core/subsurface-string.h"
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
#include "qt-models/divetripmodel.h" #include "qt-models/divetripmodel.h"
MultiFilterSortModel *MultiFilterSortModel::instance() MultiFilterSortModel *MultiFilterSortModel::instance()

View file

@ -2,7 +2,7 @@
#ifndef MAPLOCATIONMODEL_H #ifndef MAPLOCATIONMODEL_H
#define MAPLOCATIONMODEL_H #define MAPLOCATIONMODEL_H
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
#include <QObject> #include <QObject>
#include <QVector> #include <QVector>
#include <QHash> #include <QHash>

View file

@ -4,7 +4,7 @@
#include "core/gettextfromc.h" #include "core/gettextfromc.h"
#include "core/metrics.h" #include "core/metrics.h"
#include "core/qthelper.h" #include "core/qthelper.h"
#include "core/subsurface-qt/DiveListNotifier.h" #include "core/subsurface-qt/divelistnotifier.h"
#include "qt-models/weightsysteminfomodel.h" #include "qt-models/weightsysteminfomodel.h"
#ifndef SUBSURFACE_MOBILE #ifndef SUBSURFACE_MOBILE
#include "commands/command.h" #include "commands/command.h"