50 RoleExtent = Qt::UserRole,
78 int rowCount(
const QModelIndex &parent = QModelIndex() )
const override;
79 int columnCount(
const QModelIndex &parent = QModelIndex() )
const override;
80 QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole )
const override;
81 Qt::ItemFlags flags(
const QModelIndex &index )
const override;
82 bool setData(
const QModelIndex &index,
const QVariant &value,
int role = Qt::EditRole )
override;
83 bool insertRows(
int row,
int count,
const QModelIndex &parent = QModelIndex() )
override;
84 bool removeRows(
int row,
int count,
const QModelIndex &parent = QModelIndex() )
override;
85 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole )
const override;
88 void bookmarkAboutToBeAdded(
const QString &
id );
89 void bookmarkAdded(
const QString &
id );
90 void bookmarkAboutToBeRemoved(
const QString &
id );
91 void bookmarkRemoved(
const QString &
id );
92 void bookmarkChanged(
const QString &
id );
95 bool mBlocked =
false;
98 QgsBookmark bookmarkForIndex(
const QModelIndex &index )
const;