File tree Expand file tree Collapse file tree 2 files changed +2
-24
lines changed Expand file tree Collapse file tree 2 files changed +2
-24
lines changed Original file line number Diff line number Diff line change 9
9
10
10
11
11
12
- class QgsAttributeEditorElement
12
+ class QgsAttributeEditorElement /Abstract/
13
13
{
14
14
15
15
%TypeHeaderCode
@@ -51,7 +51,6 @@ class QgsAttributeEditorElement
51
51
\param parent
52
52
%End
53
53
54
-
55
54
virtual ~QgsAttributeEditorElement();
56
55
57
56
QString name() const;
@@ -119,15 +118,6 @@ class QgsAttributeEditorContainer : QgsAttributeEditorElement
119
118
120
119
%TypeHeaderCode
121
120
#include "qgsattributeeditorelement.h"
122
- %End
123
-
124
- %ConvertToSubClassCode
125
- switch ( sipCpp->type() )
126
- {
127
- case QgsAttributeEditorElement::AeTypeContainer: sipType = sipType_QgsAttributeEditorContainer; break;
128
- case QgsAttributeEditorElement::AeTypeField: sipType = sipType_QgsAttributeEditorField; break;
129
- case QgsAttributeEditorElement::AeTypeRelation: sipType = sipType_QgsAttributeEditorRelation; break;
130
- }
131
121
%End
132
122
public:
133
123
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class QgsRelationManager;
32
32
* layer.
33
33
*/
34
34
35
- class CORE_EXPORT QgsAttributeEditorElement
35
+ class CORE_EXPORT QgsAttributeEditorElement SIP_ABSTRACT
36
36
{
37
37
38
38
#ifdef SIP_RUN
@@ -77,7 +77,6 @@ class CORE_EXPORT QgsAttributeEditorElement
77
77
, mShowLabel ( true )
78
78
{}
79
79
80
-
81
80
virtual ~QgsAttributeEditorElement () = default ;
82
81
83
82
/* *
@@ -164,17 +163,6 @@ class CORE_EXPORT QgsAttributeEditorElement
164
163
*/
165
164
class CORE_EXPORT QgsAttributeEditorContainer : public QgsAttributeEditorElement
166
165
{
167
-
168
- #ifdef SIP_RUN
169
- SIP_CONVERT_TO_SUBCLASS_CODE
170
- switch ( sipCpp->type () )
171
- {
172
- case QgsAttributeEditorElement::AeTypeContainer: sipType = sipType_QgsAttributeEditorContainer; break ;
173
- case QgsAttributeEditorElement::AeTypeField: sipType = sipType_QgsAttributeEditorField; break ;
174
- case QgsAttributeEditorElement::AeTypeRelation: sipType = sipType_QgsAttributeEditorRelation; break ;
175
- }
176
- SIP_END
177
- #endif
178
166
public:
179
167
180
168
/* *
You can’t perform that action at this time.
0 commit comments