Skip to content

Commit 10d262f

Browse files
committedJul 27, 2015
also install qgspointv2.h
1 parent 70fe622 commit 10d262f

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed
 

‎src/core/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,7 @@ SET(QGIS_CORE_HDRS
707707
geometry/qgsgeometry.h
708708
geometry/qgsabstractgeometryv2.h
709709
geometry/qgswkbtypes.h
710+
geometry/qgspointv2.h
710711
)
711712

712713
IF (QT_MOBILITY_LOCATION_FOUND OR Qt5Positioning_FOUND)

‎src/core/qgsvectorlayer.cpp

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@
3434
#include <QVector>
3535

3636
#include "qgsvectorlayer.h"
37-
3837
#include "qgsattributeaction.h"
39-
4038
#include "qgis.h" //for globals
4139
#include "qgsapplication.h"
4240
#include "qgsclipper.h"
@@ -71,7 +69,7 @@
7169
#include "qgsvectorlayerjoinbuffer.h"
7270
#include "qgsvectorlayerrenderer.h"
7371
#include "qgsvectorlayerundocommand.h"
74-
72+
#include "qgspointv2.h"
7573
#include "qgsrendererv2.h"
7674
#include "qgssymbolv2.h"
7775
#include "qgssymbollayerv2.h"
@@ -2197,7 +2195,7 @@ bool QgsVectorLayer::deleteAttributes( QList<int> attrs )
21972195

21982196
qSort( attrs.begin(), attrs.end(), qGreater<int>() );
21992197

2200-
Q_FOREACH( int attr, attrs )
2198+
Q_FOREACH ( int attr, attrs )
22012199
{
22022200
if ( deleteAttribute( attr ) )
22032201
{
@@ -2971,7 +2969,7 @@ void QgsVectorLayer::uniqueValues( int index, QList<QVariant> &uniqueValues, int
29712969
if ( mEditBuffer )
29722970
{
29732971
QSet<QString> vals;
2974-
Q_FOREACH( const QVariant& v, uniqueValues )
2972+
Q_FOREACH ( const QVariant& v, uniqueValues )
29752973
{
29762974
vals << v.toString();
29772975
}
@@ -3779,7 +3777,7 @@ void QgsVectorLayer::invalidateSymbolCountedFlag()
37793777

37803778
void QgsVectorLayer::onRelationsLoaded()
37813779
{
3782-
Q_FOREACH( QgsAttributeEditorElement* elem, mAttributeEditorElements )
3780+
Q_FOREACH ( QgsAttributeEditorElement* elem, mAttributeEditorElements )
37833781
{
37843782
if ( elem->type() == QgsAttributeEditorElement::AeTypeContainer )
37853783
{
@@ -3788,7 +3786,7 @@ void QgsVectorLayer::onRelationsLoaded()
37883786
continue;
37893787

37903788
QList<QgsAttributeEditorElement*> relations = cont->findElements( QgsAttributeEditorElement::AeTypeRelation );
3791-
Q_FOREACH( QgsAttributeEditorElement* relElem, relations )
3789+
Q_FOREACH ( QgsAttributeEditorElement* relElem, relations )
37923790
{
37933791
QgsAttributeEditorRelation* rel = dynamic_cast< QgsAttributeEditorRelation* >( relElem );
37943792
if ( !rel )
@@ -3857,7 +3855,7 @@ QDomElement QgsAttributeEditorContainer::toDomElement( QDomDocument& doc ) const
38573855
QDomElement elem = doc.createElement( "attributeEditorContainer" );
38583856
elem.setAttribute( "name", mName );
38593857

3860-
Q_FOREACH( QgsAttributeEditorElement* child, mChildren )
3858+
Q_FOREACH ( QgsAttributeEditorElement* child, mChildren )
38613859
{
38623860
elem.appendChild( child->toDomElement( doc ) );
38633861
}
@@ -3878,7 +3876,7 @@ QList<QgsAttributeEditorElement*> QgsAttributeEditorContainer::findElements( Qgs
38783876
{
38793877
QList<QgsAttributeEditorElement*> results;
38803878

3881-
Q_FOREACH( QgsAttributeEditorElement* elem, mChildren )
3879+
Q_FOREACH ( QgsAttributeEditorElement* elem, mChildren )
38823880
{
38833881
if ( elem->type() == type )
38843882
{

‎src/core/qgsvectorlayer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#include "qgsfeatureiterator.h"
3131
#include "qgseditorwidgetconfig.h"
3232
#include "qgsfield.h"
33-
#include "qgspointv2.h"
3433
#include "qgssnapper.h"
3534
#include "qgsrelation.h"
3635
#include "qgsvectorsimplifymethod.h"
@@ -61,6 +60,7 @@ class QgsSymbolV2;
6160
class QgsVectorDataProvider;
6261
class QgsVectorLayerEditBuffer;
6362
class QgsVectorLayerJoinBuffer;
63+
class QgsPointV2;
6464

6565
typedef QList<int> QgsAttributeList;
6666
typedef QSet<int> QgsAttributeIds;

‎src/core/qgsvectorlayereditutils.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include "qgsgeometrycache.h"
1919
#include "qgsvectorlayereditbuffer.h"
2020
#include "qgslogger.h"
21+
#include "qgspointv2.h"
2122

2223
#include <limits>
2324

0 commit comments

Comments
 (0)
Please sign in to comment.