mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Add TransferThis to annotation python constructors
git-svn-id: http://svn.osgeo.org/qgis/trunk@13317 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
0bc85b23ff
commit
91d9e1fb2d
@ -5,7 +5,7 @@ class QgsFormAnnotationItem: QObject, QgsAnnotationItem
|
||||
%End
|
||||
|
||||
public:
|
||||
QgsFormAnnotationItem( QgsMapCanvas* canvas, QgsVectorLayer* vlayer = 0, bool hasFeature = false, int feature = 0);
|
||||
QgsFormAnnotationItem( QgsMapCanvas* canvas /TransferThis/, QgsVectorLayer* vlayer = 0, bool hasFeature = false, int feature = 0);
|
||||
~QgsFormAnnotationItem();
|
||||
|
||||
void paint( QPainter * painter );
|
||||
|
@ -4,7 +4,7 @@ class QgsTextAnnotationItem: QgsAnnotationItem
|
||||
#include <qgstextannotationitem.h>
|
||||
%End
|
||||
public:
|
||||
QgsTextAnnotationItem( QgsMapCanvas* canvas );
|
||||
QgsTextAnnotationItem( QgsMapCanvas* canvas /TransferThis/ );
|
||||
~QgsTextAnnotationItem();
|
||||
|
||||
/**Returns document (caller takes ownership)*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user