Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QPdfBookmarkModelPrivate Struct Reference
+ Collaboration diagram for QPdfBookmarkModelPrivate:

Public Member Functions

 QPdfBookmarkModelPrivate ()
 
void rebuild ()
 
void appendChildNode (BookmarkNode *parentBookmarkNode, FPDF_BOOKMARK parentBookmark, int level, FPDF_DOCUMENT document)
 
void _q_documentStatusChanged ()
 

Public Attributes

QPdfBookmarkModelq = nullptr
 
QScopedPointer< BookmarkNodem_rootNode
 
QPointer< QPdfDocumentm_document
 
QHash< int, QByteArraym_roleNames
 

Detailed Description

Definition at line 131 of file qpdfbookmarkmodel.cpp.

Constructor & Destructor Documentation

◆ QPdfBookmarkModelPrivate()

QPdfBookmarkModelPrivate::QPdfBookmarkModelPrivate ( )
inline

Definition at line 133 of file qpdfbookmarkmodel.cpp.

Member Function Documentation

◆ _q_documentStatusChanged()

void QPdfBookmarkModelPrivate::_q_documentStatusChanged ( )
inline

Definition at line 203 of file qpdfbookmarkmodel.cpp.

References rebuild().

+ Here is the call graph for this function:

◆ appendChildNode()

void QPdfBookmarkModelPrivate::appendChildNode ( BookmarkNode * parentBookmarkNode,
FPDF_BOOKMARK parentBookmark,
int level,
FPDF_DOCUMENT document )
inline

Definition at line 161 of file qpdfbookmarkmodel.cpp.

References appendChildNode(), QString::fromUtf16(), QSizeF::height(), m_document, ok, QPdfDocument::pagePointSize(), Q_ASSERT, and qCWarning.

Referenced by appendChildNode(), and rebuild().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ rebuild()

void QPdfBookmarkModelPrivate::rebuild ( )
inline

Definition at line 139 of file qpdfbookmarkmodel.cpp.

References appendChildNode(), BookmarkNode::childCount(), BookmarkNode::clear(), QScopedPointer< T, Cleanup >::data(), QPdfDocumentPrivate::doc, lock, m_document, m_rootNode, QPdfDocument::Ready, and QPdfDocument::status.

Referenced by _q_documentStatusChanged().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_document

QPointer<QPdfDocument> QPdfBookmarkModelPrivate::m_document

Definition at line 211 of file qpdfbookmarkmodel.cpp.

Referenced by appendChildNode(), and rebuild().

◆ m_roleNames

QHash<int, QByteArray> QPdfBookmarkModelPrivate::m_roleNames

Definition at line 212 of file qpdfbookmarkmodel.cpp.

◆ m_rootNode

QScopedPointer<BookmarkNode> QPdfBookmarkModelPrivate::m_rootNode

Definition at line 210 of file qpdfbookmarkmodel.cpp.

Referenced by rebuild().

◆ q

QPdfBookmarkModel* QPdfBookmarkModelPrivate::q = nullptr

Definition at line 208 of file qpdfbookmarkmodel.cpp.


The documentation for this struct was generated from the following file: