core/settings ... : remove qPref* includes in qPref.h

reduce number of includes by removing qPref* includes in qPref.h

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-09-08 19:46:11 +02:00 committed by Dirk Hohndel
parent 1ee7265972
commit 2385f48c6a
26 changed files with 48 additions and 39 deletions

View file

@ -33,9 +33,11 @@
#include "core/downloadfromdcthread.h"
#include "core/subsurface-string.h"
#include "core/pref.h"
#include "core/settings/qPref.h"
#include "core/ssrf.h"
#include "core/settings/qPrefGeneral.h"
#include "core/settings/qPrefLocationService.h"
#include "core/settings/qPrefTechnicalDetails.h"
#include "core/settings/qPrefPartialPressureGas.h"
QMLManager *QMLManager::m_instance = NULL;
bool noCloudToCloud = false;

View file

@ -3,7 +3,6 @@
#include "qmlmanager.h"
#include "core/membuffer.h"
#include "core/settings/qPref.h"
#include "core/gpslocation.h"

View file

@ -3,7 +3,8 @@
#define QMLPREFS_H
#include <QObject>
#include "core/settings/qPref.h"
#include "core/settings/qPrefCloudStorage.h"
#include "core/settings/qPrefDisplay.h"
class QMLPrefs : public QObject {