Skip to content

Commit e3e9297

Browse files
committed
sip fix for xenial
1 parent 234985b commit e3e9297

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

python/analysis/auto_generated/vector/geometry_checker/qgsgeometrycheck.sip.in

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,20 +78,20 @@ the Free Software Foundation; either version 2 of the License, or *
7878
{
7979
Change();
8080

81-
Change( ChangeWhat _what, ChangeType _type, QgsVertexId _vidx = QgsVertexId() );
81+
Change( QgsGeometryCheck::ChangeWhat _what, QgsGeometryCheck::ChangeType _type, QgsVertexId _vidx = QgsVertexId() );
8282
%Docstring
8383
Create a new Change
8484
%End
8585

86-
ChangeWhat what;
86+
QgsGeometryCheck::ChangeWhat what;
8787

88-
ChangeType type;
88+
QgsGeometryCheck::ChangeType type;
8989

9090
QgsVertexId vidx;
91-
bool operator==( const Change &other );
91+
bool operator==( const QgsGeometryCheck::Change &other );
9292
};
9393

94-
typedef QMap<QString, QMap<QgsFeatureId, QList<Change> > > Changes;
94+
typedef QMap<QString, QMap<QgsFeatureId, QList<QgsGeometryCheck::Change> > > Changes;
9595

9696
QgsGeometryCheck( const QgsGeometryCheckContext *context, const QVariantMap &configuration );
9797
%Docstring

python/analysis/auto_generated/vector/geometry_checker/qgsgeometrycheckerutils.sip.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ If useMapCrs was specified, it will already be reprojected into the
6262
CRS specified in the context specified in the constructor.
6363
%End
6464
QString id() const;
65-
bool operator==( const LayerFeature &other ) const;
66-
bool operator!=( const LayerFeature &other ) const;
65+
bool operator==( const QgsGeometryCheckerUtils::LayerFeature &other ) const;
66+
bool operator!=( const QgsGeometryCheckerUtils::LayerFeature &other ) const;
6767

6868
bool useMapCrs() const;
6969
%Docstring

src/analysis/vector/geometry_checker/qgsgeometrycheck.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class ANALYSIS_EXPORT QgsGeometryCheck
126126
/**
127127
* Create a new Change
128128
*/
129-
Change( ChangeWhat _what, ChangeType _type, QgsVertexId _vidx = QgsVertexId() )
129+
Change( QgsGeometryCheck::ChangeWhat _what, QgsGeometryCheck::ChangeType _type, QgsVertexId _vidx = QgsVertexId() )
130130
: what( _what )
131131
, type( _type )
132132
, vidx( _vidx )
@@ -135,18 +135,18 @@ class ANALYSIS_EXPORT QgsGeometryCheck
135135
/**
136136
* What level this change affects.
137137
*/
138-
ChangeWhat what;
138+
QgsGeometryCheck::ChangeWhat what;
139139

140140
/**
141141
* What action this change performs.
142142
*/
143-
ChangeType type;
143+
QgsGeometryCheck::ChangeType type;
144144

145145
/**
146146
* The index of the part / ring / vertex, depending on \see what.
147147
*/
148148
QgsVertexId vidx;
149-
bool operator==( const Change &other )
149+
bool operator==( const QgsGeometryCheck::Change &other )
150150
{
151151
return what == other.what && type == other.type && vidx == other.vidx;
152152
}
@@ -156,7 +156,7 @@ class ANALYSIS_EXPORT QgsGeometryCheck
156156
* A collection of changes.
157157
* Grouped by layer id and feature id.
158158
*/
159-
typedef QMap<QString, QMap<QgsFeatureId, QList<Change> > > Changes;
159+
typedef QMap<QString, QMap<QgsFeatureId, QList<QgsGeometryCheck::Change> > > Changes;
160160

161161
/**
162162
* Create a new geometry check.

src/analysis/vector/geometry_checker/qgsgeometrycheckerutils.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ class ANALYSIS_EXPORT QgsGeometryCheckerUtils
6666
*/
6767
const QgsGeometry &geometry() const;
6868
QString id() const;
69-
bool operator==( const LayerFeature &other ) const;
70-
bool operator!=( const LayerFeature &other ) const;
69+
bool operator==( const QgsGeometryCheckerUtils::LayerFeature &other ) const;
70+
bool operator!=( const QgsGeometryCheckerUtils::LayerFeature &other ) const;
7171

7272
/**
7373
* Returns if the geometry is reprojected to the map CRS or not.
@@ -105,7 +105,7 @@ class ANALYSIS_EXPORT QgsGeometryCheckerUtils
105105
~iterator();
106106
const iterator &operator++();
107107
iterator operator++( int );
108-
const LayerFeature &operator*() const;
108+
const QgsGeometryCheckerUtils::LayerFeature &operator*() const;
109109
bool operator!=( const iterator &other );
110110

111111
private:
@@ -115,7 +115,7 @@ class ANALYSIS_EXPORT QgsGeometryCheckerUtils
115115
QList<QString>::const_iterator mLayerIt;
116116
QgsFeatureIds::const_iterator mFeatureIt;
117117
const LayerFeatures *mParent = nullptr;
118-
std::unique_ptr<LayerFeature> mCurrentFeature;
118+
std::unique_ptr<QgsGeometryCheckerUtils::LayerFeature> mCurrentFeature;
119119
};
120120

121121
iterator begin() const;

0 commit comments

Comments
 (0)