Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
ClassDef Struct Reference

#include <moc.h>

+ Inheritance diagram for ClassDef:
+ Collaboration diagram for ClassDef:

Classes

struct  Interface
 
struct  PluginData
 

Public Member Functions

QJsonObject toJson () const
 

Public Attributes

QList< SuperClasssuperclassList
 
QList< QList< Interface > > interfaceList
 
struct ClassDef::PluginData pluginData
 
QList< FunctionDefconstructorList
 
QList< FunctionDefsignalList
 
QList< FunctionDefslotList
 
QList< FunctionDefmethodList
 
QList< FunctionDefpublicList
 
QList< QByteArraynonClassSignalList
 
QList< PropertyDefpropertyList
 
int revisionedMethods = 0
 
bool hasQObject = false
 
bool hasQGadget = false
 
bool hasQNamespace = false
 
bool requireCompleteMethodTypes = false
 
- Public Attributes inherited from BaseDef
QByteArray classname
 
QByteArray qualified
 
QList< ClassInfoDefclassInfoList
 
QMap< QByteArray, bool > enumDeclarations
 
QList< EnumDefenumList
 
QMap< QByteArray, QByteArrayflagAliases
 
qsizetype begin = 0
 
qsizetype end = 0
 

Detailed Description

Definition at line 165 of file moc.h.

Member Function Documentation

◆ toJson()

QJsonObject ClassDef::toJson ( ) const

Definition at line 2001 of file moc.cpp.

References FunctionDef::accessToJson(), QJsonArray::append(), BaseDef::classInfoList, BaseDef::classname, QByteArray::constData(), constructorList, BaseDef::enumList, QString::fromUtf8(), funcs, hasQGadget, hasQNamespace, hasQObject, info, interfaceList, QJsonArray::isEmpty(), methodList, propertyList, BaseDef::qualified, signalList, QJsonArray::size(), slotList, and superclassList.

+ Here is the call graph for this function:

Member Data Documentation

◆ constructorList

QList<FunctionDef> ClassDef::constructorList

Definition at line 185 of file moc.h.

Referenced by Moc::checkListSizes(), Generator::generateCode(), Moc::parse(), and toJson().

◆ hasQGadget

bool ClassDef::hasQGadget = false

Definition at line 192 of file moc.h.

Referenced by Generator::generateCode(), Moc::parse(), and toJson().

◆ hasQNamespace

bool ClassDef::hasQNamespace = false

Definition at line 193 of file moc.h.

Referenced by Generator::generateCode(), Moc::parse(), and toJson().

◆ hasQObject

bool ClassDef::hasQObject = false

Definition at line 191 of file moc.h.

Referenced by Generator::generateCode(), Moc::parse(), and toJson().

◆ interfaceList

QList<QList<Interface> > ClassDef::interfaceList

◆ methodList

QList<FunctionDef> ClassDef::methodList

Definition at line 186 of file moc.h.

Referenced by Moc::checkListSizes(), Generator::generateCode(), Moc::parse(), and toJson().

◆ nonClassSignalList

QList<QByteArray> ClassDef::nonClassSignalList

Definition at line 187 of file moc.h.

Referenced by Moc::checkListSizes(), Moc::checkProperties(), and Generator::generateCode().

◆ pluginData

struct ClassDef::PluginData ClassDef::pluginData

Referenced by Moc::parse(), and Moc::parsePluginData().

◆ propertyList

◆ publicList

QList<FunctionDef> ClassDef::publicList

Definition at line 186 of file moc.h.

Referenced by Moc::checkListSizes(), Moc::checkProperties(), and Moc::parse().

◆ requireCompleteMethodTypes

bool ClassDef::requireCompleteMethodTypes = false

Definition at line 194 of file moc.h.

Referenced by Generator::generateCode(), and Moc::parseClassInfo().

◆ revisionedMethods

int ClassDef::revisionedMethods = 0

◆ signalList

◆ slotList

◆ superclassList


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