Skip to content

Commit

Permalink
forward declaration of QgsPoint
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Oct 9, 2018
1 parent 159eb09 commit ef1efeb
Show file tree
Hide file tree
Showing 21 changed files with 37 additions and 19 deletions.
1 change: 1 addition & 0 deletions python/core/auto_generated/geometry/qgsbox3d.sip.in
Expand Up @@ -9,6 +9,7 @@




class QgsBox3d
{
%Docstring
Expand Down
1 change: 1 addition & 0 deletions python/core/auto_generated/geometry/qgscircle.sip.in
Expand Up @@ -13,6 +13,7 @@




class QgsCircle : QgsEllipse
{
%Docstring
Expand Down
Expand Up @@ -11,6 +11,7 @@




class QgsGeometryCollection: QgsAbstractGeometry
{
%Docstring
Expand Down
Expand Up @@ -9,6 +9,7 @@




class QgsLayerMetadataFormatter
{
%Docstring
Expand Down
1 change: 0 additions & 1 deletion python/core/auto_generated/symbology/qgssymbol.sip.in
Expand Up @@ -10,7 +10,6 @@




typedef QList<QgsSymbolLayer *> QgsSymbolLayerList;

class QgsSymbol
Expand Down
12 changes: 8 additions & 4 deletions src/analysis/interpolation/DualEdgeTriangulation.h
Expand Up @@ -17,21 +17,25 @@
#ifndef DUALEDGETRIANGULATION_H
#define DUALEDGETRIANGULATION_H

#include "Triangulation.h"
#include "qgis_sip.h"
#include "HalfEdge.h"
#include <QVector>
#include <QList>
#include <QSet>
#include <QColor>
#include <QFile>
#include <QTextStream>
#include <QMessageBox>
#include <cfloat>
#include <QBuffer>
#include <QStringList>
#include <QCursor>

#include <cfloat>

#include "qgis_sip.h"
#include "qgis_analysis.h"
#include "qgspoint.h"

#include "Triangulation.h"
#include "HalfEdge.h"

#define SIP_NO_FILE

Expand Down
8 changes: 6 additions & 2 deletions src/analysis/interpolation/NormVecDecorator.cpp
Expand Up @@ -14,11 +14,15 @@
* *
***************************************************************************/

#include "NormVecDecorator.h"
#include <QApplication>

#include "qgsfeedback.h"
#include "qgslogger.h"
#include "qgsfields.h"
#include <QApplication>
#include "qgspoint.h"

#include "NormVecDecorator.h"


NormVecDecorator::~NormVecDecorator()
{
Expand Down
5 changes: 4 additions & 1 deletion src/analysis/interpolation/TriangleInterpolator.h
Expand Up @@ -17,10 +17,13 @@
#ifndef TINTERPOLATOR_H
#define TINTERPOLATOR_H

#include "qgspoint.h"
#include "Vector3D.h"

#include "qgis_sip.h"
#include "qgis_analysis.h"

class QgsPoint;

#define SIP_NO_FILE

/**
Expand Down
2 changes: 1 addition & 1 deletion src/analysis/network/qgsgraphdirector.h
Expand Up @@ -21,12 +21,12 @@
#include <QList>

#include "qgis.h"
#include "qgspoint.h"
#include "qgsfeedback.h"
#include "qgsnetworkstrategy.h"
#include "qgis_analysis.h"

class QgsGraphBuilderInterface;
class QgsPoint;

#ifdef SIP_RUN
% ModuleHeaderCode
Expand Down
1 change: 1 addition & 0 deletions src/core/dxf/qgsdxfpaintdevice.cpp
Expand Up @@ -17,6 +17,7 @@

#include "qgsdxfpaintdevice.h"
#include "qgsdxfpaintengine.h"
#include "qgspoint.h"

QgsDxfPaintDevice::QgsDxfPaintDevice( QgsDxfExport *dxf )
{
Expand Down
2 changes: 1 addition & 1 deletion src/core/dxf/qgsdxfpaintengine.h
Expand Up @@ -23,8 +23,8 @@
#include "qgis_core.h"
#include <QPaintEngine>
#include "qgsabstractgeometry.h"
#include "qgspoint.h"

class QgsPoint;
class QgsDxfExport;
class QgsDxfPaintDevice;

Expand Down
1 change: 1 addition & 0 deletions src/core/geometry/qgsbox3d.cpp
Expand Up @@ -16,6 +16,7 @@
***************************************************************************/

#include "qgsbox3d.h"
#include "qgspoint.h"


QgsBox3d::QgsBox3d( double xmin, double ymin, double zmin, double xmax, double ymax, double zmax )
Expand Down
3 changes: 2 additions & 1 deletion src/core/geometry/qgsbox3d.h
Expand Up @@ -20,7 +20,8 @@

#include "qgis_core.h"
#include "qgsrectangle.h"
#include "qgspoint.h"

class QgsPoint;

/**
* \ingroup core
Expand Down
3 changes: 2 additions & 1 deletion src/core/geometry/qgscircle.h
Expand Up @@ -22,12 +22,13 @@

#include "qgis_core.h"
#include "qgsellipse.h"
#include "qgspoint.h"
#include "qgspolygon.h"
#include "qgsrectangle.h"
#include "qgscircularstring.h"


class QgsPoint;

/**
* \ingroup core
* \class QgsCircle
Expand Down
3 changes: 2 additions & 1 deletion src/core/geometry/qgsgeometrycollection.h
Expand Up @@ -22,7 +22,8 @@ email : marco.hugentobler at sourcepole dot com
#include "qgis_core.h"
#include "qgis.h"
#include "qgsabstractgeometry.h"
#include "qgspoint.h"

class QgsPoint;


/**
Expand Down
2 changes: 2 additions & 0 deletions src/core/metadata/qgslayermetadataformatter.h
Expand Up @@ -18,6 +18,8 @@
#ifndef QGSLAYERMETADATAFORMATTER_H
#define QGSLAYERMETADATAFORMATTER_H

#include <QCoreApplication>

#include "qgis.h"
#include "qgis_core.h"
#include "qgslayermetadata.h"
Expand Down
1 change: 0 additions & 1 deletion src/core/qgstessellator.h
Expand Up @@ -24,7 +24,6 @@ class QgsMultiPolygon;

#include <QVector>
#include <memory>
#include "qgspoint.h"

/**
* \ingroup core
Expand Down
1 change: 1 addition & 0 deletions src/core/simplify/effectivearea.cpp
Expand Up @@ -23,6 +23,7 @@
**********************************************************************/

#include "effectivearea.h"
#include "qgspoint.h"

static MINHEAP initiate_minheap( int npoints )
{
Expand Down
1 change: 0 additions & 1 deletion src/core/simplify/effectivearea.h
Expand Up @@ -24,7 +24,6 @@

#include "qgsabstractgeometry.h"
#include "qgscurve.h"
#include "qgspoint.h"

#define SIP_NO_FILE

Expand Down
4 changes: 1 addition & 3 deletions src/core/symbology/qgssymbol.h
Expand Up @@ -21,7 +21,6 @@
#include <QList>
#include <QMap>
#include "qgsmapunitscale.h"
#include "qgspoint.h"
#include "qgsfeature.h"
#include "qgsfields.h"
#include "qgsrendercontext.h"
Expand All @@ -33,10 +32,8 @@ class QPainter;
class QSize;
class QPointF;
class QPolygonF;

class QDomDocument;
class QDomElement;
//class

class QgsFields;
class QgsSymbolLayer;
Expand All @@ -51,6 +48,7 @@ class QgsFeatureRenderer;
class QgsCurve;
class QgsPolygon;
class QgsExpressionContext;
class QgsPoint;

typedef QList<QgsSymbolLayer *> QgsSymbolLayerList;

Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsmaptool.h
Expand Up @@ -19,7 +19,6 @@
#include "qgsconfig.h"
#include "qgis.h"
#include "qgsmessagebar.h"
#include "qgspoint.h"
#include "qgsmapmouseevent.h"

#include <QCursor>
Expand All @@ -35,6 +34,7 @@ class QgsRenderContext;
class QKeyEvent;
class QMouseEvent;
class QWheelEvent;
class QgsPoint;
class QgsPointXY;
class QgsRectangle;
class QPoint;
Expand Down

0 comments on commit ef1efeb

Please sign in to comment.