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
 
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 177 of file moc.h.

Member Function Documentation

◆ toJson()

QJsonObject ClassDef::toJson ( ) const

Definition at line 2040 of file moc.cpp.

Member Data Documentation

◆ constructorList

QList<FunctionDef> ClassDef::constructorList

Definition at line 197 of file moc.h.

◆ hasQGadget

bool ClassDef::hasQGadget = false

Definition at line 204 of file moc.h.

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

◆ hasQNamespace

bool ClassDef::hasQNamespace = false

Definition at line 205 of file moc.h.

Referenced by Generator::generateCode().

◆ hasQObject

bool ClassDef::hasQObject = false

Definition at line 203 of file moc.h.

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

◆ interfaceList

QList<QList<Interface> > ClassDef::interfaceList

Definition at line 188 of file moc.h.

◆ methodList

QList<FunctionDef> ClassDef::methodList

Definition at line 198 of file moc.h.

◆ nonClassSignalList

QList<QByteArray> ClassDef::nonClassSignalList

Definition at line 199 of file moc.h.

◆ pluginData

struct ClassDef::PluginData ClassDef::pluginData

◆ propertyList

QList<PropertyDef> ClassDef::propertyList

Definition at line 200 of file moc.h.

◆ publicList

QList<FunctionDef> ClassDef::publicList

Definition at line 198 of file moc.h.

◆ requireCompleteMethodTypes

bool ClassDef::requireCompleteMethodTypes = false

Definition at line 206 of file moc.h.

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

◆ revisionedMethods

int ClassDef::revisionedMethods = 0

Definition at line 201 of file moc.h.

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

◆ signalList

QList<FunctionDef> ClassDef::signalList

Definition at line 198 of file moc.h.

◆ slotList

QList<FunctionDef> ClassDef::slotList

Definition at line 198 of file moc.h.

◆ superclassList

QList<SuperClass> ClassDef::superclassList

Definition at line 178 of file moc.h.


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