MCPcopy Create free account
hub / github.com/KDE/okular / AnnotationModel

Method AnnotationModel

part/annotationmodel.cpp:287–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287AnnotationModel::AnnotationModel(Okular::Document *document, QObject *parent)
288 : QAbstractItemModel(parent)
289 , d(new AnnotationModelPrivate(this))
290{
291 d->document = document;
292
293 d->document->addObserver(d);
294}
295
296AnnotationModel::~AnnotationModel()
297{

Callers

nothing calls this directly

Calls 1

addObserverMethod · 0.80

Tested by

no test coverage detected