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
pagemetadata.h
Go to the documentation of this file.
1// Copyright (C) 2026 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4#ifndef QDOC_IR_PAGEMETADATA_H
5#define QDOC_IR_PAGEMETADATA_H
6
7#include "contentblock.h"
8#include "member.h"
9
10#include "qdoc/access.h"
11#include "qdoc/genustypes.h"
12#include "qdoc/status.h"
13
14#include <QtCore/QList>
15#include <QtCore/QString>
16
17#include <optional>
18
20
21namespace IR {
22
48
74
96
97} // namespace IR
98
99QT_END_NAMESPACE
100
101#endif // QDOC_IR_PAGEMETADATA_H
Access
Definition access.h:11
Assembles IR Documents from pre-extracted metadata.
Definition builder.h:15
Builder()=default
Document buildPageIR(PageMetadata pm) const
Definition builder.cpp:59
Status
Specifies the status of the QQmlIncubator.
NodeType
Definition genustypes.h:150
Definition builder.cpp:14
LinkState
LinkOrigin
BlockType
InlineType
Combined button and popup list for selecting options.
@ Public
Definition access.h:11
@ Active
Definition status.h:14
A single entry in an all-members listing page.
Definition member.h:96
QString signature
Definition member.h:97
QStringList hints
Definition member.h:99
QList< AllMemberEntry > children
Definition member.h:101
QJsonObject toJson() const
Converts the entry to a QJsonObject for template rendering.
Definition member.cpp:449
Intermediate representation of the all-members listing page.
Definition member.h:112
QList< AllMemberEntry > members
Definition member.h:116
QJsonObject toJson() const
Converts the all-members IR to a QJsonObject for template rendering.
Definition member.cpp:522
QList< MemberGroup > memberGroups
Definition member.h:117
QString typeHref
Definition member.h:114
QString typeName
Definition member.h:113
QString logicalModuleVersion
QList< MemberEntry > classes
QString logicalModuleName
QList< MemberEntry > members
QList< MemberEntry > namespaces
QString cmakeComponent
Definition document.h:58
QString logicalModuleVersion
Definition document.h:55
QList< MemberEntry > members
Definition document.h:75
QJsonObject toJson() const
Converts the CollectionInfo to a QJsonObject for template rendering.
Definition document.cpp:99
QString qtVariable
Definition document.h:56
QList< MemberEntry > classes
Definition document.h:74
QString cmakePackage
Definition document.h:57
QString logicalModuleName
Definition document.h:54
QList< MemberEntry > namespaces
Definition document.h:73
QString cmakeTargetItem
Definition document.h:59
Represents a structural block element in documentation.
QJsonObject toJson() const
Converts the ContentBlock to a QJsonObject for template rendering.
QList< InlineContent > inlineContent
Rich inline content.
QJsonObject attributes
Type-specific metadata.
QString plainText() const
Returns the concatenated plain text of this block's content, recursively.
QList< ContentBlock > children
Nested blocks.
Intermediate representation for a documentation topic.
Definition document.h:81
QList< ContentBlock > body
Definition document.h:97
QString fullTitle
Definition document.h:90
QString membersPageUrl
Definition document.h:111
QList< SectionIR > summarySections
Definition document.h:101
std::optional< QmlTypeInfo > qmlTypeInfo
Definition document.h:105
QString url
Definition document.h:91
QList< SectionIR > detailSections
Definition document.h:102
Access access
Definition document.h:86
QString title
Definition document.h:89
QString brief
Definition document.h:94
Status status
Definition document.h:85
QJsonObject contentJson
Definition document.h:98
NodeType nodeType
Definition document.h:83
QString deprecatedSince
Definition document.h:93
std::optional< CollectionInfo > collectionInfo
Definition document.h:108
QJsonObject toJson() const
Converts the Document to a QJsonObject for template rendering.
Definition document.cpp:141
QString since
Definition document.h:92
Genus genus
Definition document.h:84
Intermediate representation of a single enum value.
Definition member.h:27
QJsonObject toJson() const
\variable IR::EnumValueIR::name Enumerator name.
Definition member.cpp:93
QString value
Definition member.h:29
QString since
Definition member.h:30
QString name
Definition member.h:28
Summary of members inherited from a single base class.
Definition member.h:78
QJsonObject toJson() const
\variable IR::InheritedMembersIR::className Fully qualified name of the base class.
Definition member.cpp:335
Represents inline content within a documentation block.
QJsonObject attributes
Type-specific metadata.
QString href
Link target or image source.
QJsonObject toJson() const
Converts the InlineContent to a QJsonObject for template rendering.
QString text
Text content.
QList< InlineContent > children
Nested inline content.
std::optional< LinkData > link
QString title
Link tooltip or image alt text.
QString plainText() const
Returns the concatenated plain text of this inline element and all its children, recursively.
Members grouped by originating QML type in an all-members listing.
Definition member.h:105
QList< AllMemberEntry > members
Definition member.h:108
QString typeHref
Definition member.h:107
QString typeName
Definition member.h:106
QJsonObject toJson() const
Converts the member group to a QJsonObject for template rendering.
Definition member.cpp:490
Intermediate representation of a single documentable member.
Definition member.h:34
QList< ParameterIR > parameters
Definition member.h:45
QString dataType
Definition member.h:62
QString since
Definition member.h:67
bool isPrimaryOverload
Definition member.h:47
QString comparisonCategory
Definition member.h:69
QString noexceptNote
Definition member.h:71
QString threadSafety
Definition member.h:68
QString fullName
Definition member.h:36
QString synopsis
Definition member.h:66
bool isConst
Definition member.h:52
QList< ContentBlock > alsoList
Definition member.h:73
int overloadNumber
Definition member.h:46
QJsonObject toJson() const
\variable IR::MemberIR::name Unqualified member name.
Definition member.cpp:221
QString href
Definition member.h:38
bool isAttached
Definition member.h:58
bool isDefault
Definition member.h:59
bool isSlot
Definition member.h:55
QString name
Definition member.h:35
bool isRequired
Definition member.h:61
bool isStatic
Definition member.h:51
QString signature
Definition member.h:37
QString anchorId
Definition member.h:65
bool isNoexcept
Definition member.h:70
QList< EnumValueIR > enumValues
Definition member.h:49
QList< ContentBlock > body
Definition member.h:72
bool isSignal
Definition member.h:54
Access access
Definition member.h:42
NodeType nodeType
Definition member.h:41
bool isReadOnly
Definition member.h:60
QString brief
Definition member.h:39
bool isVirtual
Definition member.h:53
Status status
Definition member.h:43
QList< ContentBlock > body
std::optional< QmlTypeData > qmlTypeData
QList< SectionIR > summarySections
QList< SectionIR > detailSections
std::optional< CollectionData > collectionData
QString deprecatedSince
Intermediate representation of a function parameter.
Definition member.h:20
QString name
Definition member.h:22
QString type
Definition member.h:21
QJsonObject toJson() const
\variable IR::ParameterIR::type Parameter type (such as "const QString &").
Definition member.cpp:49
QString defaultValue
Definition member.h:23
std::optional< NativeTypeInfo > nativeType
std::optional< InheritsInfo > inherits
QString importStatement
QList< InheritedByEntry > inheritedBy
std::optional< InheritsInfo > inherits
Definition document.h:35
QJsonObject toJson() const
Converts the QmlTypeInfo to a QJsonObject for template rendering.
Definition document.cpp:38
std::optional< NativeTypeInfo > nativeType
Definition document.h:47
QList< InheritedByEntry > inheritedBy
Definition document.h:41
QString importStatement
Definition document.h:26
Intermediate representation of a member summary section.
Definition member.h:85
QList< MemberIR > members
Definition member.h:90
QString singular
Definition member.h:88
QJsonObject toJson() const
\variable IR::SectionIR::id Stable ASCII identifier for anchor links, generated from the title via Ut...
Definition member.cpp:401
QList< MemberIR > reimplementedMembers
Definition member.h:91
QString title
Definition member.h:87
QString plural
Definition member.h:89
QList< InheritedMembersIR > inheritedMembers
Definition member.h:92
QString id
Definition member.h:86