Skip to content

Commit 44bf78f

Browse files
committed
Fix Sip coverage test on Debian nightlies
1 parent 06743ef commit 44bf78f

File tree

4 files changed

+32
-6
lines changed

4 files changed

+32
-6
lines changed

python/core/qgsdataitem.sip

+8
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,14 @@ class QgsDirectoryItem : QgsDataCollectionItem
317317
};
318318

319319
QgsDirectoryItem( QgsDataItem* parent, const QString& name, const QString& path );
320+
321+
/** Constructor.
322+
* @param parent
323+
* @param name directory name
324+
* @param dirPath path to directory in file system
325+
* @param path item path in the tree, it may be dirPath or dirPath with some prefix, e.g. favourites: */
326+
QgsDirectoryItem( QgsDataItem* parent, const QString& name, const QString& dirPath, const QString& path );
327+
320328
~QgsDirectoryItem();
321329

322330
virtual void setState( State state );

src/core/qgsnetworkaccessmanager.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838

3939
#include "qgsauthmanager.h"
4040

41+
//not part of public API
42+
///@cond
43+
//! @note not available in Python bindings
4144
class QgsNetworkProxyFactory : public QNetworkProxyFactory
4245
{
4346
public:
@@ -92,6 +95,8 @@ class QgsNetworkProxyFactory : public QNetworkProxyFactory
9295
}
9396
};
9497

98+
///@endcond
99+
95100
//
96101
// Static calls to enforce singleton behaviour
97102
//

src/core/qgspluginlayer.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ QgsLegendSymbologyList QgsPluginLayer::legendSymbologyItems( const QSize& iconSi
4242
/** Fallback layer renderer implementation for layer that do not support map renderer yet.
4343
*
4444
* @note added in 2.4
45+
* @note not available in Python bindings
4546
*/
4647
class QgsPluginLayerRenderer : public QgsMapLayerRenderer
4748
{

src/core/qgspointlocator.cpp

+18-6
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ static const double POINT_LOC_EPSILON = 1e-12;
5656
////////////////////////////////////////////////////////////////////////////
5757

5858

59-
/** Helper class for bulk loading of R-trees. */
59+
/** Helper class for bulk loading of R-trees.
60+
* @note not available in Python bindings
61+
*/
6062
class QgsPointLocator_Stream : public IDataStream
6163
{
6264
public:
@@ -78,7 +80,9 @@ class QgsPointLocator_Stream : public IDataStream
7880
////////////////////////////////////////////////////////////////////////////
7981

8082

81-
/** Helper class used when traversing the index looking for vertices - builds a list of matches. */
83+
/** Helper class used when traversing the index looking for vertices - builds a list of matches.
84+
* @note not available in Python bindings
85+
*/
8286
class QgsPointLocator_VisitorNearestVertex : public IVisitor
8387
{
8488
public:
@@ -116,7 +120,9 @@ class QgsPointLocator_VisitorNearestVertex : public IVisitor
116120
////////////////////////////////////////////////////////////////////////////
117121

118122

119-
/** Helper class used when traversing the index looking for edges - builds a list of matches. */
123+
/** Helper class used when traversing the index looking for edges - builds a list of matches.
124+
* @note not available in Python bindings
125+
*/
120126
class QgsPointLocator_VisitorNearestEdge : public IVisitor
121127
{
122128
public:
@@ -159,7 +165,9 @@ class QgsPointLocator_VisitorNearestEdge : public IVisitor
159165
////////////////////////////////////////////////////////////////////////////
160166

161167

162-
/** Helper class used when traversing the index with areas - builds a list of matches. */
168+
/** Helper class used when traversing the index with areas - builds a list of matches.
169+
* @note not available in Python bindings
170+
*/
163171
class QgsPointLocator_VisitorArea : public IVisitor
164172
{
165173
public:
@@ -487,7 +495,9 @@ static QgsPointLocator::MatchList _geometrySegmentsInRect( QgsGeometry* geom, co
487495
return lst;
488496
}
489497

490-
/** Helper class used when traversing the index looking for edges - builds a list of matches. */
498+
/** Helper class used when traversing the index looking for edges - builds a list of matches.
499+
* @note not available in Python bindings
500+
*/
491501
class QgsPointLocator_VisitorEdgesInRect : public IVisitor
492502
{
493503
public:
@@ -524,7 +534,9 @@ class QgsPointLocator_VisitorEdgesInRect : public IVisitor
524534
////////////////////////////////////////////////////////////////////////////
525535
#include <QStack>
526536

527-
/** Helper class to dump the R-index nodes and their content */
537+
/** Helper class to dump the R-index nodes and their content
538+
* @note not available in Python bindings
539+
*/
528540
class QgsPointLocator_DumpTree : public SpatialIndex::IQueryStrategy
529541
{
530542
private:

0 commit comments

Comments
 (0)