Hi,
>From the whole discussion, this is what I believe it should look like:
class Foo {
/* For class annotations, we keep the Q_CLASSINFO as it is */
Q_CLASSINFO("foo", "bar")
/* For properties, we put the annotation in the property macro */
Q_PROPERTY(int foo READ foo ANNOTATE foo = "bar")
public slots:
/* Q_ANNOTATE macro in front of methods. */
Q_ANNOTATE(foo = "bar") void mySlot();
};
No annotations for enums.
--
Olivier
Woboq - Qt services and support - http://woboq.com - http://code.woboq.org
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development