forked from frescobaldi/python-poppler-qt5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
poppler-opt-content-model.sip
33 lines (23 loc) · 978 Bytes
/
poppler-opt-content-model.sip
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
namespace Poppler {
class OptContentModel : QAbstractItemModel {
%TypeHeaderCode
#include <qt5/poppler-qt5.h>
#include <qt5/poppler-optcontent.h>
%End
public:
virtual ~OptContentModel();
QModelIndex index(int row, int column, const QModelIndex &parent) const;
QModelIndex parent(const QModelIndex &child) const;
int rowCount(const QModelIndex &parent = QModelIndex()) const;
int columnCount(const QModelIndex &parent) const;
QVariant data(const QModelIndex &index, int role) const;
virtual bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::EditRole );
Qt::ItemFlags flags ( const QModelIndex & index ) const;
virtual QVariant headerData( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const;
%If(POPPLER_V0_50_0 -)
void applyLink( LinkOCGState *link );
%End
private:
OptContentModel(const Poppler::OptContentModel&);
}; // class OptContentModel
}; // namespace Poppler