Skip to content
Permalink
Browse files

Remove unnecessary includes

  • Loading branch information
peppsac committed Jan 22, 2019
1 parent 4048d37 commit 96a9a7238a8ef7e6a43abe9dbe07d9aab1b55b4a
@@ -10,6 +10,7 @@




class QgsAnnotation : QObject
{
%Docstring
@@ -11,6 +11,7 @@




%ModuleHeaderCode
#include "qgsmeshlayerinterpolator.h"
%End
@@ -9,6 +9,7 @@




class QgsProjectMetadata : QgsAbstractMetadataBase
{
%Docstring
@@ -22,11 +22,12 @@
#include "qgis.h"
#include "qgspointxy.h"
#include "qgscoordinatereferencesystem.h"
#include "qgsrendercontext.h"
#include "qgssymbol.h"
#include "qgsmargins.h"
#include "qgsmaplayer.h"

class QgsRenderContext;

/**
* \ingroup core
* \class QgsAnnotation
@@ -14,9 +14,6 @@
***************************************************************************/
#include "qgsdiagram.h"
#include "qgsdiagramrenderer.h"
#include "qgsrendercontext.h"
#include "qgsexpression.h"
#include "qgssymbollayerutils.h"

#include <QPainter>

@@ -21,6 +21,7 @@
#define SIP_NO_FILE

#include "qgis_core.h"
#include "qgswkbtypes.h"
#include <QString>
#include <memory>

@@ -22,14 +22,14 @@

#include "qgis_core.h"
#include "qgsmaplayer.h"
#include "qgsrendercontext.h"
#include "qgsmeshdataprovider.h"
#include "qgsmeshrenderersettings.h"

class QgsMapLayerRenderer;
struct QgsMeshLayerRendererCache;
class QgsSymbol;
class QgsTriangularMesh;
class QgsRenderContext;
struct QgsMesh;

/**
@@ -29,12 +29,13 @@ class QgsMeshDatasetIndex;

#include <QSize>
#include "qgsmaplayerrenderer.h"
#include "qgsrendercontext.h"
#include "qgstriangularmesh.h"
#include "qgsrasterinterface.h"
#include "qgssinglebandpseudocolorrenderer.h"
#include "qgsrastershader.h"

class QgsRenderContext;

#ifdef SIP_RUN
% ModuleHeaderCode
#include "qgsmeshlayerinterpolator.h"
@@ -29,12 +29,13 @@ class QgsMeshLayer;

#include "qgsmaplayerrenderer.h"
#include "qgsrasterinterface.h"
#include "qgsrendercontext.h"
#include "qgstriangularmesh.h"
#include "qgsmeshlayer.h"
#include "qgssymbol.h"
#include "qgsmeshdataprovider.h"

class QgsRenderContext;

///@cond PRIVATE

/**
@@ -26,11 +26,12 @@

#include "qgis_core.h"
#include "qgsmeshdataprovider.h"
#include "qgsrendercontext.h"
#include "qgstriangularmesh.h"
#include "qgsmeshlayer.h"
#include "qgspointxy.h"

class QgsRenderContext;

///@cond PRIVATE

/**
@@ -13,6 +13,7 @@
* *
***************************************************************************/
#include <QStringBuilder>
#include <QDateTime>

#include "qgslayermetadataformatter.h"
#include "qgslayermetadata.h"
@@ -22,6 +22,8 @@
#include "qgis_core.h"
#include "qgsabstractmetadatabase.h"

#include <QDateTime>

/**
* \ingroup core
* \class QgsProjectMetadata
@@ -19,7 +19,7 @@
#define QGSMEMORYPROVIDERUTILS_H

#include "qgis_core.h"
#include "qgis.h"
#include "qgswkbtypes.h"
#include "qgscoordinatereferencesystem.h"
#include <QString>
#include <QVariant>
@@ -18,25 +18,12 @@
#ifndef QGIS_H
#define QGIS_H

#include <QEvent>
#include <QString>
#include <QMetaType>
#include <QMap>
#include <QMetaEnum>
#include <QVariant>
#include <QDateTime>
#include <QDate>
#include <QTime>
#include <QHash>
#include <cstdlib>
#include <cfloat>
#include <memory>
#include <type_traits>
#include <cmath>
#include <qnumeric.h>

#include "qgstolerance.h"
#include "qgswkbtypes.h"
#include "qgis_core.h"
#include "qgis_sip.h"

@@ -27,6 +27,7 @@
#include <QMap>
#include <QHash>
#include <QReadWriteLock>
#include <QExplicitlySharedDataPointer>

//qgis includes
#include "qgis.h"
@@ -22,6 +22,7 @@
#include "qgis.h"
#include "qgsdatumtransform.h"

#include <QExplicitlySharedDataPointer>
class QgsCoordinateReferenceSystem;
class QgsReadWriteContext;
class QgsCoordinateTransformContextPrivate;
@@ -20,7 +20,8 @@
#define QGSDATASOURCEURI_H

#include "qgis_core.h"
#include "qgis.h"
#include "qgis_sip.h"
#include "qgswkbtypes.h"

#include <QMap>

@@ -20,6 +20,7 @@
#include <QMap>
#include <QObject>
#include <QDebug>
#include <QDateTime>

/***************************************************************************
* This class is considered CRITICAL and any change MUST be accompanied with
@@ -24,7 +24,6 @@
#include <QSize>
#include <QStringList>

#include "qgsabstractgeometry.h"
#include "qgscoordinatereferencesystem.h"
#include "qgslabelingenginesettings.h"
#include "qgsmaptopixel.h"
@@ -23,7 +23,6 @@
#include <QColor>
#include <memory>

#include "qgsabstractgeometry.h"
#include "qgscoordinatetransform.h"
#include "qgsexpressioncontext.h"
#include "qgsfeaturefilterprovider.h"
@@ -15,7 +15,6 @@

#include "qgis.h"
#include "qgsvectorsimplifymethod.h"
#include "qgsvectorlayer.h"

QgsVectorSimplifyMethod::QgsVectorSimplifyMethod()
: mSimplifyHints( Qgis::DEFAULT_MAPTOPIXEL_THRESHOLD > 1 ? QgsVectorSimplifyMethod::FullSimplification : QgsVectorSimplifyMethod::GeometrySimplification )
@@ -19,7 +19,7 @@ email : hugo dot mercier at oslandia dot com

#include "qgis_core.h"
#include "qgsfields.h"
#include "qgis.h"
#include "qgswkbtypes.h"

/**
* \ingroup core
@@ -22,7 +22,8 @@
#include <QStringList>
#include <QDomElement>

#include "qgis.h"
// #include "qgis.h"
#include "qgswkbtypes.h"

class QgsFeatureRenderer;
class QgsReadWriteContext;
@@ -19,7 +19,7 @@
#define QGSGEOMETRYRUBBERBAND_H

#include "qgsmapcanvasitem.h"
#include "qgis.h"
#include "qgswkbtypes.h"
#include <QBrush>
#include <QPen>
#include "qgis_gui.h"
@@ -16,7 +16,7 @@
#ifndef QGSMAPTOOLEDIT_H
#define QGSMAPTOOLEDIT_H

#include "qgis.h"
#include "qgswkbtypes.h"
#include "qgsmaptool.h"
#include "qgis_gui.h"

@@ -19,7 +19,7 @@

#include "ui_qgsnewmemorylayerdialogbase.h"
#include "qgsguiutils.h"
#include "qgis.h"
#include "qgswkbtypes.h"
#include "qgshelp.h"
#include "qgis_gui.h"

@@ -21,7 +21,7 @@
#include "qgsguiutils.h"
#include "qgshelp.h"

#include "qgis.h"
#include "qgswkbtypes.h"
#include "qgis_gui.h"

/**
@@ -20,7 +20,7 @@

#include <QStandardItemModel>

#include "qgis.h"
#include "qgswkbtypes.h"

//! Layer Property structure
struct QgsMssqlLayerProperty
@@ -18,7 +18,7 @@
#define QGSPGTABLEMODEL_H
#include <QStandardItemModel>

#include "qgis.h"
#include "qgswkbtypes.h"
#include "qgspostgresconn.h"

class QIcon;
@@ -17,7 +17,7 @@

#include <QStandardItemModel>
class QIcon;
#include "qgis.h"
#include "qgswkbtypes.h"

/**
* A model that holds the tables of a database in a hierarchy where the

0 comments on commit 96a9a72

Please sign in to comment.
You can’t perform that action at this time.