![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <document.h>
Classes | |
| struct | InheritsInfo |
| struct | InheritedByEntry |
| struct | NativeTypeInfo |
Public Member Functions | |
| QJsonObject | toJson () const |
| \variable IR::Document::typeNoun | |
Public Attributes | |
| QString | importStatement |
| bool | isSingleton { false } |
| bool | isValueType { false } |
| bool | hasObsoleteMembers { false } |
| QString | obsoleteMembersUrl |
| std::optional< InheritsInfo > | inherits |
| QList< InheritedByEntry > | inheritedBy |
| std::optional< NativeTypeInfo > | nativeType |
Definition at line 26 of file document.h.
|
nodiscard |
\variable IR::Document::typeNoun
Lowercase description of the page type, used in status sentences. For example, "class", "namespace", or "type".
Present only when a deprecation status sentence applies to the page. Omitted otherwise so pages without a sentence are unaffected.
\variable IR::Document::deprecatedSinceQualified
Qualified version string of the form "module version", used in deprecated status sentences. For QML types this is the QML module name and version, such as "QtQml 6.5". For all other nodes it equals \l deprecatedSince.
Present only when a deprecation status sentence applies and \l deprecatedSince is non-empty. Omitted otherwise so pages without a sentence are unaffected.
Converts the QmlTypeInfo to a QJsonObject for template rendering.
Always emits isSingleton, isValueType, and hasObsoleteMembers. The importStatement, inherits, inheritedBy, and nativeType fields are omitted when they don't have values. The obsoleteMembersUrl field is omitted when empty; templates should use {existsIn()} to guard access to those optional fields.
Definition at line 62 of file document.cpp.
| bool IR::QmlTypeInfo::hasObsoleteMembers { false } |
Definition at line 31 of file document.h.
Referenced by IR::Builder::buildPageIR().
| QString IR::QmlTypeInfo::importStatement |
Definition at line 28 of file document.h.
| QList<InheritedByEntry> IR::QmlTypeInfo::inheritedBy |
Definition at line 45 of file document.h.
| std::optional<InheritsInfo> IR::QmlTypeInfo::inherits |
Definition at line 39 of file document.h.
| bool IR::QmlTypeInfo::isSingleton { false } |
Definition at line 29 of file document.h.
Referenced by IR::Builder::buildPageIR().
| bool IR::QmlTypeInfo::isValueType { false } |
Definition at line 30 of file document.h.
Referenced by IR::Builder::buildPageIR().
| std::optional<NativeTypeInfo> IR::QmlTypeInfo::nativeType |
Definition at line 51 of file document.h.
| QString IR::QmlTypeInfo::obsoleteMembersUrl |
Definition at line 32 of file document.h.