Skip to content

Commit 8828ae1

Browse files
committed
Followup for 8414345
Remove unreleased code
1 parent 6e36948 commit 8828ae1

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

src/core/qgsvectorlayer.h

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,12 +1021,6 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
10211021
@note added in version 1.9*/
10221022
void addAttributeEditorWidget( QgsAttributeEditorElement* data );
10231023

1024-
const QString& editorWidgetV2( int fieldIdx );
1025-
1026-
const QMap<QString, QVariant>& editorWidgetV2Config( int fieldIdx );
1027-
1028-
QgsEditorWidgetWrapper* editorWidgetWrapper( int idx, QWidget* editor, const QVariant& value, QWidget* parent );
1029-
10301024
/**Returns a list of tabs holding groups and fields
10311025
@note added in version 1.9*/
10321026
QList< QgsAttributeEditorElement* > &attributeEditorElements();
@@ -1103,10 +1097,6 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
11031097
/** set the active layout for the attribute editor for this layer (added in 1.9) */
11041098
void setEditorLayout( EditorLayout editorLayout );
11051099

1106-
void setEditorWidgetV2( int attrIdx, const QString& widgetType );
1107-
1108-
void setEditorWidgetV2Config( int attrIdx, const QMap<QString, QVariant>& config );
1109-
11101100
/** set string representing 'true' for a checkbox (added in 1.4) */
11111101
void setCheckedState( int idx, QString checked, QString notChecked );
11121102

@@ -1145,22 +1135,6 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
11451135
**/
11461136
ValueRelationData &valueRelation( int idx );
11471137

1148-
/**
1149-
* Get relations, where the foreign key is on this layer
1150-
*
1151-
* @param Only get relations, where idx forms part of the foreign key
1152-
* @return A list of relations
1153-
*/
1154-
QList<QgsRelation> referencingRelations( int idx );
1155-
1156-
/**
1157-
* Get relations, where the foreign key is on another layer, referencing this layer
1158-
*
1159-
* @param Only get relations, where idx forms part of the referenced key
1160-
* @return A list of relations
1161-
*/
1162-
QList<QgsRelation> referencedRelations( int idx );
1163-
11641138
/**access date format
11651139
* @note added in 1.9
11661140
*/
@@ -1401,8 +1375,6 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
14011375
void committedAttributeValuesChanges( const QString& layerId, const QgsChangedAttributesMap& changedAttributesValues );
14021376
void committedGeometriesChanges( const QString& layerId, const QgsGeometryMap& changedGeometries );
14031377

1404-
void saveLayerToProject();
1405-
14061378
/** Emitted when the font family defined for labeling layer is not found on system
14071379
* @note added in 1.9
14081380
*/
@@ -1560,9 +1532,6 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
15601532
QMap< QString, QString> mDateFormats;
15611533
QMap< QString, QSize> mWidgetSize;
15621534

1563-
QMap<int, QString> mEditorWidgetV2Types;
1564-
QMap<int, QMap<QString, QVariant> > mEditorWidgetV2Configs;
1565-
15661535
/** Defines the default layout to use for the attribute editor (Drag and drop, UI File, Generated) */
15671536
EditorLayout mEditorLayout;
15681537

0 commit comments

Comments
 (0)