@@ -19,7 +19,7 @@ class QgsAttributeEditorElement : QObject
19
19
AeTypeInvalid
20
20
};
21
21
22
- QgsAttributeEditorElement( AttributeEditorType type, QString name, QObject *parent = NULL );
22
+ QgsAttributeEditorElement( AttributeEditorType type, QString name, QObject *parent /TransferThis/ = NULL );
23
23
24
24
virtual ~QgsAttributeEditorElement();
25
25
@@ -37,7 +37,7 @@ class QgsAttributeEditorContainer : QgsAttributeEditorElement
37
37
%End
38
38
39
39
public:
40
- QgsAttributeEditorContainer( QString name, QObject *parent );
40
+ QgsAttributeEditorContainer( QString name, QObject *parent /TransferThis/ );
41
41
42
42
~QgsAttributeEditorContainer();
43
43
@@ -54,7 +54,7 @@ class QgsAttributeEditorField : QgsAttributeEditorElement
54
54
#include "qgsvectorlayer.h"
55
55
%End
56
56
public:
57
- QgsAttributeEditorField( QString name , int idx, QObject *parent );
57
+ QgsAttributeEditorField( QString name , int idx, QObject *parent /TransferThis/ );
58
58
59
59
~QgsAttributeEditorField();
60
60
@@ -66,9 +66,9 @@ class QgsAttributeEditorField : QgsAttributeEditorElement
66
66
class QgsAttributeEditorRelation : QgsAttributeEditorElement
67
67
{
68
68
public:
69
- QgsAttributeEditorRelation( QString name, const QString &relationId, QObject *parent );
69
+ QgsAttributeEditorRelation( QString name, const QString &relationId, QObject *parent /TransferThis/ );
70
70
71
- QgsAttributeEditorRelation( QString name, const QgsRelation& relation, QObject *parent );
71
+ QgsAttributeEditorRelation( QString name, const QgsRelation& relation, QObject *parent /TransferThis/ );
72
72
73
73
~QgsAttributeEditorRelation();
74
74
0 commit comments