Hello,
QMetaProperty data for a class can be specified using the Q_PROPERTY macro. What is the equivalent for QMetaMethod?
I know how to query it ... just not how to specify in the class declaration.
Q_PROPERTY(type name
READ getFunction
[WRITE setFunction]
[RESET resetFunction]
[DESIGNABLE bool]
[SCRIPTABLE bool]
[STORED bool])
Q_PROPERTY(type name
READ getFunction
[WRITE setFunction]
[RESET resetFunction]
[DESIGNABLE bool]
[SCRIPTABLE bool]
[STORED bool])
To copy to clipboard, switch view to plain text mode
Thanks,
Ben
Bookmarks