Skip to content

Commit

Permalink
Fix Sip coverage test on Debian nightlies
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 8, 2016
1 parent 06743ef commit 44bf78f
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 6 deletions.
8 changes: 8 additions & 0 deletions python/core/qgsdataitem.sip
Expand Up @@ -317,6 +317,14 @@ class QgsDirectoryItem : QgsDataCollectionItem
};

QgsDirectoryItem( QgsDataItem* parent, const QString& name, const QString& path );

/** Constructor.
* @param parent
* @param name directory name
* @param dirPath path to directory in file system
* @param path item path in the tree, it may be dirPath or dirPath with some prefix, e.g. favourites: */
QgsDirectoryItem( QgsDataItem* parent, const QString& name, const QString& dirPath, const QString& path );

~QgsDirectoryItem();

virtual void setState( State state );
Expand Down
5 changes: 5 additions & 0 deletions src/core/qgsnetworkaccessmanager.cpp
Expand Up @@ -38,6 +38,9 @@

#include "qgsauthmanager.h"

//not part of public API
///@cond
//! @note not available in Python bindings
class QgsNetworkProxyFactory : public QNetworkProxyFactory
{
public:
Expand Down Expand Up @@ -92,6 +95,8 @@ class QgsNetworkProxyFactory : public QNetworkProxyFactory
}
};

///@endcond

//
// Static calls to enforce singleton behaviour
//
Expand Down
1 change: 1 addition & 0 deletions src/core/qgspluginlayer.cpp
Expand Up @@ -42,6 +42,7 @@ QgsLegendSymbologyList QgsPluginLayer::legendSymbologyItems( const QSize& iconSi
/** Fallback layer renderer implementation for layer that do not support map renderer yet.
*
* @note added in 2.4
* @note not available in Python bindings
*/
class QgsPluginLayerRenderer : public QgsMapLayerRenderer
{
Expand Down
24 changes: 18 additions & 6 deletions src/core/qgspointlocator.cpp
Expand Up @@ -56,7 +56,9 @@ static const double POINT_LOC_EPSILON = 1e-12;
////////////////////////////////////////////////////////////////////////////


/** Helper class for bulk loading of R-trees. */
/** Helper class for bulk loading of R-trees.
* @note not available in Python bindings
*/
class QgsPointLocator_Stream : public IDataStream
{
public:
Expand All @@ -78,7 +80,9 @@ class QgsPointLocator_Stream : public IDataStream
////////////////////////////////////////////////////////////////////////////


/** Helper class used when traversing the index looking for vertices - builds a list of matches. */
/** Helper class used when traversing the index looking for vertices - builds a list of matches.
* @note not available in Python bindings
*/
class QgsPointLocator_VisitorNearestVertex : public IVisitor
{
public:
Expand Down Expand Up @@ -116,7 +120,9 @@ class QgsPointLocator_VisitorNearestVertex : public IVisitor
////////////////////////////////////////////////////////////////////////////


/** Helper class used when traversing the index looking for edges - builds a list of matches. */
/** Helper class used when traversing the index looking for edges - builds a list of matches.
* @note not available in Python bindings
*/
class QgsPointLocator_VisitorNearestEdge : public IVisitor
{
public:
Expand Down Expand Up @@ -159,7 +165,9 @@ class QgsPointLocator_VisitorNearestEdge : public IVisitor
////////////////////////////////////////////////////////////////////////////


/** Helper class used when traversing the index with areas - builds a list of matches. */
/** Helper class used when traversing the index with areas - builds a list of matches.
* @note not available in Python bindings
*/
class QgsPointLocator_VisitorArea : public IVisitor
{
public:
Expand Down Expand Up @@ -487,7 +495,9 @@ static QgsPointLocator::MatchList _geometrySegmentsInRect( QgsGeometry* geom, co
return lst;
}

/** Helper class used when traversing the index looking for edges - builds a list of matches. */
/** Helper class used when traversing the index looking for edges - builds a list of matches.
* @note not available in Python bindings
*/
class QgsPointLocator_VisitorEdgesInRect : public IVisitor
{
public:
Expand Down Expand Up @@ -524,7 +534,9 @@ class QgsPointLocator_VisitorEdgesInRect : public IVisitor
////////////////////////////////////////////////////////////////////////////
#include <QStack>

/** Helper class to dump the R-index nodes and their content */
/** Helper class to dump the R-index nodes and their content
* @note not available in Python bindings
*/
class QgsPointLocator_DumpTree : public SpatialIndex::IQueryStrategy
{
private:
Expand Down

0 comments on commit 44bf78f

Please sign in to comment.