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 committed Apr 16, 2010
1 parent 9152a82 commit 2d068e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -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.