Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qquickpdfbookmarkmodel_p.h
Go to the documentation of this file.
1
// Copyright (C) 2022 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
ifndef
QQUICKPDFBOOKMARKMODEL_P_H
5
#
define
QQUICKPDFBOOKMARKMODEL_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
<
QtPdfQuick
/
private
/
qtpdfquickglobal_p
.
h
>
19
#
include
<
QtPdfQuick
/
private
/
qquickpdfdocument_p
.
h
>
20
#
include
<
QtPdf
/
qpdfbookmarkmodel
.
h
>
21
22
#
include
<
QQmlEngine
>
23
24
QT_BEGIN_NAMESPACE
25
26
class
Q_PDFQUICK_EXPORT
QQuickPdfBookmarkModel
:
public
QPdfBookmarkModel
27
{
28
Q_OBJECT
29
Q_PROPERTY(QQuickPdfDocument* document READ document WRITE setDocument NOTIFY documentChanged)
30
QML_NAMED_ELEMENT(PdfBookmarkModel)
31
QML_ADDED_IN_VERSION(6, 4)
32
33
public
:
34
explicit
QQuickPdfBookmarkModel(QObject *parent =
nullptr
);
35
~QQuickPdfBookmarkModel() override;
36
37
QQuickPdfDocument *document()
const
;
38
void
setDocument(QQuickPdfDocument *document);
39
40
Q_SIGNALS:
41
void
documentChanged();
42
43
private
:
44
QQuickPdfDocument *m_quickDocument;
45
46
Q_DISABLE_COPY(QQuickPdfBookmarkModel)
47
};
48
49
QT_END_NAMESPACE
50
51
QML_DECLARE_TYPE(
QQuickPdfBookmarkModel
)
52
53
#
endif
// QQUICKPDFBOOKMARKMODEL_P_H
QQuickPdfBookmarkModel
Definition
qquickpdfbookmarkmodel_p.h:27
qtwebengine
src
pdfquick
qquickpdfbookmarkmodel_p.h
Generated on
for Qt by
1.18.0