Skip to content

Commit b5794b2

Browse files
committedNov 8, 2015
sip coverage fixes:
* make sip coverage test aware that there are less classes where QSci sip headers are not available * exclude properties from members * fix QgsFeatureIds typedef (fixes missing signal QgsVectorLayer.featuresDeleted and others) * add missing notes for PyNames * include some missing new methods in bindings
1 parent 53ecc25 commit b5794b2

38 files changed

+537
-67
lines changed
 

‎python/core/dxf/qgsdxfexport.sip

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ class QgsDxfExport
6060
void writeInt( int i );
6161
void writeDouble( double d );
6262
void writeString( const QString &s );
63+
//! @note available in python bindings as writeGroupPoint
6364
void writeGroup( int code, const QgsPoint &p, double z = 0.0, bool skipz = false ) /PyName=writeGroupPoint/;
6465
void writeGroup( const QColor& color, int exactMatch = 62, int rgbCode = 420, int transparencyCode = 440 );
6566

66-
//! Write handle
6767
int writeHandle( int code = 5, int handle = 0 );
6868

69-
//! Draw dxf polyline
69+
//! Draw dxf primitives (LWPOLYLINE)
7070
void writePolyline( const QgsPolyline &line, const QString &layer, const QString &lineStyleName, const QColor& color, double width = -1 );
7171

7272
//! Draw dxf polygon (HATCH)

‎python/core/qgsdataitem.sip

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ class QgsZipItem : QgsDataCollectionItem
354354
static QString vsiPrefix( const QString& uri );
355355

356356
static QgsDataItem* itemFromPath( QgsDataItem* parent, QString path, QString name ) /Factory/;
357+
//! @note available in python as itemFromFilePath
357358
static QgsDataItem* itemFromPath( QgsDataItem* parent, const QString& filePath, const QString& name, const QString& path ) /Factory,PyName=itemFromFilePath/;
358359

359360
static const QIcon &iconZip();

‎python/core/qgsdatasourceuri.sip

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class QgsDataSourceURI
3838
//! Set generic param (generic mode)
3939
// \note if key exists, another is inserted
4040
void setParam( const QString &key, const QString &value );
41+
//! @note available in python as setParamList
4142
void setParam( const QString &key, const QStringList &value ) /PyName=setParamList/;
4243

4344
//! Remove generic param (generic mode)

‎python/core/qgsfeature.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,4 +498,4 @@ class QgsFeature
498498

499499
}; // class QgsFeature
500500

501-
typedef QSet<QgsFeatureId> QgsFeatureIds;
501+
typedef QSet<qint64> QgsFeatureIds;

‎python/core/qgsgml.sip

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class QgsGml: QObject
2121
* @param password password for authentication
2222
* @param authcfg authentication configuration id
2323
* @return 0 in case of success
24+
* @note available in python as getFeaturesUri
2425
*/
2526
int getFeatures( const QString& uri, QGis::WkbType* wkbType, QgsRectangle* extent = 0, const QString& userName = QString(), const QString& password = QString(), const QString& authcfg = QString() ) /PyName=getFeaturesUri/;
2627

0 commit comments

Comments
 (0)
Please sign in to comment.