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::AllMemberEntry Struct Reference

A single entry in an all-members listing page. More...

#include <member.h>

Collaboration diagram for IR::AllMemberEntry:

Public Member Functions

QJsonObject toJson () const
 Converts the entry to a QJsonObject for template rendering.

Public Attributes

QString signature
QString href
QStringList hints
bool isPropertyGroup { false }
QList< AllMemberEntrychildren

Detailed Description

A single entry in an all-members listing page.

AllMemberEntry captures the display signature and link target for one member on an all-members sub-page. QML properties carry display hints (such as "read-only" or "default") and property groups nest child entries under a parent.

Definition at line 96 of file member.h.

Member Function Documentation

◆ toJson()

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

Converts the entry to a QJsonObject for template rendering.

Always emits signature and href. The hints array, isPropertyGroup flag, and children array are omitted when empty or false.

Definition at line 449 of file member.cpp.

Member Data Documentation

◆ children

QList<AllMemberEntry> IR::AllMemberEntry::children

Definition at line 101 of file member.h.

◆ hints

QStringList IR::AllMemberEntry::hints

Definition at line 99 of file member.h.

◆ href

QString IR::AllMemberEntry::href

Definition at line 98 of file member.h.

◆ isPropertyGroup

bool IR::AllMemberEntry::isPropertyGroup { false }

Definition at line 100 of file member.h.

◆ signature

QString IR::AllMemberEntry::signature

Definition at line 97 of file member.h.


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