Metatype Qgs(Referenced)Rectangle/PointXY

This commit is contained in:
Nyall Dawson 2017-08-31 15:19:28 +10:00
parent 1194b5abea
commit 6ab7ebadec
5 changed files with 18 additions and 0 deletions

View File

@ -320,6 +320,7 @@ Copy constructor
};
/************************************************************************
* This file has been generated automatically from *
* *

View File

@ -67,8 +67,11 @@ class QgsReferencedRectangle : QgsRectangle, QgsReferencedGeometryBase
and ``crs``.
%End
QgsReferencedRectangle();
};
class QgsReferencedPointXY : QgsPointXY, QgsReferencedGeometryBase
{
%Docstring
@ -87,8 +90,11 @@ class QgsReferencedPointXY : QgsPointXY, QgsReferencedGeometryBase
and ``crs``.
%End
QgsReferencedPointXY();
};
/************************************************************************
* This file has been generated automatically from *
* *

View File

@ -315,6 +315,8 @@ class CORE_EXPORT QgsRectangle
};
Q_DECLARE_METATYPE( QgsRectangle )
#ifndef SIP_RUN
/**

View File

@ -80,8 +80,12 @@ class CORE_EXPORT QgsReferencedRectangle : public QgsRectangle, public QgsRefere
*/
QgsReferencedRectangle( const QgsRectangle &rectangle, const QgsCoordinateReferenceSystem &crs );
QgsReferencedRectangle();
};
Q_DECLARE_METATYPE( QgsReferencedRectangle )
/**
* \ingroup core
* A QgsPointXY with associated coordinate reference system.
@ -97,6 +101,10 @@ class CORE_EXPORT QgsReferencedPointXY : public QgsPointXY, public QgsReferenced
*/
QgsReferencedPointXY( const QgsPointXY &point, const QgsCoordinateReferenceSystem &crs );
QgsReferencedPointXY();
};
Q_DECLARE_METATYPE( QgsReferencedPointXY )
#endif // QGSREFERENCEDGEOMETRY_H

View File

@ -311,6 +311,7 @@ class CORE_EXPORT QgsPointXY
}; // class QgsPoint
Q_DECLARE_METATYPE( QgsPointXY )
inline bool operator==( const QgsPointXY &p1, const QgsPointXY &p2 ) SIP_SKIP
{