16 #ifndef QGSRELATIONMANAGER_H 17 #define QGSRELATIONMANAGER_H 22 #include <QDomDocument> 44 void setRelations(
const QList<QgsRelation>& relations );
51 const QMap<QString, QgsRelation>& relations()
const;
65 void removeRelation(
const QString&
id );
96 QList<QgsRelation> referencingRelations(
QgsVectorLayer *layer = 0,
int fieldIdx = -2 )
const;
105 QList<QgsRelation> referencedRelations(
QgsVectorLayer *layer = 0 )
const;
109 void relationsLoaded();
118 void readProject(
const QDomDocument &doc );
119 void writeProject( QDomDocument &doc );
120 void layersRemoved(
const QStringList& layers );
124 QMap<QString, QgsRelation> mRelations;
129 #endif // QGSRELATIONMANAGER_H
Reads and writes project states.
This class manages a set of relations between layers.
Represents a vector layer which manages a vector based data sets.