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 * * This file has been generated automatically from *
* * * *

View File

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

View File

@ -315,6 +315,8 @@ class CORE_EXPORT QgsRectangle
}; };
Q_DECLARE_METATYPE( QgsRectangle )
#ifndef SIP_RUN #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( const QgsRectangle &rectangle, const QgsCoordinateReferenceSystem &crs );
QgsReferencedRectangle();
}; };
Q_DECLARE_METATYPE( QgsReferencedRectangle )
/** /**
* \ingroup core * \ingroup core
* A QgsPointXY with associated coordinate reference system. * 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( const QgsPointXY &point, const QgsCoordinateReferenceSystem &crs );
QgsReferencedPointXY();
}; };
Q_DECLARE_METATYPE( QgsReferencedPointXY )
#endif // QGSREFERENCEDGEOMETRY_H #endif // QGSREFERENCEDGEOMETRY_H

View File

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