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