String constant for mixin in every class inheriting QObject.
This is equivalent to the C++ macro Q_OBJECT.
Every class inheriting QObject should mixin Q_OBJECT or
Q_OBJECT_D. Bindings to classes implemented in C++ should use
Q_OBJECT, while classes implemented in D should use Q_OBJECT_D.
Both mixins will add declarations for meta data about the class.
Q_OBJECT_D will also collect the the meta data itself, which
is done by the Meta-Object Compiler
for C++ classes.
String constant for mixin in every class inheriting QObject.
This is equivalent to the C++ macro Q_OBJECT. Every class inheriting QObject should mixin Q_OBJECT or Q_OBJECT_D. Bindings to classes implemented in C++ should use Q_OBJECT, while classes implemented in D should use Q_OBJECT_D. Both mixins will add declarations for meta data about the class. Q_OBJECT_D will also collect the the meta data itself, which is done by the Meta-Object Compiler for C++ classes.