16 #ifndef QGSWEAKRELATION_H 
   17 #define QGSWEAKRELATION_H 
   21 #include "qgis_core.h" 
   57                      const QString &relationName,
 
   59                      const QString &referencingLayerId,
 
   60                      const QString &referencingLayerName,
 
   61                      const QString &referencingLayerSource,
 
   62                      const QString &referencingLayerProviderKey,
 
   63                      const QString &referencedLayerId,
 
   64                      const QString &referencedLayerName,
 
   65                      const QString &referencedLayerSource,
 
   66                      const QString &referencedLayerProviderKey,
 
   67                      const QList<QgsRelation::FieldPair> &fieldPairs
 
   97     QList<QgsRelation::FieldPair> fieldPairs() 
const;
 
  119     static void writeXml( 
const QgsVectorLayer *layer, WeakRelationType type, 
const QgsRelation &relation, QDomNode &node, QDomDocument &doc );
 
  126     QString mRelationName;
 
  128     QList<QgsRelation::FieldPair> mFieldPairs;
 
  130     friend class TestQgsWeakRelation;
 
  134 #endif // QGSWEAKRELATION_H