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
IR::InheritedMembersIR Struct Reference

Summary of members inherited from a single base class. More...

#include <member.h>

Collaboration diagram for IR::InheritedMembersIR:

Public Member Functions

QJsonObject toJson () const
 \variable IR::InheritedMembersIR::className Fully qualified name of the base class.

Public Attributes

QString className
int count { 0 }
QString href

Detailed Description

Summary of members inherited from a single base class.

InheritedMembersIR stores a count and link target for one base class's contributed members. Templates use this to render lines such as "5 public functions inherited from QObject" at the end of a section.

Definition at line 78 of file member.h.

Member Function Documentation

◆ toJson()

QJsonObject IR::InheritedMembersIR::toJson ( ) const
nodiscard

\variable IR::InheritedMembersIR::className Fully qualified name of the base class.

\variable IR::InheritedMembersIR::count Number of members inherited from this base class.

\variable IR::InheritedMembersIR::href URL of the base class's documentation page.

Converts the inherited members summary to a QJsonObject.

Emits className, count, and href. Templates combine this with the enclosing section's plural field to render links such as "5 public functions inherited from QObject".

Definition at line 335 of file member.cpp.

Member Data Documentation

◆ className

QString IR::InheritedMembersIR::className

Definition at line 79 of file member.h.

◆ count

int IR::InheritedMembersIR::count { 0 }

Definition at line 80 of file member.h.

◆ href

QString IR::InheritedMembersIR::href

Definition at line 81 of file member.h.


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