Skip to content

Commit

Permalink
forward declarations for QgsMapCanvas
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Oct 8, 2018
1 parent d000157 commit 775d603
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 7 deletions.
1 change: 1 addition & 0 deletions src/app/gps/qgsgpsinformationwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include "qgssettings.h"
#include "qgsstatusbar.h"
#include "gmath.h"
#include "qgsmapcanvas.h"

// QWT Charting widget

Expand Down
2 changes: 1 addition & 1 deletion src/app/gps/qgsgpsinformationwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

#include "gmath.h"
#include "info.h"
#include "qgsmapcanvas.h"
#include "qgsgpsmarker.h"
#include "qgsmaptoolcapture.h"
#include <qwt_plot_curve.h>
Expand All @@ -35,6 +34,7 @@ class QextSerialPort;
class QgsGpsConnection;
class QgsGpsTrackerThread;
struct QgsGpsInformation;
class QgsMapCanvas;

class QFile;
class QColor;
Expand Down
1 change: 1 addition & 0 deletions src/app/qgsmapsavedialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include "qgsmaprenderertask.h"
#include "qgsproject.h"
#include "qgssettings.h"
#include "qgsmapcanvas.h"

#include <QClipboard>
#include <QCheckBox>
Expand Down
4 changes: 3 additions & 1 deletion src/app/qgsmapsavedialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@
#include "ui_qgsmapsavedialog.h"

#include "qgisapp.h"
#include "qgsmapcanvas.h"
#include "qgsmapdecoration.h"
#include "qgsrectangle.h"
#include "qgshelp.h"

#include <QDialog>
#include <QSize>

class QgsMapCanvas;


/**
* \ingroup app
* \brief a dialog for saving a map to an image.
Expand Down
2 changes: 2 additions & 0 deletions src/app/vertextool/qgsselectedfeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
#include "qgslayertreeview.h"
#include "qgsproject.h"
#include "qgsstatusbar.h"
#include "qgsmapcanvas.h"


QgsSelectedFeature::QgsSelectedFeature( QgsFeatureId featureId,
QgsVectorLayer *vlayer,
Expand Down
1 change: 1 addition & 0 deletions src/gui/qgsexpressionselectiondialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include "qgsapplication.h"
#include "qgsexpression.h"
#include "qgsgeometry.h"
#include "qgsmapcanvas.h"
#include "qgsmessagebar.h"
#include "qgsvectorlayer.h"
#include "qgssettings.h"
Expand Down
4 changes: 2 additions & 2 deletions src/gui/qgsexpressionselectiondialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@

#include "ui_qgsexpressionselectiondialogbase.h"
#include "qgis.h"

#include "qgsmapcanvas.h"
#include "qgsmessagebar.h"
#include "qgshelp.h"

#include <QDialog>
#include "qgis_gui.h"

class QgsMapCanvas;

/**
* \ingroup gui
* This class offers a dialog to change feature selections.
Expand Down
6 changes: 4 additions & 2 deletions src/gui/qgsmetadatawidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
#ifndef QgsAbstractMetadataBaseWIDGET_H
#define QgsAbstractMetadataBaseWIDGET_H

#include "QStandardItemModel"
#include "QStyledItemDelegate"
#include <QStandardItemModel>
#include <QStyledItemDelegate>
#include <QStringListModel>

#include "qgis_gui.h"
#include "qgscoordinatereferencesystem.h"
Expand All @@ -27,6 +28,7 @@
#include "ui_qgsmetadatawidget.h"

class QgsMapLayer;
class QgsMapCanvas;

/**
* \ingroup gui
Expand Down
3 changes: 2 additions & 1 deletion src/plugins/evis/eventbrowser/evisgenericeventbrowsergui.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,15 @@

#include "qgsmaptool.h"
#include "qgsfeature.h"
#include "qgsmapcanvas.h"
#include "qgisinterface.h"
#include "qgsvectordataprovider.h"

#include "evisconfiguration.h"

#include "ui_evisgenericeventbrowserguibase.h"

class QgsMapCanvas;

/**
* \class eVisGenericEventBrowserGui
* \brief Generic viewer for browsing event
Expand Down

0 comments on commit 775d603

Please sign in to comment.