Skip to content

Commit

Permalink
forward declarations for QgsMapLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Oct 8, 2018
1 parent f86b86b commit d000157
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 9 deletions.
1 change: 1 addition & 0 deletions python/core/auto_generated/qgsmaplayerstylemanager.sip.in
Expand Up @@ -11,6 +11,7 @@







class QgsMapLayerStyleManager : QObject class QgsMapLayerStyleManager : QObject
{ {
%Docstring %Docstring
Expand Down
1 change: 1 addition & 0 deletions python/gui/auto_generated/qgsmetadatawidget.sip.in
Expand Up @@ -10,6 +10,7 @@







class QgsMetadataWidget : QWidget class QgsMetadataWidget : QWidget
{ {
%Docstring %Docstring
Expand Down
2 changes: 2 additions & 0 deletions src/app/vertextool/qgsvertexentry.cpp
Expand Up @@ -14,6 +14,8 @@
***************************************************************************/ ***************************************************************************/


#include "vertextool/qgsvertexentry.h" #include "vertextool/qgsvertexentry.h"
#include "qgsmaplayer.h"
#include "qgsmapcanvas.h"


QgsVertexEntry::QgsVertexEntry( QgsMapCanvas *canvas, QgsMapLayer *layer, const QgsPoint &p, QgsVertexId vertexId, const QString &tooltip, QgsVertexMarker::IconType type, int penWidth ) QgsVertexEntry::QgsVertexEntry( QgsMapCanvas *canvas, QgsMapLayer *layer, const QgsPoint &p, QgsVertexId vertexId, const QString &tooltip, QgsVertexMarker::IconType type, int penWidth )
: mSelected( false ) : mSelected( false )
Expand Down
5 changes: 3 additions & 2 deletions src/app/vertextool/qgsvertexentry.h
Expand Up @@ -18,8 +18,9 @@


#include "qgspoint.h" #include "qgspoint.h"
#include "qgsvertexmarker.h" #include "qgsvertexmarker.h"
#include "qgsmapcanvas.h"
#include "qgsmaplayer.h" class QgsMapLayer;
class QgsMapCanvas;


class QgsVertexEntry class QgsVertexEntry
{ {
Expand Down
1 change: 1 addition & 0 deletions src/core/layertree/qgslayertreemodel.cpp
Expand Up @@ -25,6 +25,7 @@


#include "qgsdataitem.h" #include "qgsdataitem.h"
#include "qgsmaphittest.h" #include "qgsmaphittest.h"
#include "qgsmaplayer.h"
#include "qgsmaplayerlegend.h" #include "qgsmaplayerlegend.h"
#include "qgsmaplayerstylemanager.h" #include "qgsmaplayerstylemanager.h"
#include "qgspluginlayer.h" #include "qgspluginlayer.h"
Expand Down
2 changes: 0 additions & 2 deletions src/core/layertree/qgslayertreemodel.h
Expand Up @@ -24,14 +24,12 @@
#include <memory> #include <memory>


#include "qgsgeometry.h" #include "qgsgeometry.h"
#include "qgsmaplayer.h"
#include "qgslayertreemodellegendnode.h" #include "qgslayertreemodellegendnode.h"


class QgsLayerTreeNode; class QgsLayerTreeNode;
class QgsLayerTreeGroup; class QgsLayerTreeGroup;
class QgsLayerTreeLayer; class QgsLayerTreeLayer;
class QgsMapHitTest; class QgsMapHitTest;
class QgsMapLayer;
class QgsMapSettings; class QgsMapSettings;
class QgsExpression; class QgsExpression;
class QgsRenderContext; class QgsRenderContext;
Expand Down
2 changes: 2 additions & 0 deletions src/core/qgsmaplayerstyle.cpp
Expand Up @@ -16,6 +16,8 @@
#include "qgsmaplayerstyle.h" #include "qgsmaplayerstyle.h"
#include "qgsmaplayerstylemanager.h" #include "qgsmaplayerstylemanager.h"
#include "qgsreadwritecontext.h" #include "qgsreadwritecontext.h"
#include "qgsmaplayer.h"



#include "qgslogger.h" #include "qgslogger.h"


Expand Down
1 change: 1 addition & 0 deletions src/core/qgsmaplayerstylemanager.cpp
Expand Up @@ -15,6 +15,7 @@


#include "qgsmaplayerstylemanager.h" #include "qgsmaplayerstylemanager.h"
#include "qgsmaplayerstyle.h" #include "qgsmaplayerstyle.h"
#include "qgsmaplayer.h"


#include "qgslogger.h" #include "qgslogger.h"


Expand Down
3 changes: 2 additions & 1 deletion src/core/qgsmaplayerstylemanager.h
Expand Up @@ -18,7 +18,6 @@


#include "qgis_core.h" #include "qgis_core.h"
#include "qgis_sip.h" #include "qgis_sip.h"
#include "qgsmaplayer.h"
#include "qgsmaplayerstyle.h" #include "qgsmaplayerstyle.h"


#include <QByteArray> #include <QByteArray>
Expand All @@ -29,6 +28,8 @@


class QDomElement; class QDomElement;


class QgsMapLayer;

/** /**
* \ingroup core * \ingroup core
* Management of styles for use with one map layer. Stored styles are identified by their names. The manager * Management of styles for use with one map layer. Stored styles are identified by their names. The manager
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsproject.h
Expand Up @@ -40,7 +40,6 @@
#include "qgscoordinatereferencesystem.h" #include "qgscoordinatereferencesystem.h"
#include "qgscoordinatetransformcontext.h" #include "qgscoordinatetransformcontext.h"
#include "qgsprojectproperty.h" #include "qgsprojectproperty.h"
#include "qgsmaplayer.h"
#include "qgsmaplayerstore.h" #include "qgsmaplayerstore.h"
#include "qgsarchive.h" #include "qgsarchive.h"
#include "qgsreadwritecontext.h" #include "qgsreadwritecontext.h"
Expand Down Expand Up @@ -70,6 +69,7 @@ class QgsLayoutManager;
class QgsLayerTree; class QgsLayerTree;
class QgsLabelingEngineSettings; class QgsLabelingEngineSettings;
class QgsAuxiliaryStorage; class QgsAuxiliaryStorage;
class QgsMapLayer;


/** /**
* \ingroup core * \ingroup core
Expand Down
3 changes: 2 additions & 1 deletion src/gui/qgsmetadatawidget.h
Expand Up @@ -23,10 +23,11 @@
#include "qgis_gui.h" #include "qgis_gui.h"
#include "qgscoordinatereferencesystem.h" #include "qgscoordinatereferencesystem.h"
#include "qgsdataprovider.h" #include "qgsdataprovider.h"
#include "qgsmaplayer.h"
#include "qgslayermetadata.h" #include "qgslayermetadata.h"
#include "ui_qgsmetadatawidget.h" #include "ui_qgsmetadatawidget.h"


class QgsMapLayer;

/** /**
* \ingroup gui * \ingroup gui
* \class QgsMetadataWidget * \class QgsMetadataWidget
Expand Down
3 changes: 2 additions & 1 deletion src/plugins/evis/idtool/eviseventidtool.h
Expand Up @@ -30,13 +30,14 @@
#include <QMouseEvent> #include <QMouseEvent>
#include <QWidget> #include <QWidget>


#include "qgsmaplayer.h"
#include "qgsmaptool.h" #include "qgsmaptool.h"
#include "qgsmapcanvas.h" #include "qgsmapcanvas.h"
#include "qgspointxy.h" #include "qgspointxy.h"


#include "evisgenericeventbrowsergui.h" #include "evisgenericeventbrowsergui.h"


class QgsMapLayer;

/** /**
* \class eVisEventIdTool * \class eVisEventIdTool
* \brief Map tool for launching event browser * \brief Map tool for launching event browser
Expand Down
2 changes: 1 addition & 1 deletion src/server/services/wms/qgslayerrestorer.h
Expand Up @@ -20,7 +20,7 @@


#include <QList> #include <QList>


#include "qgsmaplayer.h" class QgsMapLayer;


/** /**
* \ingroup server * \ingroup server
Expand Down

0 comments on commit d000157

Please sign in to comment.