57 QModelIndex index(
int row,
int column,
const QModelIndex &parent)
const override;
58 QModelIndex parent(
const QModelIndex &child)
const override;
60 int rowCount(
const QModelIndex &parent = QModelIndex())
const override;
61 int columnCount(
const QModelIndex &parent)
const override;
63 QVariant data(
const QModelIndex &index,
int role)
const override;
64 bool setData(
const QModelIndex &index,
const QVariant &value,
int role = Qt::EditRole)
override;
66 Qt::ItemFlags flags(
const QModelIndex &index)
const override;
68 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const override;
79 friend class OptContentModelPrivate;
80 OptContentModelPrivate *d;
Model for optional content.
Definition poppler-optcontent.h:49
void applyLink(LinkOCGState *link)
Applies the Optional Content Changes specified by that link.