Specialization that outputs classes for WocQtOut and its sub-classes. More...
#include <qtclass.h>
Signals | |
| void | errorFound () |
| emitted if something is wrong, aborts the processor | |
Public Member Functions | |
| WocQtClass (WocQtOut *) | |
| constructs the class output for a specific Qt output | |
| ~WocQtClass () | |
| virtual void | finalize () |
| called when all parsing is done | |
| virtual void | newClass (const WocClass &) |
| generates the code of a specific class | |
Private Member Functions | |
| void | classEnums (const WocClass &, MFile &, MFile &, QString) |
| helper: generate enums for classes | |
| void | classProperties (const WocClass &, MFile &, MFile &) |
| helper: generate properties | |
| void | classDeserializer (const WocClass &, MFile &, MFile &, QString) |
| helper: generate constructors/deserializer/copiers | |
| void | classSerializers (const WocClass &, MFile &, MFile &, QString) |
| helper: generate serializers | |
| void | classScripting (const WocClass &, MFile &, MFile &, QString, QString) |
| helper: generate scripting stuff | |
Private Attributes | |
| WocQtOut * | m_parent |
| QString | m_aux |
Specialization that outputs classes for WocQtOut and its sub-classes.
| WocQtClass::WocQtClass | ( | WocQtOut * | p | ) | [explicit] |
constructs the class output for a specific Qt output
| WocQtClass::~WocQtClass | ( | ) |
| void WocQtClass::classDeserializer | ( | const WocClass & | cls, | |
| MFile & | hdr, | |||
| MFile & | src, | |||
| QString | cn | |||
| ) | [private] |
helper: generate constructors/deserializer/copiers
| void WocQtClass::classEnums | ( | const WocClass & | cls, | |
| MFile & | hdr, | |||
| MFile & | src, | |||
| QString | cn | |||
| ) | [private] |
helper: generate enums for classes
helper: generate properties
| void WocQtClass::classScripting | ( | const WocClass & | cls, | |
| MFile & | hdr, | |||
| MFile & | src, | |||
| QString | cna, | |||
| QString | cn | |||
| ) | [private] |
helper: generate scripting stuff
| void WocQtClass::classSerializers | ( | const WocClass & | cls, | |
| MFile & | hdr, | |||
| MFile & | src, | |||
| QString | cn | |||
| ) | [private] |
helper: generate serializers
| void WocQtClass::errorFound | ( | ) | [signal] |
emitted if something is wrong, aborts the processor
| void WocQtClass::finalize | ( | ) | [virtual] |
called when all parsing is done
| void WocQtClass::newClass | ( | const WocClass & | cls | ) | [virtual] |
generates the code of a specific class
QString WocQtClass::m_aux [private] |
WocQtOut* WocQtClass::m_parent [private] |
1.7.1