Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qpdflinkmodel_p.h
Go to the documentation of this file.
1
// Copyright (C) 2020 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
QPDFLINKMODEL_P_H
5
#
define
QPDFLINKMODEL_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
"qpdflinkmodel.h"
19
#
include
<
private
/
qabstractitemmodel_p
.
h
>
20
21
QT_BEGIN_NAMESPACE
22
23
class
QPdfLinkModelPrivate
24
{
25
QPdfLinkModel *q_ptr;
26
Q_DECLARE_PUBLIC(QPdfLinkModel)
27
28
public
:
29
explicit
QPdfLinkModelPrivate
(
QPdfLinkModel
*
qq
)
30
:
q_ptr
(
qq
) {}
31
32
void
update
();
33
34
QHash
<
int
,
QByteArray
>
roleNames
;
35
QPdfDocument
*
document
=
nullptr
;
36
QList
<
QPdfLink
>
links
;
37
int
page
= 0;
38
};
39
40
QT_END_NAMESPACE
41
42
#
endif
// QPDFLINKMODEL_P_H
QPdfLinkModelPrivate
Definition
qpdflinkmodel_p.h:24
QPdfLinkModelPrivate::roleNames
QHash< int, QByteArray > roleNames
Definition
qpdflinkmodel_p.h:34
QPdfLinkModelPrivate::links
QList< QPdfLink > links
Definition
qpdflinkmodel_p.h:36
QPdfLinkModelPrivate::document
QPdfDocument * document
Definition
qpdflinkmodel_p.h:35
QPdfLinkModelPrivate::page
int page
Definition
qpdflinkmodel_p.h:37
QPdfLink
The QPdfLink class defines a link between a region on a page (such as a hyperlink or a search result)...
Definition
qpdflink.h:21
QPdfLink::~QPdfLink
Q_PDF_EXPORT ~QPdfLink()
QPdfLink::page
Q_PDF_EXPORT int page() const
Definition
qpdflink.cpp:67
QPdfSearchModelPrivate
Definition
qpdfsearchmodel_p.h:26
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
qtwebengine
src
pdf
qpdflinkmodel_p.h
Generated on Mon Mar 10 2025 01:10:08 for Qt by
1.13.2