37 Q_PROPERTY( QStringList identifierFields READ identifierFields WRITE setIdentifierFields NOTIFY identifierFieldsChanged )
42 Q_PROPERTY( QVariantList extraIdentifierValues READ extraIdentifierValues WRITE setExtraIdentifierValues NOTIFY extraIdentifierValuesChanged )
57 Q_DECL_DEPRECATED QString identifierField() const;
64 QStringList identifierFields() const;
72 void setIdentifierFields( const QStringList &identifierFields );
79 void setExtraIdentifierValueToNull() override;
86 QVariantList extraIdentifierValues() const;
93 void setExtraIdentifierValues( const QVariantList &extraIdentifierValues );
102 void identifierFieldsChanged();
108 void extraIdentifierValuesChanged();
111 QgsFeatureExpressionValuesGatherer *createValuesGatherer( const
QgsFeatureRequest &request ) const override;
115 QSet<QString> requestedAttributes() const override;
117 QVariant entryIdentifier( const QgsFeatureExpressionValuesGatherer::Entry &entry ) const override;
119 QgsFeatureExpressionValuesGatherer::Entry createEntry( const QVariant &identifier ) const override;
121 bool compareEntries( const QgsFeatureExpressionValuesGatherer::Entry &a, const QgsFeatureExpressionValuesGatherer::Entry &b ) const override;
123 bool identifierIsNull( const QVariant &identifier ) const override;
125 QVariant nullIdentifier() const override;
127 QStringList mIdentifierFields;