From 66b9b0dd1031c621cb9ea9ece536004341f5d41e Mon Sep 17 00:00:00 2001 From: Matthias Kuhn Date: Mon, 30 Nov 2015 13:57:28 +0100 Subject: [PATCH] Doxymentation for ebc9e029 --- src/core/qgsrelation.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/core/qgsrelation.h b/src/core/qgsrelation.h index 1feb513fa07..e939b5bf528 100644 --- a/src/core/qgsrelation.h +++ b/src/core/qgsrelation.h @@ -227,8 +227,20 @@ class CORE_EXPORT QgsRelation */ QList< FieldPair > fieldPairs() const; + /** + * Returns a list of attributes used to form the referenced fields + * (most likely primary key) on the referenced layer. + * + * @return A list of attributes + */ QgsAttributeList referencedFields() const; + /** + * Returns a list of attributes used to form the referencing fields + * (foreign key) on the referencing layer. + * + * @return A list of attributes + */ QgsAttributeList referencingFields() const; /**