Skip to content
Permalink
Browse files

Add TransferThis to annotation python constructors

git-svn-id: http://svn.osgeo.org/qgis/trunk@13317 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Apr 16, 2010
1 parent 0bc85b2 commit 91d9e1fb2d5b8632bd22ddf3f393ee0e3f6935d3
Showing with 2 additions and 2 deletions.
  1. +1 −1 python/gui/qgsformannotationitem.sip
  2. +1 −1 python/gui/qgstextannotationitem.sip
@@ -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)*/

0 comments on commit 91d9e1f

Please sign in to comment.
You can’t perform that action at this time.