Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Feb 29, 2024
1 parent 2f2f1ae commit 48aa317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/trackingmodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ class TrackingModel : public QAbstractItemModel
QVariant data( const QModelIndex &index, int role = Qt::DisplayRole ) const override;
virtual bool setData( const QModelIndex &index, const QVariant &value, int role ) override;

//! Creates tracking sessions defined in a project being opened
Q_INVOKABLE void createProjectTrackers( QgsProject *project );
//! Creates a tracking session for the provided vector \a layer.
Q_INVOKABLE QModelIndex createTracker( QgsVectorLayer *layer );
//! Starts tracking for the provided vector \a layer provided it has a tracking session created.
Expand All @@ -75,8 +77,6 @@ class TrackingModel : public QAbstractItemModel

void reset();

Q_INVOKABLE void createProjectTrackers( QgsProject *project );

signals:
void layerInTrackingChanged( QgsVectorLayer *layer, bool tracking );

Expand Down

0 comments on commit 48aa317

Please sign in to comment.