Skip to content
Permalink
Browse files

Add TransferThis to annotation python constructors

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13317 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Apr 16, 2010
1 parent 9152a82 commit 2d068e216583f812315928c66792302013ec4a10
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 2d068e2

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