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
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
QSet< QByteArrayallEnumNames
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, QFlags< QtMocConstants::EnumFlags > > enumDeclarations
QList< EnumDefenumList
QMap< QByteArray, QByteArrayflagAliases
qsizetype begin = 0
qsizetype end = 0
qsizetype lineNumber = 0

Detailed Description

Definition at line 179 of file moc.h.

Member Function Documentation

◆ toJson()

QJsonObject ClassDef::toJson ( ) const

Definition at line 2052 of file moc.cpp.

Member Data Documentation

◆ allEnumNames

QSet<QByteArray> ClassDef::allEnumNames

Definition at line 203 of file moc.h.

◆ constructorList

QList<FunctionDef> ClassDef::constructorList

Definition at line 199 of file moc.h.

◆ hasQGadget

bool ClassDef::hasQGadget = false

Definition at line 207 of file moc.h.

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

◆ hasQNamespace

bool ClassDef::hasQNamespace = false

Definition at line 208 of file moc.h.

Referenced by Generator::generateCode().

◆ hasQObject

bool ClassDef::hasQObject = false

Definition at line 206 of file moc.h.

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

◆ interfaceList

QList<QList<Interface> > ClassDef::interfaceList

Definition at line 190 of file moc.h.

◆ methodList

QList<FunctionDef> ClassDef::methodList

Definition at line 200 of file moc.h.

◆ nonClassSignalList

QList<QByteArray> ClassDef::nonClassSignalList

Definition at line 201 of file moc.h.

◆ pluginData

struct ClassDef::PluginData ClassDef::pluginData

◆ propertyList

QList<PropertyDef> ClassDef::propertyList

Definition at line 202 of file moc.h.

◆ publicList

QList<FunctionDef> ClassDef::publicList

Definition at line 200 of file moc.h.

◆ requireCompleteMethodTypes

bool ClassDef::requireCompleteMethodTypes = false

Definition at line 209 of file moc.h.

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

◆ revisionedMethods

int ClassDef::revisionedMethods = 0

Definition at line 204 of file moc.h.

Referenced by Moc::parse(), Moc::parseSignals(), Moc::parseSlotInPrivate(), and Moc::parseSlots().

◆ signalList

QList<FunctionDef> ClassDef::signalList

Definition at line 200 of file moc.h.

◆ slotList

QList<FunctionDef> ClassDef::slotList

Definition at line 200 of file moc.h.

◆ superclassList

QList<SuperClass> ClassDef::superclassList

Definition at line 180 of file moc.h.


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