42 Q_PROPERTY(
bool automaticallyAddTrackVertices READ automaticallyAddTrackVertices WRITE setAutomaticallyAddTrackVertices NOTIFY automaticallyAddTrackVerticesChanged )
43 Q_PROPERTY(
bool automaticallyCommitFeatures READ automaticallyCommitFeatures WRITE setAutomaticallyCommitFeatures NOTIFY automaticallyCommitFeaturesChanged )
44 Q_PROPERTY(
QgsVectorLayer *destinationLayer READ destinationLayer WRITE setDestinationLayer NOTIFY destinationLayerChanged )
56 void resolveReferences( const
QgsProject *project );
82 bool automaticallyAddTrackVertices() const;
92 bool automaticallyCommitFeatures() const;
101 bool destinationFollowsActiveLayer() const;
121 QMap< QString, QString > destinationTimeStampFields() const;
130 QString destinationTimeStampField() const;
141 void setAutomaticallyAddTrackVertices(
bool enabled );
151 void setAutomaticallyCommitFeatures(
bool enabled );
160 void setDestinationFollowsActiveLayer(
bool follow );
183 void setDestinationTimeStampField(
QgsVectorLayer *layer, const QString &field );
194 void automaticallyAddTrackVerticesChanged(
bool enabled );
203 void automaticallyCommitFeaturesChanged(
bool enabled );
212 void destinationFollowsActiveLayerChanged(
bool follows );
234 void destinationTimeStampFieldChanged( const QString &field );
238 bool mAutoAddTrackVertices = false;
239 bool mAutoCommitFeatures = false;
241 bool mDestinationFollowsActiveLayer = true;
244 QMap<QString, QString> mDestinationTimestampFields;
The class is used as a container of context for various read/write operations on other objects.