13 Moc *parser =
nullptr;
16 QList<uint> meta_data;
20 const QHash<QByteArray, QByteArray> &knownQObjectClasses,
21 const QHash<QByteArray, QByteArray> &knownGadgets, FILE *outfile =
nullptr,
22 bool requireCompleteTypes =
false);
27 bool registerableMetaType(
const QByteArray &propertyType);
28 void registerClassInfoStrings();
30 void registerByteArrayVector(
const QList<QByteArray> &list);
35 void generateTypeInfo(
const QByteArray &typeName,
bool allowEmptyName =
false);
36 void registerEnumStrings();
37 void registerPropertyStrings();
38 void generateMetacall();
39 void generateStaticMetacall();
40 void generateSignal(
const FunctionDef *def,
int index);
41 void generatePluginMetaData();
42 QMultiMap<QByteArray,
int> automaticPropertyMetaTypesHelper();
43 QMap<
int, QMultiMap<QByteArray,
int>>
46 void strreg(
const QByteArray &);
47 int stridx(
const QByteArray &);
48 QList<QByteArray> strings;
49 QByteArray purestSuperClass;
50 QList<QByteArray> metaTypes;
51 QHash<QByteArray, QByteArray> knownQObjectClasses;
52 QHash<QByteArray, QByteArray> knownGadgets;
53 bool requireCompleteTypes;
Generator(Moc *moc, ClassDef *classDef, const QList< QByteArray > &metaTypes, const QHash< QByteArray, QByteArray > &knownQObjectClasses, const QHash< QByteArray, QByteArray > &knownGadgets, FILE *outfile=nullptr, bool requireCompleteTypes=false)