File tree 2 files changed +26
-0
lines changed
python/core/auto_generated
2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 8
8
9
9
10
10
11
+ %ModuleHeaderCode
12
+ #include <qgsvectorlayereditpassthrough.h>
13
+ %End
14
+
11
15
class QgsVectorLayerEditPassthrough : QgsVectorLayerEditBuffer
12
16
{
13
17
14
18
%TypeHeaderCode
15
19
#include "qgsvectorlayereditpassthrough.h"
20
+ %End
21
+ %ConvertToSubClassCode
22
+ if ( qobject_cast<QgsVectorLayerEditPassthrough *>( sipCpp ) )
23
+ sipType = sipType_QgsVectorLayerEditPassthrough;
24
+ else
25
+ sipType = nullptr;
16
26
%End
17
27
public:
18
28
QgsVectorLayerEditPassthrough( QgsVectorLayer *layer );
Original file line number Diff line number Diff line change @@ -22,12 +22,28 @@ class QgsVectorLayer;
22
22
class QgsVectorLayerUndoPassthroughCommand ;
23
23
class QgsTransaction ;
24
24
25
+ #ifdef SIP_RUN
26
+ % ModuleHeaderCode
27
+ #include < qgsvectorlayereditpassthrough.h>
28
+ % End
29
+ #endif
30
+
25
31
/* *
26
32
* \ingroup core
27
33
* \class QgsVectorLayerEditPassthrough
28
34
*/
29
35
class CORE_EXPORT QgsVectorLayerEditPassthrough : public QgsVectorLayerEditBuffer
30
36
{
37
+
38
+ #ifdef SIP_RUN
39
+ SIP_CONVERT_TO_SUBCLASS_CODE
40
+ if ( qobject_cast<QgsVectorLayerEditPassthrough *>( sipCpp ) )
41
+ sipType = sipType_QgsVectorLayerEditPassthrough;
42
+ else
43
+ sipType = nullptr ;
44
+ SIP_END
45
+ #endif
46
+
31
47
Q_OBJECT
32
48
public:
33
49
QgsVectorLayerEditPassthrough ( QgsVectorLayer *layer );
You can’t perform that action at this time.
0 commit comments